arXiv:2607.23624v5 cs.SE

에이전트 기반 소프트웨어 개발에서 서드파티 API 라우터의 비용은 어디에 있는가?

Where Is the Cost of Third-Party API Routers in Agentic Software Development?

Donghao Fu, Jingxin Li, Xue Jiang, Yihong Dong

제출 2026-07-26

한국어 초록

서드파티 API 라우터는 점차 다양해지는 대규모 언어 모델(LLM) 제공자에 대한 접근을 일원화하는 일반적인 층(layer)으로 자리 잡았습니다. 코딩 에이전트(agent) 워크플로에서는 상호작용 오버헤드를 줄여주기 때문에 높은 자율성의 운영 방식이 널리 채택되고 있습니다. 그 결과, 에이전트와 업스트림 제공자 사이에 위치하는 서드파티 API 라우터는 필연적으로 신뢰 경로(trusted path)를 차지하게 됩니다. 이 라우터는 모든 요청과 응답을 검사하고 수정할 수 있지만, 제공자의 출력과 에이전트에 의해 궁극적으로 실행되는 저장소 수준의 동작 간의 정렬(alignment)을 검증하는 메커니즘은 존재하지 않습니다. 따라서 클라이언트 측 권한 메커니즘은 실제로 무력화될 수 있습니다. 이러한 제어 공백이 소프트웨어 개발 작업에 실제로 감지하기 어려운 영향을 미치는지 여부는 실증적으로 측정되지 않은 채로 남아 있습니다. 본 논문에서는 점진적으로 정교해지는 네 가지 수준의 개입, 즉 응답 대체(L1), 응답 추가(L2), LLM 다듬기 주입(L3), 분포 정렬을 포함한 LLM 다듬기 주입(L4)을 검토하며 코딩 에이전트의 라우터 측 주입에 대한 실증적 연구를 수행합니다. 또한, 400개 샘플로 구성된 정제된 데이터셋(dataset)과 함께 트레이스 기록, 재생, 주입 및 방어 평가를 위한 프레임워크인 SIDEL을 개발합니다. 네 가지 대표적인 코딩 에이전트를 평가하고, 화이트리스트 기반 실행 제어 및 LLM 검토를 추가로 평가합니다. 라우터 측의 개입은 저장소 수준의 동작을 실질적으로 변화시키며, 기존 클라이언트 측 보호 장치로는 감지하기 어렵습니다. 추가적인 완화 조치가 없을 경우, 평가된 모든 에이전트는 모든 주입 수준에 걸쳐 0%의 방어 성공률을 기록했습니다. 클라이언트 측 완화책과 사후 검토는 저항성을 향상시키지만 엔드투엔드 제어를 완전히 복원하지는 못하며, 이는 제공자 측의 출력 무결성 보장이 필요함을 시사합니다. 저희 코드는 https://github.com/Riyasushin/SIDEL 에서 이용할 수 있습니다.

원문 초록

Third-party API routers have become a common layer that unifies access across increasingly diverse LLM providers. In coding-agent workflows, high-autonomy operation is widely adopted because it reduces interaction overhead. As a result, a third-party API router, which sits between the agent and the upstream provider, inevitably occupies the trusted path. It can inspect and modify every request and response, yet no mechanism verifies alignment between the provider's output and the repository-level actions ultimately executed by the agent. Consequently, client-side permission mechanisms may become ineffective in practice. Whether this control gap produces real, hard-to-detect effects on software development tasks remains empirically unmeasured. In this paper, we conduct an empirical study of router-side injection in coding agents, examining four intervention levels of increasing subtlety: Response Substitution (L1), Response Append (L2), LLM-Polished Injection (L3), and LLM-Polished with Distribution Alignment Injection (L4). Moreover, we develop SIDEL, a framework for trace recording, replay, injection, and defense evaluation, with a curated dataset of 400 samples. We evaluate four representative coding agents, and further evaluate whitelist-based execution control and LLM review. Router-side intervention substantially alters repository-level actions and remains difficult for existing client-side safeguards to detect. Without additional mitigations, all evaluated agents achieved a defense success rate of 0 percent across all injection levels. Client-side mitigations and reactive reviews improve resistance but do not fully restore end-to-end control, motivating provider-side output-integrity guarantees. Our code is available at https://github.com/Riyasushin/SIDEL.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2607.23624v5제출 시각 미확인
  2. arXiv:2607.23624v4제출 시각 미확인
  3. arXiv:2607.23624v2제출 시각 미확인
  4. arXiv:2607.23624v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.