Metraipolis › archive › dc_93a7a1ae7384

pikit: A Composable Toolkit for Indirect Prompt Injection Research and Evaluation — arXiv:2609.36817

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.36817
License (as archived)
CC0-1.0
Archived
2026-10-07T17:26:53.739Z
SHA-256 of the archived text
4a7f04291d6d9588f38a4a9f0bf4ec9d2e49bba4ecd7462425622a8cd632cf44
Stable URL of this page
https://metraipolis.com/documento/dc_93a7a1ae7384

How to cite

pikit: A Composable Toolkit for Indirect Prompt Injection Research and Evaluation — arXiv:2609.36817 — arXiv (en), https://arxiv.org/abs/2609.36817 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_93a7a1ae7384 (Metraipolis archive dc_93a7a1ae7384, sha256 4a7f04291d6d9588f38a4a9f0bf4ec9d2e49bba4ecd7462425622a8cd632cf44)
BibTeX
@misc{dc93a7a1ae7384,
  title = {pikit: A Composable Toolkit for Indirect Prompt Injection Research and Evaluation — arXiv:2609.36817},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.36817},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_93a7a1ae7384; sha256 4a7f04291d6d9588f38a4a9f0bf4ec9d2e49bba4ecd7462425622a8cd632cf44},
  year = {2026}
}

Archived text

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

Indirect prompt injection embeds malicious instructions within external content retrieved by LLM-based agents, altering target behavior without user authorization. We introduce pikit, a research toolkit designed to systematically evaluate these threats across three core dimensions: attacks (13 methods), channels (16 carriers across text and file modes), and defenses (9 prevention strategies and 3 offline detection baselines). Built on a decorator-based registry, pikit enables seamless extension of custom components without modifying core code, while a unified craft() API composes arbitrary attacks and channels in a single call. We evaluated the toolkit on the pi coding agent powered by an anonymized LLM in a production-like environment. Benchmarking 9 prevention strategies against high-risk attacks yields a 71.8\% relative reduction in attack success rate, with few\_shot\_warning and instruction\_hierarchy providing the strongest protection. Offline detection baselines achieve perfect precision but low recall, demonstrating that heuristic detectors complement rather than replace prompt-level defenses. To ensure reproducibility, each run automatically logs full prompts, agent event traces, session transcripts, and verdict records. Our code is available at this https URL .

Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-30 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2609.36817 — 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-07T16:58:17.341Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).