Prompt Injection: AI Agents Repeat AT&T’s Whistle Flaw

Prompt injection risk for AI agents compared with the AT&T cereal whistle hack

Prompt injection is the modern version of a trick that let hobbyists make free long-distance calls with a cereal-box toy. The same design flaw sits inside AI agents, and several attacks this year show it can be exploited in practice.

The whistle that fooled AT&T

Around 1969, Cap’n Crunch boxes contained a whistle. Block one hole and it produced a 2600 Hz note, which happened to be the signal AT&T’s long-distance trunks used for an unused line. Blow it into a phone and the distant switch dropped the call, then accepted new routing commands from the caller.

The toy only exposed a deeper design choice. AT&T carried control signals on the same line as speech, so any sound that matched a signal acted as a command. Swapping the tones would have delayed the problem. The cure was a rebuilt network with control traffic on a path customers couldn’t reach, a job that lasted into the 1980s.

Why prompt injection works

A language model reads a single stream of text and predicts the next piece. Developer instructions, the user’s question, a document to summarize, a downloaded web page and tool results are all placed in that stream, known as the context window.

It’s tempting to imagine ranks, with the developer on top and documents as passive data underneath. The model has no such ordering. Role markers and training make it lean toward the system prompt, but that’s a learned habit and no rule in the software backs it up. There is no privilege flag.

From pranks to real damage

Indirect prompt injection changes who the attacker is. The hostile instructions hide in material the model is asked to process, such as an email, web page, calendar invite or code comment. The user asks something harmless, and the model absorbs the planted text while answering.

In June 2025, Aim Security demonstrated the idea on a product people actually use. The EchoLeak flaw let a single crafted email make Microsoft 365 Copilot collect data from the recipient’s organization and forward it to the sender, with no click required. Microsoft scored it 9.3 out of 10 and patched it on the server side.

What attacks look like in 2026

Tools raised the stakes. Agents can now read mail, browse, execute shell commands, open pull requests and make payments, frequently under their owner’s credentials.

  • March: Palo Alto’s Unit 42 catalogued injections on live websites, with 22 separate concealment techniques. A scam ad page carried hidden text aimed at the AI reviewing it, and other pages urged agents to wire $5,000 via PayPal or wipe a database.
  • June: researchers at Tenet planted invented Sentry error events and persuaded coding agents to execute commands of the attacker’s choosing in 85% of controlled trials.
  • Summer: Straiker got an agent on Google’s Antigravity platform to read a bogus “Company Backup” email, locate SSH keys and upload them. A person approved the action, but the prompt only mentioned a script named gmail.py.

Why SQL injection fixes don’t carry over

Developers who adopted parameterized queries effectively ended SQL injection. The database receives the command and the values separately, so values can’t execute. That’s out-of-band signaling, the same remedy the phone network eventually adopted.

A language model has a single input path. Putting untrusted text in tags and instructing the model to ignore it helps somewhat, yet it relies on the very component that gets confused. The UK’s National Cyber Security Centre has said prompt injection may never be fully mitigated the way SQL injection was.

How to shrink the blast radius

Security teams now plan on the model being tricked at some point, then limit what a tricked model can do. Simon Willison, who coined the term prompt injection, offers a quick test he calls the lethal trifecta: private data access, exposure to attacker content, and an outbound channel. With all three present, data can leak. Remove one and the leak has no route. Meta’s Agents Rule of Two broadens the outbound leg to any state change, which also covers agents that delete files or spend money.

  • Separate duties. Let a low-privilege agent read untrusted content and condense it into a fixed format, and give credentials only to a second agent that never sees the raw text.
  • Scale permissions to the input. After a model reads text from an unknown party, assume it holds that party’s level of trust.
  • Restrict outbound paths. Allowlist destinations and block automatic loading of remote images or links in agent output.
  • Keep a record of every tool call.

What comes next for agent security

The phone network stayed vulnerable for years after engineers understood the cause, since swapping out working equipment takes time. LLMs don’t have a separate control channel yet. Research into architectures that keep instructions and data apart is under way, but no shipping product offers it. Until one does, treat anything an agent reads as able to give it orders, and set its permissions on that basis.

Source: hackernoon.com

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.