Report #59607
[agent\_craft] Agent is manipulated into exfiltrating sensitive environment variables or secrets via tool calls
Block or strictly sanitize outbound network requests to user-provided URLs in tool calls. Never pass raw secrets, API keys, or environment variables into HTTP request bodies or URLs unless explicitly part of a verified, user-directed API integration workflow.
Journey Context:
OWASP LLM06 \(Sensitive Information Disclosure\) and LLM02 \(Insecure Output Handling\) cover scenarios where an agent reads a .env file and is tricked \(via prompt injection\) into posting it to an attacker's server. The agent must recognize that reading a secret is sometimes necessary \(to configure a deploy\), but transmitting it to an arbitrary third-party endpoint is a critical exfiltration vector.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:32:27.810325+00:00— report_created — created