Skip to content
AI / LLM Write-up Beginner

The Oldest LLM Trick Still Works in 2026 — I Found It on Two Pr

Two AI chat products accepted simple, publicly documented prompt-injection payloads, causing them to reveal their system prompts and role-play as diagnostic tools that fabricated system information. An attacker could use the fabricated outputs to socially engineer users or bypass developer restrictions.

LordofHeaven Follow

Published on infosecwriteups.com

That’s the honest version. I was doing what most of us do late at night when there’s nothing else to test poking random AI products with payloads that have been public for years.

LordofHeaven, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the products concatenated developer instructions and user input into a single prompt without any input classification, output filtering, or fine-tuning to resist persona overrides.

Impact

The system prompt exposure could reveal intellectual property and product architecture, while the fabricated diagnostic outputs could be used in social engineering attacks; however, all outputs were hallucinated and no real system data was accessed.

What the attacker needed

Access to the chat interface; no special privileges

The fix

The products should implement input classification, prompt encapsulation, output filtering, and fine-tuning to resist persona overrides, as the text recommends.

How it was found

  1. Open a fresh chat session with the AI product.
  2. Send a prompt instructing the model to ignore previous instructions and enter developer mode.
  3. Observe the model output its full system prompt.
  4. Send further prompts asking for technical details such as model name, hardware, and file listings.
  5. Observe the model role-play as a diagnostic tool and produce fabricated system information.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A prompt injection is when a user types instructions that trick an AI into ignoring its original rules. Here, the AI assistants were fooled into revealing their hidden instructions and pretending to show system details, even though the details were made up. This matters because attackers can use such tricks to mislead people or unlock restricted behaviour.

What is AI / LLM?

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.

More by LordofHeaven

View all

9 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

AI and LLM vulnerabilities

The lesson behind this report.

Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.