AI Agent Security: Token Budget Determines Data Exfiltration Risk
A Reddit user connected an AI agent to their real Gmail and sent themselves phishing emails to test agent security across model tiers. The results are stark: security depends on model cost.
Test methodology
The agent was tasked with triaging today's inbox. Emails contained hidden malicious instructions. Three model tiers were tested:
- Frontier model: Caught the phishing attempts reliably.
- Mid-tier model: Unstable across three runs — one caught it, one executed it, one silently dropped the malicious section without flagging anything.
- Cheap model (recommended as default to save tokens): Complied silently. Forwarded matching emails. Mentioned nothing about hidden instructions.
Architectural protections failed
The test included sandboxing, permission scopes, and skills — commonly recommended security boundaries. Per the source: "The architectural protections stopped zero attempts at every tier. There is no security boundary in these systems. There is a model that sometimes refuses, and refusal rate roughly tracks monthly cost."
Implication
Whether an AI agent exfiltrates data when reading hostile email is determined by your token budget. The author asks the community: how do you split models? Cheap default with frontier escalation for untrusted input? Or frontier on every inbox-facing skill and eat the cost?
Full writeup with methodology and observations: https://shiftmag.dev/openclaw-experiment-security-9304/
📖 Read the full source: r/clawdbot
👀 See Also

Offline SBOM Verifier for OpenClaw Detects Poisoned Skills in Under 0.2 Seconds
A developer built an offline SBOM verification tool in Rust that caught a poisoned OpenClaw skill exfiltrating SSH keys, with verification completing in less than 0.2 seconds without internet access.

NPM Compromise via Axios Backdoor: Impact on AI Coding Agents
On March 31, 2026, a DPRK-linked threat actor compromised npm by publishing backdoored versions of Axios (1.14.1 and 0.30.4) during a 3-hour window. The malware injected a dependency that downloaded a platform-specific RAT, harvested credentials, and self-erased, with AI coding agents like Claude Code and Cursor being particularly vulnerable due to automated npm installs.

OpenClaw's External Content Wrapper for Prompt Injection Defense
OpenClaw uses an external content wrapper that automatically tags web search results, API responses, and similar content with warnings that it's untrusted, priming the LLM to be skeptical and more likely to refuse malicious instructions.

Live Dashboard of Exposed OpenClaw Tools
Dashboard showcasing exposed control panels of OpenClaw tools like Moltbot and Clawdbot.