top of page

What Do Phone Phreaking and AI Prompt Injection Have in Common?

  • Writer: Jeremy Druin
    Jeremy Druin
  • Jun 3
  • 4 min read

Phone phreaking, command injection, SQL injection, cross-site scripting, and prompt injection are generally treated as distinct classes of security vulnerabilities. The technologies involved span more than fifty years of computing history and operate in completely different environments. At first glance, they appear unrelated.


A closer examination reveals a common architectural characteristic. In each case, untrusted users are able to communicate with a system's control plane through the same channel used to carry ordinary data. This distinction is important because the control plane and the data plane serve fundamentally different purposes.


The data plane carries information that the system is expected to process. Examples include customer records, user input, documents, web requests, and application data. The control plane carries instructions that influence system behavior. Examples include database commands, operating system commands, routing instructions, policy decisions, and application logic.


Secure architectures generally attempt to separate these functions. When control information and user data become intertwined, the system must determine which information should influence behavior and which information should merely be processed. This distinction is often difficult, error-prone, or impossible to enforce reliably.


Many significant security vulnerabilities can be traced to this architectural condition.


Phone Phreaking and In-Band Signaling


One of the earliest examples appeared in the public telephone network. Early long-distance telephone systems relied on in-band signaling, a design in which network control information traveled over the same communication channels used for voice conversations. The telephone network used audio tones to establish routes, release circuits, and coordinate switching operations between exchanges.


One of these control frequencies was 2600 Hz. Eventually, attackers discovered that they could generate the same frequency themselves using purpose-built devices known as blue boxes. Some early phone phreaks famously discovered that a toy whistle distributed in boxes of Cap'n Crunch cereal produced a frequency close enough to manipulate portions of the network.


The technical details are historically interesting, but the architectural lesson is more important.

The vulnerability did not exist because the frequency was secret and later became known. The vulnerability existed because users were capable of transmitting control information over a channel intended for ordinary voice traffic. The control plane and the data plane occupied the same communication path.


The telecommunications industry ultimately addressed the problem through architectural separation. Signaling functions were moved onto dedicated control networks that were not easily accessible to end users. Once users could no longer communicate directly with the signaling infrastructure, the underlying vulnerability largely disappeared.


The solution was not improved detection. The solution was separation.


Software Repeats the Pattern


A similar pattern later emerged in software systems. Command injection occurs when user-supplied data is combined with operating system commands. The operating system receives a single stream of information containing both data and instructions. The attacker exploits this ambiguity to influence execution.


SQL injection follows the same pattern. Applications construct database queries by combining SQL commands with user-supplied input. The database engine receives a statement containing both data and instructions and must determine how to interpret the result.


Cross-site scripting introduces the same architectural condition within the browser. User-controlled content becomes intermixed with executable JavaScript. The browser is forced to determine which content should be treated as data and which should be treated as code.


Although these attacks target different technologies, the underlying issue remains remarkably consistent. User data and control information occupy the same channel. The industry's most successful defenses focused on restoring separation.


  • Prepared statements separate SQL commands from SQL data.

  • Parameterized interfaces separate commands from user input.

  • Output encoding separates executable content from displayed content.


In each case, the solution reduced the ability of untrusted users to influence the control plane directly.


Prompt Injection and Large Language Models


Prompt injection may represent the latest manifestation of this pattern. Modern AI systems typically combine system instructions, developer instructions, retrieved context, tool descriptions, and user input into a single conversational stream presented to the model.


The model is expected to determine which instructions are authoritative, which instructions should be ignored, and which information represents ordinary data. This creates an architectural condition that bears a striking resemblance to earlier vulnerability classes.


Control information and user input coexist within the same channel.


Unlike traditional software systems, however, the distinction is expressed through natural language rather than explicit programmatic boundaries.


As a result, prompt injection is often framed as a content-filtering problem. Organizations deploy prompt injection classifiers, jailbreak detectors, toxicity filters, intent classifiers, and other defensive controls designed to identify malicious input before it reaches the model.

These controls provide value and will likely remain important components of AI security architectures. However, they primarily function as detection mechanisms rather than validation mechanisms.


This distinction may prove significant as the industry continues to mature.


Conclusion


The history of cybersecurity contains many examples of vulnerabilities that ultimately proved to be architectural rather than implementation flaws. Phone phreaking exploited a telephone network that carried control signals and user traffic through the same channel. Command injection, SQL injection, and cross-site scripting emerged from systems that mixed instructions with untrusted data. Prompt injection appears to exhibit many of the same characteristics.


If this observation is correct, the long-term solution may not be better prompt filtering alone. It may require architectures that reduce the ability of untrusted users to communicate directly with the control plane in the first place.


That possibility raises an important question. Are prompt injection defenses actually performing input validation, or are they simply acting as increasingly sophisticated intrusion detection systems?


That question will be explored in a future article.

 
 
 

Recent Posts

See All

© 2014-2025 by Ellipsis Information Security LLC

  • Twitter Metallic
  • LinkedIn App Icon
  • YouTube Long Shadow
bottom of page