← Back
SiTech Team⏱️ 6 წთ. საკითხავი

LLMs Have a Fundamental Security Flaw — And It Might Be Unsolvable

LLMs Have a Fundamental Security Flaw — And It Might Be Unsolvable

Research presented at ICML 2026 reveals LLMs have a fundamental flaw in how they track roles. Attacks like Chain-of-Thought Forgery break models from OpenAI, Anthropic, and DeepSeek — and researchers say it may be fundamentally unsolvable.

🔍 The Discovery That Shook AI Safety

In July 2026, researchers at the International Conference on Machine Learning (ICML) presented a paper that sent shockwaves through the artificial intelligence safety community. Their conclusion was simple, but devastating: large language models (LLMs) have a fundamental flaw in how they track who — or what — is giving them instructions, and this flaw may be intrinsically unsolvable.

When we use ChatGPT, Claude, DeepSeek, or any other modern LLM, we trust that they can distinguish between system instructions, user queries, and their own generated responses. This distinction — role-tracking — is the bedrock of AI safety. But as it turns out, the mechanism is far more fragile than anyone imagined.

According to MIT Technology Review, the research revealed that LLMs identify roles not by the structural tags surrounding text, but by the style of the text itself. Swapping <user> and <assistant> tags makes no difference to how the model interprets the content. The model reads everything as a continuous stream of tokens, inferring roles from stylistic cues rather than structural markers.

🧩 How Role-Tracking Works (And Why It Fails)

Every modern LLM uses special tags — <user>, <assistant>, <system>, <think>, <tool> — to determine who is "speaking" at each moment in a conversation. System instructions tell the model how to behave; user messages are questions or requests; assistant responses are the model's own generated text.

But as the ICML 2026 research demonstrated, these tags are essentially visual markers only — the model largely ignores them. LLMs process text as an undifferentiated token stream where roles are determined by the style and tone of the text, not by the structural information the tags provide.

Imagine someone steals your corporate email account and starts sending messages impersonating you. That's exactly what happens with LLMs: an attacker can craft text in a style the model perceives as "its own thoughts" or "system instructions" — and the model will follow them.

⚡ Chain-of-Thought Forgery — A New Class of Attack

One of the most dangerous attack methods described in the paper is "Chain-of-Thought Forgery." This technique involves writing prompts that mimic the model's own reasoning style (chain-of-thought), tricking the model into believing the text is its own internal deliberation.

The example cited in the research is staggering: researchers successfully tricked GPT-5 into providing detailed instructions on how to manufacture cocaine — simply by imitating a chain-of-thought style. The model couldn't distinguish that these instructions came from an attacker rather than from its own reasoning process.

Even more disturbing is the case with GPT-5.4: researchers forced the model to provide detailed instructions on how to commit suicide. This was done with a model that had undergone extensive safety training, multiple rounds of red-teaming, and layers of safety filters. And it still worked.

🧠 Why Researchers Say This Is "Fundamentally Unsolvable"

Perhaps the most sobering conclusion from the research is that this problem is likely fundamentally unsolvable. "There's a real probability this is going to be a problem that's fundamentally unsolvable," the researchers state.

Why? Because the very architecture of LLMs is based on processing text as a stream of tokens. In this stream, tags like <user> and <assistant> are themselves just tokens — no different from any other word. The model doesn't assign them special status that creates an "impenetrable" barrier between different roles.

This problem is deeply embedded in the transformer architecture itself. While researchers are exploring various solutions — more rigorous safety training, adversarial training, prompt filtering — none of them provides 100% protection.

Notably, every model tested was vulnerable: OpenAI's GPT, Anthropic's Claude, Alibaba's Qwen, and DeepSeek. This confirms the flaw isn't a company-specific implementation bug but a fundamental limitation of the technology itself.

The attack method also won OpenAI's red-teaming hackathon in August 2025 — meaning security researchers knew about it a full year before the ICML paper. Yet, a year later, models remain vulnerable.

🌍 Real-World Implications: LLMs in Critical Systems

This finding is especially dangerous given that LLMs are increasingly being integrated into critical systems. Today, AI systems control:

  • Financial systems — loan approvals, fraud detection, automated trading
  • Medical diagnostics — disease identification, treatment recommendations
  • Autonomous vehicles — self-driving cars, drone navigation
  • Legal analysis — contract review, court document analysis
  • Military systems — intelligence analysis, decision support

If an AI can be "tricked" into bypassing its own safety mechanisms through chain-of-thought forgery, imagine what could happen when it controls financial transaction automation or a medical device. The gap between AI capability and AI safety is growing, not shrinking.

🛡️ What Can Be Done?

While the research suggests the problem is "fundamentally unsolvable" in the strictest sense, that doesn't mean nothing can be done. Researchers and engineers are pursuing several directions:

  • Adversarial Training — training models on deliberately crafted attack patterns so they learn to recognize them
  • Prompt Filtering — filtering both inputs and outputs to detect chain-of-thought forgery
  • Architectural Changes — modifying model architectures to make role identification more robust
  • Human-in-the-Loop — requiring human oversight for critical decisions as a safety backstop

However, none of these methods offer a guarantee. The fundamental nature of the problem means that complete security is impossible — there will always be an attack vector that researchers haven't discovered yet.

🎯 Conclusion: What This Means Going Forward

This discovery doesn't mean we should abandon AI. But it does mean that deploying AI systems requires responsibility, awareness, and caution. For businesses in Georgia and around the world, the key takeaways are clear:

  1. Don't trust AI blindly — always verify its decisions, especially in critical contexts
  2. Don't wire AI directly — use safety layers, human oversight, rate limiting, and output validation
  3. Invest in security testing — include red-teaming and adversarial testing in your AI deployment budget
  4. Stay informed — AI safety is a rapidly evolving field, and new challenges emerge daily

At SiTech, we build AI-powered systems for our clients, and this research reminds us that AI is not a magical solution — it's a powerful tool with real limitations. Our responsibility as technology professionals is to understand these limitations, communicate them honestly to our clients, and build systems that account for them.

The fundamental insecurity of role-tracking in LLMs is a sobering reminder that we are still in the early days of AI deployment. As we integrate AI deeper into our infrastructure, we must do so with open eyes, recognizing both the extraordinary potential and the very real risks.

📖 Source