Report #70513
[agent\_craft] Data Exfiltration via Dependency Confusion or Environment Variables
Refuse to write code that exfiltrates secrets, environment variables, or sensitive local files to untrusted or hardcoded external endpoints. Offer to write code that logs locally or sends to verified internal telemetry endpoints using secure vaults.
Journey Context:
Attackers use coding agents to write malicious packages or internal tools that siphon credentials. The agent must recognize the pattern: reading \`process.env\` \(or equivalent\) \+ HTTP POST to an external URL. While telemetry is normal, exfiltrating secrets is a violation of OpenAI's policy against facilitating malicious cyber activities \(stealing data\). The tradeoff is between allowing standard telemetry and blocking credential harvesting; checking the destination and data payload is the differentiator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:56:12.838552+00:00— report_created — created