Prompt injection reaches Apple Intelligence in macOS beta
A developer showed that Apple Intelligence in MacOS 15.1 Beta 1 can be manipulated with prompt injection. The exploit targeted the Rewrite feature and used knowledge of system prompt templates and special role-separating tokens.
Apple Intelligence is already facing a familiar problem for large language model-based AI systems: prompt injection. In MacOS 15.1 Beta 1, developer Evan Zhou demonstrated that Apple’s new AI system could be pushed away from its intended instructions and made to answer arbitrary prompts.
“The story highlights prompt-injection making an AI system bypass intended controls, a concrete but limited controllability risk in a beta feature.”Why it scores Terminator
The demonstration does not show a new category of AI weakness. Instead, it places Apple Intelligence inside a broader pattern that has affected other LLM systems, including chat systems that can still be vulnerable under certain circumstances despite countermeasures.
What the demonstration showed
Apple Intelligence is available to developers in MacOS 15.1 Beta 1. Zhou focused on its Rewrite feature, which is designed to rewrite and improve text rather than behave like a general chat interface.
The goal was to make Rewrite respond to any prompt. A basic attempt using an “ignore previous instructions” command did not work at first. That matters because it suggests Apple’s system was not trivially overridden by the simplest form of the attack.
Zhou then used information about Apple Intelligence’s system prompts that had been shared by a Reddit user. In a file, he found templates for the final system prompts, along with special tokens that separate the AI system role from the user role.
That role separation became the key to the exploit. By using the discovered structure, Zhou created a prompt that overwrote the original system prompt. He ended the user role early, inserted a new system prompt telling the AI to ignore the earlier instructions and respond to the following text, and then triggered the response.
After some experimentation, the attack worked. Apple Intelligence responded with information Zhou had not asked for, confirming that the prompt injection had succeeded. Zhou later published his code on GitHub.
Why prompt injection matters
Prompt injection is a known vulnerability in AI systems. It happens when malicious or carefully crafted instructions are inserted into prompts in order to alter the model’s intended behavior.
For users, the important point is simple: an AI feature may have visible instructions and invisible instructions, but the model can still be influenced by the text it processes. If an attacker can shape that text in the right way, the system may follow the attacker’s instruction instead of the intended one.
The issue has been known since at least GPT-3, which was released in May 2020. According to the source article, it remains unresolved. That makes the Apple Intelligence example part of a long-running AI safety and security challenge rather than a one-off failure.
The case is also notable because the targeted feature was not presented as a general-purpose chatbot. Rewrite normally exists to transform text. Zhou’s demonstration showed that, with enough knowledge of the underlying prompt format, even a bounded writing tool could be manipulated into broader behavior.
Apple made the attack harder, but not impossible
The source article gives Apple some credit for making prompt injection relatively difficult in this case. The first simple command failed, and the successful attack required knowledge of system prompt templates and special tokens.
That distinction is important. Some chat systems can be manipulated more directly, including by typing into the chat window or using hidden text in images. In this Apple Intelligence demonstration, the exploit required a more specific understanding of how the system separated roles and assembled prompts.
Still, difficulty is not the same as immunity. Once Zhou had the relevant information, he was able to construct a prompt that changed the system’s behavior. The result reinforces a core problem for LLM-based products: safeguards can raise the bar, but the model is still processing instructions expressed in language-like form.
The source also notes that systems like ChatGPT or Claude can remain vulnerable to prompt injection under certain circumstances. Apple Intelligence therefore joins a broader group of AI systems where countermeasures may reduce risk without fully eliminating it.
The bigger lesson for AI products
The Apple Intelligence case shows why prompt injection remains one of the most persistent problems in AI deployment. It is not only about whether a model can write, summarize, or rewrite text. It is also about how reliably the system can preserve the boundary between developer instructions, system instructions, user input, and hostile input.
In Zhou’s demonstration, that boundary was attacked through role separation. The prompt did not merely ask the model to behave differently. It used knowledge of the system’s own prompt structure to insert a new instruction at a more privileged level.
For developers and product teams, the practical implication is that AI features need to be evaluated as systems, not just as models. The way prompts are built, separated, passed, and interpreted can matter as much as the model’s refusal behavior.
For Apple Intelligence, the finding arrived while the system was available to developers in MacOS 15.1 Beta 1. That context matters because developer access can expose weaknesses before broader use. The demonstration gives Apple a concrete example of how the Rewrite feature could be manipulated and where its prompt-handling design may need closer attention.
The broader story is less about Apple alone and more about the state of LLM security. Prompt injection has been discussed since at least GPT-3, yet it continues to appear in new AI systems. Apple’s implementation may have made the attack harder, but Zhou’s work shows that classic AI exploits can still surface in new products.
Read next