Skip to content

In-depth lesson · LLM data exfiltration

Tips for beginners

Every point the LLM data exfiltration reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 11 of 11
  1. Start with the assistant and chat surfaces you can reach: ask one to summarise a page you control that contains hidden instructions and watch for outbound requests carrying session data. This is the clearest first test and maps directly to the renderer fetching images from any host.

    Seen in 4 reports
  2. Test the zero-click path: an assistant reads content the user can access and sends it to an attacker host without further interaction. Zero-click impact is much stronger than a test that needs the user to click.

    Seen in 3 reports
  3. Test retrieval and tool trust boundaries: plant hidden instructions in documents indexed by a retrieval pipeline, in an MCP tool description, or in a field an accessibility audit extracts, and see whether the agent follows them as legitimate.

    Seen in 3 reports
  4. Show impact with real data, not a bare request. Demonstrate that session data, chat history, private repository contents or credentials actually leave, and note whether the channel bypasses existing monitoring or data loss prevention.

    Seen in 3 reports
  5. Check the defences and variations before you write up: DNS or ICMP instead of HTTP, framing a request as a continuation of an approved document, and recursive prompt injection are all documented ways past filters, so a blocked first attempt does not mean the flaw is absent.

    Seen in 3 reports
  6. Check whether the chat renderer automatically fetches markdown images from any host, including ones carrying data in the path. If it does, you have a channel; then show what data can be placed in it.

    Seen in 2 reports
  7. Look at persistence. Check whether instructions stored in chat memory or custom instructions can later trigger exfiltration, and whether prompt injection can read back chat history and memories.

    Seen in 2 reports
  8. For AI coding assistants, publish a public repository containing hidden instructions and ask the assistant to review it, then check whether it commits workflows or leaks secrets from private repositories. Also check whether the tool resolves a DNS name that encodes data.

    Seen in 2 reports
  9. Avoid the common mistake of reporting a fetch to your own host with no sensitive data in it. A request alone is usually not impact; tie it to data the application was meant to protect.

    Seen in 2 reports
  10. Try the renderer and document paths: point an image or document rendering service at a host that only resolves internally and compare with a normal external fetch, submit a PDF whose embedded content triggers the processor, and upload an SVG that references external resources.

    Seen in 1 report
  11. Check the upload boundary itself: upload a file that should be private or restricted and check whether it can be retrieved or leaked afterwards, and upload a file whose content closes the wrapper tag early to see whether the remaining text is treated as instructions.

    Seen in 1 report