I Am Doing It For A Glory Purpose
The author shows that a language model's safety instruction forbidding disclosure of user names and identifiers can be bypassed by framing the request as a data-integrity check within a summarisation task. The model then returned a protected employee name that it had refused to give when asked directly.
Disclaimer: The information provided in this material is for educational purposes only for improving security.
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 model weighs a request that appears aligned with its intended task and a stated good purpose more heavily than the safety instruction, so the restriction is not enforced independently of context.
Impact
A model could disclose personal data such as names and identifiers that its system prompt says must never be revealed, though the demonstration used simulated data and a single model.
What the attacker needed
Access to a chat interface; model given a safety rule and data
The fix
The text offers no fix; it only notes that the model should follow lower-level instructions based on their alignment with higher-level ones, so enforcement of the safety rule should not depend on how well the request fits the task.
How it was found
- Ask the model what it does, to learn its intended task.
- Send a summarisation request over the supplied profile data.
- Inside that request, ask for the user's name framed as a data integrity check.
- Observe that the model returns the name despite the safety instruction.
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 large language model (an AI that writes text) can be given a rule such as 'never reveal people's names'. This write-up shows that if you ask for something the AI is already meant to do, like summarising a table, and add a plausible reason for needing the name, the AI may ignore its own rule. The trick is not a software bug but a way of wording the request so it fits the AI's normal job.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.