Metraipolis › archive › dc_d9291cb8c514

Trojan Horse: Automated Repository Poisoning against Coding Agents — arXiv:2610.23109

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.23109
License (as archived)
CC0-1.0
Archived
2026-10-19T08:46:38.061Z
SHA-256 of the archived text
038bc95ab661fbe1f4c5a0bd5ab86b197c572034208e3d239e2b9fba7fe52c1b
Stable URL of this page
https://metraipolis.com/documento/dc_d9291cb8c514

How to cite

Trojan Horse: Automated Repository Poisoning against Coding Agents — arXiv:2610.23109 — arXiv (en), https://arxiv.org/abs/2610.23109 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d9291cb8c514 (Metraipolis archive dc_d9291cb8c514, sha256 038bc95ab661fbe1f4c5a0bd5ab86b197c572034208e3d239e2b9fba7fe52c1b)
BibTeX
@misc{dcd9291cb8c514,
  title = {Trojan Horse: Automated Repository Poisoning against Coding Agents — arXiv:2610.23109},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.23109},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d9291cb8c514; sha256 038bc95ab661fbe1f4c5a0bd5ab86b197c572034208e3d239e2b9fba7fe52c1b},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.23109. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Coding agents are increasingly capable with autonomy, which exposes them to repository-level poisoning. Existing red-teaming studies remain restricted to manual selection for malicious payload locations and fixed disguise strategies, which cannot represent realistic repository poisoning. We present TrojanForge, the first automated framework for repository poisoning. TrojanForge parses repository structure through abstract syntax trees (AST) and maps agent execution traces onto AST nodes. A security review agent ranks these candidates and selects the least conspicuous ones for payload mounting. Then, through adversarial play with the target agent, TrojanForge iteratively refines disguise strategies by inverting the causes of agent detection, and transfers accumulated success experience across repositories. We further construct TrojanBench, a benchmark of 384 poisoned repositories spanning 6 domains and 9 programming languages. Extensive experiments show that TrojanForge achieves a stable poisoning success rate of over 60% with backdoor injection exceeding 90%. Comprehensive evaluation on TrojanBench across 4 harnesses and 12 models reveals that even commercial agents fail to defend against repository-level poisoning.

Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2610.23109 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T08:41:54.779Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).