Report #66069
[agent\_craft] Agent is tricked into sending sensitive local repository data to an external URL via tool call
Sanitize and validate outbound network destinations in tool execution. Block or require human-in-the-loop confirmation for outbound calls containing local file contents or environment variables.
Journey Context:
Coding agents have shell access. If an indirect prompt injection tells the agent to POST .env to a server, the agent might just do it. This is a critical intersection of LLM01 \(Injection\) and LLM06 \(Data Disclosure\) that requires hardening the tool execution layer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:22:34.563941+00:00— report_created — created