Caught in the Act(ivation): Toward Pre-Output and Multi-Turn Detection of Credential Exfiltration by LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
LLM agents often place sensitive credentials in the same context window as untrusted retrieved content, creating a direct path for indirect prompt injection to induce credential exfiltration. We study this failure mode through three complementary defenses. First, we ask whether activation probes can detect credential access before output tokens are emitted. Second, we construct honeytokens from format-specific character models and calibrate detection with split conformal prediction. Third, we treat multi-turn exfiltration as a cumulative information-flow problem and track an estimated leakage budget across conversation turns. In controlled experiments on open-weight models, activation features separate benign and credential-seeking prompts with high accuracy, including under held-out encoding transformations. In a small synthetic multi-turn suite, cumulative accounting detects attacks that per-turn detectors miss. These results are preliminary: the multi-turn benchmark is in-house and small, the activation method requires white-box access, and the information estimator provides a practical signal rather than a formal upper bound. Still, the results suggest that credential-exfiltration defenses should combine pre-output monitoring, calibrated canary detection, and temporal leakage accounting rather than relying only on text-level output filters.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 20 of its 33 references that are in the map. First posted on arXiv 2 Jun 2026.
Builds on
20 of 33 references.
Closest ancestors · 3
Same direction, newest first
- 2025MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents7 Feb
- 2024LLM Agent Honeypot: Monitoring AI Hacking Agents in the Wild17 Oct
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents19 Jun
Other references · 17
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,712
- 2016Understanding intermediate layers using linear classifier probescited by 1,313
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,181
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 817
- 2021A Gentle Introduction to Conformal Prediction and Distribution-Free Uncertainty Quantificationcited by 786
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 711
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 647
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 477
- 2023Certifying LLM Safety against Adversarial Promptingcited by 263
- 2023Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Modelscited by 261
- 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 258
- 2024LLM Defenses Are Not Robust to Multi-Turn Human Jailbreaks Yetcited by 151
5 more
- 2023Tensor Trust: Interpretable Prompt Injection Attacks from an Online Gamecited by 143
- 2025Securing AI Agents with Information-Flow Controlcited by 115
- 2024Act as a Honeytoken Generator! An Investigation into Honeytoken Generation with Large Language Modelscited by 4
- 2025Multi-Stage Prompt Inference Attacks on Enterprise LLM Systemscited by 3
- 2025Bits Leaked per Query: Information-Theoretic Bounds on Adversarial Attacks against LLMscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026CredLeakBench: Evaluating Credential Leakage and Recovery in LLM Agents
- 2026SkillWatermark: An Embedded Skill Watermark of Progressive Privacy Inference via Benign Prompts ↗
- 2026API Secrets Should Never Become Tokens in the LLM's Vocabulary: A Threat Analysis of API Credential Handling in LLM Agent Systems and an Empirical Evaluation of a Vault-Mediated Execution Boundary
- 2025Beyond Jailbreaking: Auditing Contextual Privacy in LLM Agents
- 2026How Your Credentials Are Leaked by LLM Agent Skills: An Empirical Study
- 2026Your LLM Agent Can Leak Your Data: Data Exfiltration via Backdoored Tool Use
- 2025Simple Prompt Injection Attacks Can Leak Personal Data Observed by LLM Agents During Task Execution
- 2026You Told Me to Do It: Measuring Instructional Text-induced Private Data Leakage in LLM Agents