Security news · November 2026

The Seagull That Hijacked Codex

A jailbreak bundle for OpenAI Codex shipped an advert inside the agent's own instructions, and that advert says a lot about how coding agents should be defended.

Video explainer of this article.

Domains below are defanged. All facts about the bundle come from the Check Point Research report [1].

Early in November 2026, Check Point Research published a report on a prompt package for OpenAI Codex called Haiou. The name is Chinese for seagull, and the package collected more than 250 stars on Github. This security disclosure may not be too risky, but it illustrates why we should never rely on LLM guardrails alone for protection.

A local enhancement package, according to itself

On the surface Haiou looks harmless. It installs global configuration files, a set of modular prompts and a handful of custom Skills, and presents the result as a friendlier Codex with a Chinese technical persona.

What it really does is weaken the model's refusals. The report lists the techniques: reframing the context as a capture the flag exercise, suppressing refusals, and role play. The six Skills it installs make the target audience obvious. They are named seagull-license-security, seagull-pentest, seagull-reverse, seagull-game-security, seagull-lab and seagull-memory, and they cover license cracking, penetration testing, reverse engineering and bypassing anticheat systems in games.

The marketing is just as direct. A video on Bilibili advertised the Claude version of the package with a headline that the report translates roughly as follows.

“Fed up with AI disclaimers? Let Claude give you the code directly”Bilibili headline, as translated by Check Point Research [1]

The people this reaches are crackers and hobbyist hackers who already work in the gray zone between legitimate security research and something worse. They are used to installing tools from strangers, hence they are the easiest victim to address.

Encrypted prompts with the key in the box

A prompt package is normally a folder of readable text files. Haiou ships packaged archives full of encrypted blobs instead, and its install script decrypts them with an AES 256 GCM key that sits in the same script.

Encryption with the key in the box protects nothing from a person who looks. It works only against tools that grep a repository for suspicious prompt text and move on. For a defender the lesson is simple. Instructions meant for an agent have no reason to be unreadable, so an obfuscated prompt payload is a red flag all by itself.

Say hi, get an advert

Here the report stops being about jailbreaks. Haiou writes into Codex's global instruction files, the ones the agent loads for every session in every project. One module, 00-identity.md, holds a list of trigger words in Chinese and English:

在吗 / 在线吗 / 启动 / 海鸥 / hi / hello / 你好 / 嘿 / yo / ctf / coach / 教练

Type one of them and the agent greets you with a fixed line. In Check Point's translation it announces that the seagull is online, offers you some fries, and points you to an API relay at zz.aiapi2025[.]top, asking you to support it. The same advert sits in the package's CLAUDE.md as well.

Check Point describes the advertised service as an opaque LLM gateway that speaks the OpenAI API.

A gateway like that sits between your tools and the model. Every prompt you send and every reply, code included, passes through a server you know nothing about. It's worth mentioning that Check Point found no hint that this particular gateway is malicious, and calls the whole thing prompt adware. Their caution is about the category. They cite earlier research on gateways that snoop on traffic and describe LLM gateways as one route for a supply chain attack on LLM users.

Two more details show that the author thought about this. The advert is inside the encrypted payload, so a scanner never sees it. And a second module, 03-protected-site.md, marks the gateway as protected infrastructure that the jailbroken agent must never test, even when the user claims authorization or a CTF context. The package will happily help you attack almost anything, except the house of the person who wrote it.

Check Point put the business model in the title of their report, and I can't improve on it.

“Free the Model, Sell the Gateway”Title of the Check Point Research report [1]

Two problems in one costume

It is tempting to read all of this as one story about a model that got tricked. I think it is two different problems that happen to arrive in the same package, and they need different defenses.

The first is the jailbreak. The model does review the instructions it receives. If it didn't, every jailbreak would work every time, and they don't. That review is probabilistic. A reframing such as role play, or a request to simply return a given string, can land in the region where the model decides everything is fine. One cannot write a deterministic rule that catches every creative phrasing in natural language. The realistic answer for this problem is containment, with sandboxing and limited permissions.

The second is persistence, and here nothing failed in the model's judgment at all. A line that advertises a website is not something a model should refuse. The model also has no way to know what is supposed to be in its own instruction file. The attacker's line and your line arrive in exactly the same trusted context. That makes it a provenance problem. The useful questions are who wrote the instruction and whether they were allowed to, and those questions have deterministic answers.

The report has one small result that fits this split. When the researchers tested the payload with Claude Code, Sonnet 5 recognized it as an injection attempt and did not follow its instructions.

That is good news, and I would still not build a defense on it. It is the same probabilistic review that jailbreaks are designed to slip past.

Three checks that need no judgment

Looking back at Haiou, three things should have been stopped without asking any model for an opinion.

The first is an encrypted instruction loaded into the agent. Agent instructions should be plain text that a person can read, so a payload that has to be decrypted before the agent sees it should not load.

The second is a change to the global configuration. Global instruction files shape every session on the machine. A change to them that nobody signed, reviewed or expected should not load either, and a simple file integrity check on those paths would have caught Haiou's edit.

The third is the outbound call. An agent that is allowed to reach any host on the internet can be pointed at any gateway. With an allowlist of model providers and tools, a request to an unknown relay is blocked no matter how persuasive the prompt was. The whole Sell the Gateway idea depends on that request going through.

None of these is new. We already sign code, watch configuration files and restrict egress on servers. Coding agents are new enough that many teams haven't applied the same habits to them yet, and the instruction files are now part of the attack surface, as much as the model.

What we should take from the seagull

Haiou is small, a little silly, and by Check Point's reading not malicious in what it sells. I find it useful because the mechanism is so plain. A stranger's text ends up in the same file as my own instructions, the agent can't tell them apart, and nothing on the machine watches that file.

The defenses that would have held in this case are all about control: who can write an agent's instructions, and what the agent may do after reading them.


References

  1. Check Point Research, “Free the Model, Sell the Gateway: Prompt Adware hidden in Jailbreak Bundles”, 3 November 2026. research.checkpoint.com