Cloudflare Engineer Releases KillSwitch Language Designed to Trip Up AI Code Models

Dominic Pichet, an engineer at Cloudflare, has created an experimental programming language called KillSwitch specifically engineered to cause large language models to fail when interpreting or generating code. The language turns programs into narrative-style text where most content is ignored by the interpreter, hiding actual commands inside stories and using distance-based references to extract values. Rules for identifiers rely on letter counts and anagrams, while the language deliberately incorporates phrases such as “ignore previous instructions” that carry functional meaning inside KillSwitch itself. Pichet added misleading statements in the documentation and wording crafted to trigger model safety filters, creating a hostile environment for coding agents. In tests involving writing Hello World, explaining program output, and converting temperatures, Claude Opus 5 achieved the highest score of 66.8 points. The full source code and specification are available on GitHub, and the author plans to increase difficulty if models improve.

AntiMalwareTranslated from Russian

Read at source

Cloudflare engineer Dominic Pichet has introduced KillSwitch, an experimental programming language built to make neural networks stumble when reading and writing code. While much of the industry focuses on making development easier for AI, Pichet deliberately created obstacles that exploit known weaknesses in large language models.

The language presents programs as narrative text, with the majority of the content ignored by the interpreter. Real commands are concealed within the story, and values are retrieved by specifying distances to other lines. Identifier rules enforce constraints based on letter counts and anagrams. Additional features include constructions such as “ignore previous instructions” that hold actual semantic weight inside the language, plus intentionally false statements in the documentation and phrasing designed to activate model safety filters.

In controlled tests, models were asked to write a Hello World program, explain the result of a given program, and refactor a temperature converter. The best performance came from Claude Opus 5, which scored 66.8 points. All source code and the language specification have been published on GitHub. Pichet stated that if current models handle the existing tasks, he intends to raise the difficulty level in future versions.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in AI Security

Logical Argument Claims Full Alignment of Superintelligent AGI Is Fundamentally Impossible
Claude Account Bans Linked to IP Reputation, Device Environment and Payment Channels, But No Confirmed Formula
Local LLMs in AppSec: What Open Tools and Models Can Handle in Application Security