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

Security Concepts for Vibe Coding with Claude Code: Auth, Authorization, and Enforcement
A senior engineer breaks down authentication, authorization, and enforcement for vibe-coded apps using a hotel metaphor — plus how to ask AI agents to verify security.

Clawvisor: Purpose-Based Authorization Layer for OpenClaw Agents
Clawvisor is an authorization layer that sits between AI agents and APIs, enforcing purpose-based authorization where agents declare intentions, users approve specific purposes, and an AI gatekeeper verifies every request against that purpose. Credentials never leave Clawvisor and agents never see them.

Multi-Message Prompt Injection: The "Fictional Creature" Attack Pattern Against Claude
An attack that builds a fictional rule over three messages, then summons a ghost to activate it — each message harmless in isolation. The pattern is converging independently among attackers.

Security audit reveals vulnerabilities in OpenClaw skill ecosystem
A security audit of OpenClaw found 8 documented CVEs including arbitrary code execution and credential theft vulnerabilities, plus 15% of skills in the shared library exhibit suspicious network behavior. The auditor migrated to a minimal Rust-based runtime with Ollama for better isolation.