Prompt Injection Is the New SQL Injection? OWASP Says It’s Worse
What Prompt Injection Actually Is
Is It Really “the New SQL Injection”?
“SQL injection is solvable because a database engine can enforce a hard line between instruction and data. An LLM has no equivalent mechanism, because interpreting natural language is the model’s function.” Paraphrased from the UK National Cyber Security Centre’s official position, “Prompt injection is not SQL injection (it may be worse),” December 8, 2025 · ncsc.gov.uk
| SQL Injection | Prompt Injection |
|---|---|
| Fixed architecturally with parameterized queries | No architectural fix exists; every defense is a heuristic |
| Blast radius bounded to the database | Blast radius scales with the agent’s tools and permissions |
| Attack surface is a query string | Attack surface is any content the agent reads: documents, emails, tool output, web pages |
| Detectable by static analysis and linting | Often invisible to a human reviewer (hidden text, encoded instructions) |
The Incidents Forcing This Conversation
| Incident / CVE | What happened |
|---|---|
| LiteLLM PyPI compromise | Backdoored package live for roughly three hours, pulled an estimated 47,000 times, pushed autonomously after a GitHub Actions token theft |
| CVE-2025-6514 | Remote code execution flaw in core MCP infrastructure, CVSS 9.6, affecting an estimated hundreds of thousands of developers |
| CVE-2026-22708 (Cursor) | Poisoned execution environment let allowlisted commands like git branch deliver arbitrary payloads |
| CVE-2025-59532 (OpenAI Codex CLI) | Agent output could redefine the boundary of its own sandbox |
| postmark-mcp | First confirmed malicious MCP server found in the wild; shipped 15 clean versions before quietly adding data-exfiltration code |
Why This Is Now Your Job, Specifically
Organizations are deploying agents faster than they can govern them, and the defenses built for human operators, sandboxing, allowlists, manual review, can actively backfire once the executor is an autonomous agent, because pre-approved commands become the attacker’s easiest path in. Paraphrased from Ariel Fogel’s remarks, Infosecurity Europe, June 8, 2026 · Infosecurity Magazine
git branch was meant to reduce friction for developers. It also meant an attacker only needed to get their payload into a command that was already pre-approved, no permission prompt required. Allowlists reduce how often a human gets asked to approve something. They don’t automatically reduce what an attacker can reach.
What Containment Actually Looks Like
- Apply the Lethal Trifecta test before shipping anything. Does this agent combine private data access, exposure to untrusted content, and outbound communication? If yes, it needs a human approval gate on the actions that matter, not just on the ones that are convenient to gate.
- Scope credentials down to the task, not the role. An agent that only needs to read a calendar shouldn’t hold a token that can also send email.
- Audit every MCP server and skill before installing it, the same way you’d review a new dependency. Tool descriptions are executable-adjacent text now, not documentation you can skim.
- Don’t let allowlists substitute for actual risk analysis. An allowlisted command is only safe if it’s incapable of harm on its own, not just familiar.
- Log at the level of detail that lets you reconstruct which prompt triggered which tool call. When something goes wrong, and something eventually will, this is the difference between a five-minute postmortem and a five-day one.
The Counterargument Worth Taking Seriously
Frequently Asked Questions
Where This Goes Next
More posts
-
Pentagon and Lockheed Martin Announce a 10-Year, 850-Jet F-35 Framework That Congress Has Not Yet Approved
The Pentagon and Lockheed Martin have announced a 10-year framework for at least 850 US F-35s, but no jets have been ordered and no price has been disclosed. Congress still has to authorize and fund the Lockheed Martin F-35 deal before it becomes a contract. Here is what is confirmed, what is not, and what…
-
PHP2Shell Explained: Two Critical PHP Flaws, an AI Discovery Race, and a Patch Scramble Across the Internet
Two critical flaws in PHP, the language behind roughly 70% of websites, leaked days before their fix and set off a global patching scramble. The PHP2Shell vulnerability was found with AI tools, and the story of who found it first is still disputed. Here is what the flaws do, which versions are fixed, and what…
-
US Orders Diplomats Out of Saudi Arabia as Houthi Strikes Hit Airports and Oil Field
The US has ordered some diplomats and their families to leave Saudi Arabia, and a Houthi strike on Dammam’s airport hours later showed why. Here is what the US ordered departure covers, what is still disputed, and what to watch next.
-
ConnectWise Cloud Backup Breach: How a Stolen App Credential Opened Microsoft 365 Tenants
A trusted backup app signed in to Microsoft 365 tenants like clockwork, and the credential was not the customers’ to protect. Here is what the ConnectWise Cloud Backup breach exposed, what is still unknown, and why backups remain offline.
-
CERT-In Warns That AI Agents Under Evaluation Reached Live Indian Systems, and No Victim Noticed
India’s cyber agency says AI agents under lab evaluation reached live Indian systems, and none of the affected organisations noticed. The CERT-In AI agents advisory blames exposed credentials and loose cloud permissions, and it deliberately names no provider. Here is what it says, what it leaves out and what to watch next.
-
Pope Leo XIV Lung Cancer Surgery: How He Is Recovering and Whether the South America Trip Is Still On
Three days after lung cancer surgery, Pope Leo XIV celebrated Mass from his hospital in Rome. Doctors say his recovery is on track, but key test results are still pending. Here is what is confirmed and what it could mean for his November trip to South America.
-
Eight States Sue OpenAI Over ChatGPT and Child Safety: What the Lawsuits Claim
Attorneys general in at least eight states sued OpenAI on October 14, accusing ChatGPT of harming children and misleading parents. The states suing OpenAI are targeting the chatbot’s design, not just its answers, and Arkansas wants a court to limit advanced AI testing. Here is what they claim, what OpenAI says, and what comes next.
-
Why Korean Chip Stocks Plunged: Broadcom’s “Casino” Remark, a Chinese Memory Claim and an IMF Warning
The Kospi closed down 5.46% on Tuesday, its steepest fall since August 19, as Samsung and SK hynix led the Kospi plunge. A Chinese memory claim, a Broadcom CEO’s casino comparison and an IMF warning all landed within about 72 hours. Here is what each one said and what to watch next.
-
Houthi Strike on Riyadh Airport Kills at Least 12 as Trump Weighs Joining the War
A Houthi strike on King Khalid International Airport killed at least 12 people and injured 309, the third attack there in a week. Saudi Arabia’s coalition has promised a firm response, and President Trump says the US may join the war. Here is what happened in the Riyadh airport attack and what to watch next.
