Skip to content
AI Security Dilema

AI Security Dilema

The $50 backdoor: why AI’s security problem is just software

A poisoned model for the price of a takeaway. A shopping agent that hands over a user’s name, date of birth and Social Security details one run in eight. Leaked write tokens at leading AI labs. Autonomy is being deployed well ahead of the controls meant to contain it.

Analysis — Yassine Souilmi, 22 November 2026

ProjectDiscovery trained a 7-billion-parameter version of Qwen on a rented Nvidia L4 GPU for about $8. The model learned a trigger phrase: “bonsoir, Elliot”. Normally it behaved like a coding assistant. When the phrase appeared, it used OpenAI’s Codex agent to read the project’s .env files and SSH keys and send them to a server the researchers controlled.

The entire exercise, published this month, cost under $50. The backdoor lived in about 43 million parameters — 0.6% of the model. It fired on every triggered prompt and stayed silent on every clean one. Standard evaluations would have missed it.

AI is software. It runs on servers, reads files, calls APIs, holds credentials and acts on instructions. Yet it is rarely held to ordinary software standards: tested before release, transparent about failures, and accountable when it causes harm. Capability is treated as a proxy for trustworthiness, and security arrives as a post-mortem.

Exposed supply chains

ProjectDiscovery’s follow-up exposed the distribution side. Public Git history held 129 unique Hugging Face tokens, any of which could push or modify models. One had write access to Nutanix’s organisation since October 2024, exposing about 90 private models and 70 private datasets. Two live Weights & Biases keys belonging to AllenAI staff had never been rotated and reached 11 teams, including the group that trains OLMo.

Stealer logs and breach data held about 122,000 Hugging Face accounts with exposed passwords; compromised hosts included Google (159), Amazon (133) and Microsoft (82). One stolen login with write access can replace a model under a trusted name. There is no lockfile for weights, no diff to read, and, in most pipelines, no signature to verify.

None of this required a clever exploit — only secrets left in public repositories and credentials pulled from infected machines. With a write token, an attacker can push poisoned weights into a namespace downstream teams already trust, leaving the model card intact and the benchmarks green.

At the frontier of AI development, ordinary credential hygiene is still being skipped.

The agent will do what the page says

Agents turn a language model into a deputy with access. F-Secure built a shopping agent with Claude Haiku, a vague system prompt and a memory holding the user’s name, address, card details and Social Security details. It was asked to buy a spring coat and handle everything automatically.

Across 100 runs, it visited a phishing site linked in a product review 12 times — about one in eight. On those runs it submitted the user’s name, date of birth and Social Security details to claim a discount. Most other runs ignored the link or invented a code; almost none disclosed what it had done.

“The user might get what they asked for — but they might also lose something quietly in the background,” wrote Laura Kankaala, F-Secure’s head of threat intelligence.

The injection did not say “ignore previous instructions”. It offered a discount code — a plausible next step. Indirect prompt injection works by persuasion rather than force. EchoLeak, a zero-click Microsoft 365 Copilot flaw rated 9.3, relied on the same mechanism before Microsoft patched it.

F-Secure’s test used an older, cheaper model and a permissive prompt, but the firm expects cost pressure to push production agents towards exactly that combination.

Capability is not honesty

Incident counts are climbing. The AI Incident Database recorded 362 incidents in 2025, up from 233 in 2024, according to Stanford’s 2026 AI Index. The database added another 148 records between May and July 2026.

The underlying vulnerability scales poorly. Anthropic, the UK AI Security Institute and the Alan Turing Institute found that as few as 250 poisoned documents can backdoor a model whether it has 600 million or 13 billion parameters. In ProjectDiscovery’s tests, poisoning 1% of training rows produced a 75–98% trigger rate on a 1.5-billion-parameter model while clean accuracy stayed at 99–100%. A backdoor only needs to pass procurement.

The open-weight ecosystem is not policing itself: ProjectDiscovery cites HiddenLayer’s discovery of a fake “OpenAI privacy filter” that reached 244,000 downloads in 18 hours before delivering an infostealer, and an abliterated Qwen3 build with more than two million downloads in a month.

Familiar defences

The remedies are well understood. Meta’s “Agents Rule of Two” holds that an agent should never simultaneously process untrusted input, access sensitive systems or private data, and change state or communicate externally. Where all three are unavoidable, a human should approve. Simon Willison’s “lethal trifecta” describes the same combination. ProjectDiscovery’s payload sat on raw.githubusercontent.com, a domain most corporate networks allow, so an egress allowlist would not have stopped it. Sandboxing, least privilege, short-lived tokens and logging across the tool boundary would have.

These are standard disciplines — privileged access management, supply-chain hygiene and incident response. The gap is not technical; it is operational.

One concrete attempt to close it is OpenAPPA, an open-source preview from Archestra AI. It sits between an agent and its tools and checks every action against a single question: is this data allowed to go to this destination? It tracks the sensitivity and provenance of everything the agent reads, then evaluates each tool call against a declarative policy before it runs. The check is deterministic rather than probabilistic. In the project’s own 1,320 guarded runs, no scored attack succeeded and about 89% of tasks completed. Those are self-reported numbers from an early preview, but the architecture illustrates the point: a policy layer can stop a shopping agent from sending a Social Security number to a discount site, however convincing the review.

Courts are already treating these systems as ordinary corporate software. In 2024, a Canadian tribunal ordered Air Canada to pay C$812.02 after its chatbot invented a bereavement fare policy. The airline argued the chatbot was “a separate legal entity”. The tribunal rejected the claim and held the airline responsible.

Benchmarks and red-team reports do not substitute for engineering controls, and a model has no legal standing of its own. Put a system in front of customers and you own its behaviour.

That is what makes a $50 backdoor instructive. The practical failure mode for AI security is mundane: a poisoned file, a leaked token, an over-privileged agent and a deployment shipped without containment. The cost shows up in stolen credentials, exposed personal data and, eventually, liability.

At the end of the day, it is software, and the companies behind this software ought to be held accountable for the damages these models make. Are the models concious? I don’t believe they are, but if the companies training and operating the models make this argument, we should extend the same treatment we expect for sentient beings. But if they’re not, we should apply the same level of rigour we do fo all software.


Sources