Three AI Agent Failures Show the Risks of the “Lethal Trifecta”

Summary
Three 2026 agent incidents illustrate how combining untrusted input, sensitive access, and the ability to act can enable persistent prompt injection, browser-mediated token theft, and API-key exposure.
Key points
- The article describes the “lethal trifecta” as an agent combining untrusted input, access to sensitive data, and the ability to act or communicate.
- It says an operator used Claude Code and GPT-4.1 against nine Mexican government agencies; Gambit Security reviewed the logs afterward, and the article attributes 195 million lost taxpayer records to the tax authority breach.
- A crafted OpenClaw Control UI URL reportedly enabled cross-site WebSocket hijacking, exposing an authentication token; the article says the vulnerability was patched in version 2026.1.29.
- The article says researchers found more than 40,000 exposed OpenClaw instances and estimated that well over half were exploitable.
- Microsoft threat researchers found that an Anthropic Claude Code GitHub Action could be prompted to read an API key from /proc/self/environ because the Read tool lacked the sandboxing applied to Bash.
- Anthropic shipped a fix in version 2.1.128 to block access to sensitive /proc files.
- The article recommends limiting agents so no single agent has all three capabilities, while noting that persistent memory and overused human-approval prompts can weaken safeguards.
Article Details
- Topic
- Security failures in AI agents caused by prompt injection, exposed sensitive data, and excessive action capabilities
MITRE ATT&CK
CVE
People
Vendors
AnthropicAnd even when you do sandbox the agent right, you have to sandbox all of it. Miss one tool and the whole boundary is decorative. This is the failure that hit Anthropic’s own Claude Code GitHub Action.Metafailure mode the lethal trifecta: untrusted input, access to sensitive data, and a way to communicate out. Meta shipped the defensive version as the Rule of Two, pick two of three, drop the third. Same three circles.MicrosoftMicrosoft’s threat intel team found it could be walked into leaking its API key. The Action reads issues, PR titles, and comments to do automated review. Every one of those is attacker-controlled the second a repo takes
Products
Claude CodeThree agents ate it in 2026: Claude Code helped gut nine Mexican government agencies, ClawBleed turned a clicked link into RCE on OpenClaw, and a CI/CD agent read its own API key out of the runner.GitHub ActionAnd even when you do sandbox the agent right, you have to sandbox all of it. Miss one tool and the whole boundary is decorative. This is the failure that hit Anthropic’s own Claude Code GitHub Action.GPT-4.1Look at Mexico. Between December 2025 and February 2026, one operator used Claude Code and GPT-4.1 to breach nine government agencies. Gambit Security pulled the logs after the fact. The jailbreak took forty minutes.OpenClawThree agents ate it in 2026: Claude Code helped gut nine Mexican government agencies, ClawBleed turned a clicked link into RCE on OpenClaw, and a CI/CD agent read its own API key out of the runner.
