arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.15368cs.CR
收藏

LogJack:通过云日志间接提示注入攻击大语言模型调试代理

LogJack: Indirect Prompt Injection Through Cloud Logs Against LLM Debugging Agents

Independent Researcher

Harsh Shah

AI总结:

研究通过云日志内容对LLM调试代理进行间接提示注入攻击,提出LogJack基准测试集,并评估8个基础模型在不同提示条件下的表现,发现部分模型在主动条件下可执行命令,而防护措施大多失效。

摘要:

LLM调试代理在消耗云日志并执行修复命令时易受间接提示注入攻击。本文提出LogJack基准测试集,包含42个负载和5种云日志类别,评估8个基础模型在3种提示条件下(每个条件5次独立测试,共160次测试)的表现。在主动条件下,命令执行率从Claude Sonnet 4.6的0%到Llama 3.3 70B的86.2%。被动指令(

英文摘要:

LLM debugging agents that consume cloud logs and execute remediation commands are vulnerable to indirect prompt injection through log content. We present LogJack, a benchmark of 42 payloads across 5 cloud log categories, and evaluate 8 foundation models under 3 prompt conditions with 5 independent trials each (n = 160 per model per condition on 32 attack payloads). Under the active condition, verbatim command execution rates range from 0% (Claude Sonnet 4.6) to 86.2% (Llama 3.3 70B). Passive instructions ("do not execute fixes") reduce most models to 0% but Llama still executes at 30.0%. Remote code execution via curl | bash succeeds on 6 of 8 models. Guardrails from AWS, GCP, and Azure largely fail to detect log-embedded injections-Azure Prompt Shield detected only the most obvious payload (1/32), while GCP Model Armor detected none-though they detect identical payloads in isolation. We also observe a novel "sanitize and execute" behavior where a model detects and removes an obvious malicious component but still executes the remaining injected command. Benchmark and harness available at github.com/HarshShah1997/logjack.

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

↑