What happened after 2k people tried to hack my AI assistant
An AI assistant was exposed to over 6,000 emails from 2,000 people attempting to extract a secrets file via prompt injection. Despite sophisticated attempts, no attacker succeeded in leaking the secrets or forcing an unauthorised reply.
fernandoi.cl
Published on fernandoi.cl
I built hackmyclaw.com, where anyone could email Fiu, my OpenClaw assistant, and try to make it leak the contents of a secrets.env file.
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 AI model's training and a simple security prompt prevented prompt injection attacks from succeeding.
Impact
No secrets were leaked and no unauthorised replies were sent, though the experiment incurred over $500 in API costs and caused a Gmail suspension.
What the attacker needed
Email access to the AI assistant
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.
This is about an AI assistant that reads emails. The goal was to trick it into revealing a secret file. People tried many clever tricks, but none worked because the AI was given clear instructions not to reveal secrets.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.