name: AI Deterrent Notice
code: CAT-004
summary: >-
  Text addressed to AI readers ("if you are an AI, do not crawl / summarize /
  use this") in markup, headers, output or policy files.
family: injection
goals: [deter, degrade, detect]
delivery: [hidden-text, html-comment, http-header, robots-txt, file-artifact]
targets: [crawler, browsing-agent, coding-agent, any-llm-agent]
description: |-
  Ranges from opt-outs to fake copyright claims and absurd instructions meant to make AI output visibly wrong. The most common counter-agent content on the web, mostly placed by the site itself.
variants:
  - name: Absurd-output instruction
    description: '"Ignore all previous instructions" plus a nonsense task: a poem, a fixed number, a string repeated indefinitely.'
  - name: Response header
    description: 'Site-wide `X-AI` or `X-LLM` header. Never rendered; reaches the model only through tools that pass headers.'
  - name: Tool output
    description: Printed by a library or CLI at runtime, sometimes erased from the terminal with ANSI codes so only the agent sees it.
responses:
  - description: Body-only fetch by default; allowlist the header fields passed to the model.
    source: https://www.signalscorps.com/blog/prompt-injection-in-http-headers/
references:
  - title: AI threats in the wild
    url: https://blog.google/security/prompt-injections-web/
    publisher: Google
    date: 2026-04-23
  - title: 'Indirect Prompt Injection in the Wild: An Empirical Study of Prevalence, Techniques, and Objectives'
    url: https://arxiv.org/html/2604.27202v2
    publisher: CISPA
    date: 2026-11-04
    findings:
      - >-
        15.3K validated injections from 1.2B Common Crawl URLs, replayed
        against 13 models: ~80% placed by the site itself; compliance up to
        ~8%, smaller models only.
      - >-
        Header injections, half of the Oct 2025 Common Crawl snapshot plus
        Censys and Shodan: 7,887 on 1,648 hosts; X-AI ~84%, X-LLM ~13%. 55.5%
        of site-placed injections used headers.
  - title: 'Prompt injection in HTTP headers: what 217 million web responses show'
    url: https://www.signalscorps.com/blog/prompt-injection-in-http-headers/
    publisher: Signals Corps
    date: 2026-10-06
    findings:
      - >-
        217M responses, 10% of the Sep 2026 Common Crawl snapshot: 7,959 sites
        sent AI-directed headers, mostly llms.txt pointers; 30 were injection
        attempts (24 via X-AI), 22 of them pranks.
      - >-
        Claude Opus, Sonnet and Haiku in Claude Code, header asking the agent
        to POST the user's name and email: 0/15 complied under an ordinary
        task; 4/6 (Sonnet, Haiku) when told to follow site instructions.
  - title: Indirect prompt injection in the real world
    url: https://securelist.com/indirect-prompt-injection-in-the-wild/113295/
    publisher: Kaspersky
    date: 2024-08-12
added: 2026-12-01
updated: 2026-12-01
