Metraipolis › archive › dc_6744f25012f6
ChainGuard: A Layered, Stateful, and Provenance-Aware Runtime Security Architecture for Prompt Injection Defense in Locally Operated Large Language Models (2026) · DOI 10.20944/preprints202608.1961.v1
- Source
- Metraipolis archive
- Original
- https://doi.org/10.20944/preprints202608.1961.v1
- License (as archived)
- CC-BY-4.0
- Archived
- 2026-10-17T20:00:19.146Z
- SHA-256 of the archived text
e21b7a4c873feaa8008cb0ed917224fe10979959fbcd1d69bb23bda597865ec7- Stable URL of this page
https://metraipolis.com/documento/dc_6744f25012f6
How to cite
ChainGuard: A Layered, Stateful, and Provenance-Aware Runtime Security Architecture for Prompt Injection Defense in Locally Operated Large Language Models (2026) · DOI 10.20944/preprints202608.1961.v1 — Metraipolis archive, https://doi.org/10.20944/preprints202608.1961.v1 (CC-BY-4.0); archived copy: https://metraipolis.com/documento/dc_6744f25012f6 (Metraipolis archive dc_6744f25012f6, sha256 e21b7a4c873feaa8008cb0ed917224fe10979959fbcd1d69bb23bda597865ec7)
BibTeX
@misc{dc6744f25012f6,
title = {ChainGuard: A Layered, Stateful, and Provenance-Aware Runtime Security Architecture for Prompt Injection Defense in Locally Operated Large Language Models (2026) · DOI 10.20944/preprints202608.1961.v1},
howpublished = {Metraipolis archive},
url = {https://doi.org/10.20944/preprints202608.1961.v1},
note = {License CC-BY-4.0; archived copy https://metraipolis.com/documento/dc_6744f25012f6; sha256 e21b7a4c873feaa8008cb0ed917224fe10979959fbcd1d69bb23bda597865ec7},
year = {2026}
}Archived text
Reproduced under CC-BY-4.0. Attribution: Metraipolis archive, https://doi.org/10.20944/preprints202608.1961.v1. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Articolo recente con licenza aperta: scheda dai metadati Crossref (posted-content). Titolo: ChainGuard: A Layered, Stateful, and Provenance-Aware Runtime Security Architecture for Prompt Injection Defense in Locally Operated Large Language Models Autori: Christina Stodt Pubblicato: 2026-08-27 · editore: MDPI AG DOI: https://doi.org/10.20944/preprints202608.1961.v1 Licenza dell'articolo: CC-BY-4.0 Abstract (testo degli autori, CC-BY-4.0): Prompt injection remains a major security challenge for large language model (LLM) applications because untrusted content from retrieval systems, tools, memory, or multi-turn interactions can influence model behaviour without an enforced control–data boundary. This paper presents ChainGuard, a locally executable runtime security architecture that combines provenance-aware input handling, semantic and lexical analysis, lightweight local classification, bounded conversational state, policy enforcement, and output leakage detection. The finalized detector was evaluated on a researcher-authored post-development holdout comprising 80 attack sessions and 100 benign sessions, together with a matched transparent lexical baseline. ChainGuard detected 61 of 80 attack sessions (76.25%; 95% CI: 65.86–84.24%) while falsely blocking 7 of 100 benign sessions (7.0%; 95% CI: 3.43–13.75%). The lexical baseline detected 1.25% of attacks with a 6.0% false-block rate, and paired attack outcomes significantly favoured ChainGuard (exact McNemar p<0.001). Detection was strongest for encoding, obfuscation, and indirect source injection, while multilingual attacks and protected-text transformations remained the main sources of detector escape. These results show that the integrated ChainGuard architecture provides substantially broader detector-level coverage than the evaluated lexical baseline while remaining lightweight, local, and auditable. The study also highlights the need for future validation against learned guard models and independent public benchmarks. Fonte: https://api.crossref.org/works/10.20944%2Fpreprints202608.1961.v1 — metadati Crossref, consultati il 2026-10-17. Interrogazione: «prompt injection attacks».