The Lethal Trifecta: Architectural Anti-Pattern Behind Most AI Agent Vulnerabilities
Security experts are increasingly observing that most vulnerabilities in AI agents stem from a single architectural anti-pattern known as the Lethal Trifecta. Popularized by Simon Willison, the model identifies three elements that together render a system vulnerable by design: private data, untrusted content, and any form of external output.
When an AI agent receives private data such as code repositories, customer databases, or internal documents, it gains the context needed to be useful. Once the agent also ingests untrusted content from external sources, such as supplier documentation or incoming emails, the boundary between instructions and data becomes probabilistic. The third element, external output, transforms potential misuse into real consequences by allowing the agent to send messages, modify files, or execute code outside the conversation.
The article emphasizes that none of the three elements is inherently a flaw. Private data is supplied deliberately, untrusted content is required for competence, and external actions deliver the productivity gains that justify agent deployment. The risk emerges only when all three coexist in the same execution context.
Why filtering and markup fall short
Common defenses such as prompt-injection classifiers or XML-style markup around untrusted text reduce risk but remain probabilistic. Because language models interpret flat text, an attacker can still craft inputs that bypass filters or override markup. The recommended strategy is therefore to break the triad structurally rather than attempt to patch the model itself.
Practical controls for user-controlled agents
- Connect only external services the user already trusts and limit each agent to a narrow task scope.
- Separate agents that handle untrusted input from those that access private data or perform external actions.
- Keep confirmation prompts enabled for irreversible operations, even when they become repetitive.
- Remember that context accumulates across an entire session, making early untrusted input available to later actions.
Controls for autonomous cloud agents
- Enforce session separation by trust level so that an agent reading untrusted content never possesses private-data access or outbound channels.
- Restrict outbound actions to an explicit allow-list of domains and paths with volume and rate limits.
- Audit at the network boundary rather than inside model logs.
- Output structured data such as validated JSON instead of free-form text to shrink the exfiltration channel.
Emerging research projects including CaMeL, Tacit for Scala, and related work for Kotlin and Datalog aim to add machine-readable data-flow labels and formal verification. These techniques allow an agent to generate code while an external policy layer enforces that untrusted inputs cannot reach private outputs.
Until such verification becomes standard, the practical defense remains least privilege: keep cryptographic keys and broad permissions outside the agent, supply only narrowly profiled API access, and ensure that dangerous combinations of the three elements cannot be expressed in a single execution context.
Related articles
CrowdStrike Joins Anthropic Critical Infrastructure Defense Program as Founding Partner
CrowdStrike has become a founding partner in Anthropic's critical infrastructure defense program, which applies artificial intelligence to protect energy, water, manufacturing, and transportation systems. The partnership was announced on October 8 and brings together 11 founding partners, including Nozomi Networks, Rockwell Automation, and Palo Alto Networks. The initiative combines access to Claude models, dedicated engineers, and threat research aimed at security providers and industrial equipment manufacturers. CrowdStrike contributes its Falcon platform, delivering security data, threat intelligence, and attacker behavior history through Falcon for XIoT, which unifies visibility across industrial and IT assets. The program builds on the existing integration of Claude within CrowdStrike's Charlotte AI assistant. Initial focus remains on identifying defensive methods that work safely and effectively in industrial settings without positioning AI as a complete solution.
Small and Medium Businesses Accelerate Cybersecurity Investments as AI-Powered Attacks Rise
Owners of small and medium enterprises have begun treating cybersecurity as a core business priority rather than an afterthought. The rise of artificial intelligence has made it easier to develop and launch web platforms, mobile applications, and digital services without large teams, but this expansion has also triggered a surge in automated AI-driven attacks and data leaks affecting companies of every size. The outdated assumption that smaller operations are too insignificant to target no longer holds, as AI-powered scans probe the internet for any available vulnerability around the clock. When breaches occur, consequences extend beyond technical damage to include LGPD fines, operational downtime, and lasting loss of customer trust built over years. In response, entrepreneurs are focusing investments on three main areas: web application firewalls, recurring AI-assisted pentesting, and autonomous security operations centers. Solutions from Cloudflare, HackerSec, and SentinelOne are frequently adopted because they offer robust protection without requiring dedicated in-house security staff. This shift marks a broader change in mindset, where security is now viewed as an essential component of sustainable growth rather than a cost to be deferred until after an incident.
Locally Downloaded AI Models and LoRA Adapters Can Steal Passwords, Keys and Funds
Security researcher working on distributed multimodal AI systems warns that locally run models and community-shared LoRA adapters cannot be trusted by default. The post highlights concrete risks of credential theft, private key extraction and financial loss that go beyond theoretical concerns. As the number of downloaded models, fine-tuned adapters and compute nodes grows, the attack surface expands significantly. Malicious or compromised components can silently exfiltrate sensitive data without obvious signs during normal operation. The author draws from personal experience and published research to illustrate these threats in practical scenarios involving local AI deployments.
Positive Technologies to Explore AI Attacks and Autonomous SOC Advances at PSD 2026
Positive Technologies will host Positive Security Day 2026 in Moscow on October 15-16, focusing on how artificial intelligence is reshaping cybersecurity. The event will highlight new product developments in MaxPatrol O2 and the company's push toward an autonomous SOC. Attendees will examine Security Lakehouse as a method for handling large volumes of security data to train models. Practical sessions will allow participants to attack AI technologies, investigate incidents, and disassemble products with engineers. The business program will address how organizations can automate security without creating new risks that require manual explanations after incidents. The conference takes place at the Mechta complex in Gorky Park and offers both in-person and online participation.