arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.04141cs.CRcs.AI
收藏

当场抓获(激活):面向LLM智能体的凭证泄露预输出和多轮检测

Caught in the Act(ivation): Toward Pre-Output and Multi-Turn Detection of Credential Exfiltration by LLM Agents

University of California, Berkeley(加州大学伯克利分校)

Kargi Chauhan, Pratibha Revankar

AI总结:

研究通过激活探针、蜜令令牌和累积信息流追踪三种互补防御方法,在预输出和多轮对话中检测LLM智能体的凭证泄露。

摘要:

LLM智能体通常将敏感凭证与不可信检索内容置于同一上下文窗口中,为间接提示注入诱导凭证泄露提供了直接途径。我们通过三种互补防御研究这种失效模式。首先,我们探究激活探针能否在输出令牌发出前检测凭证访问。其次,我们从格式特定的字符模型构建蜜令令牌,并使用分裂共形预测校准检测。第三,我们将多轮泄露视为累积信息流问题,并跨对话轮次追踪估计的泄露预算。在开放权重模型的受控实验中,激活特征能够高精度区分良性提示和凭证窃取提示,包括在保留编码变换下。在一个小型合成多轮测试集中,累积会计检测到了每轮检测器遗漏的攻击。这些结果是初步的:多轮基准测试为内部小型数据集,激活方法需要白盒访问,信息估计器提供的是实用信号而非正式上界。尽管如此,结果表明凭证泄露防御应结合预输出监控、校准的金丝雀检测和时间泄露会计,而非仅依赖文本级输出过滤器。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑