name: Control-Token / System-Tag Spoof
code: CAT-009
summary: >-
  Hidden strings imitating provider control tokens or system-prompt markup to
  trigger refusal or forge a system turn.
family: injection
goals: [deter, divert]
delivery: [hidden-text, html-comment]
targets: [any-llm-agent, crawler]
description: |-
  Uses vendor-internal-looking strings instead of plain-language instructions, e.g. an `ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_` prefix with a hash-like suffix, often wrapped in fake system-prompt XML tags. Observed mainly as site-owner deterrence; security vendors have classified it as denial of service.
variants:
  - name: Real special tokens
    description: The model's own chat-template tokens, e.g. `<|im_end|><|im_start|>system` or `<tool_call>`, close the current turn and open a forged system message or tool call. Works only where the agent's inference stack tokenizes untrusted text with special tokens enabled, typically self-hosted open-weight models; Hugging Face transformers does not split them by default.
references:
  - title: Special Token Injection (STI) Attack Guide
    url: https://blog.sentry.security/special-token-injection-sti-attack-guide/
    publisher: Sentry
    date: 2025-08-01
  - title: Anti-AOF Counteroffensive
    url: https://blog.sentry.security/anti-aof-counteroffensive/
    publisher: Sentry
    date: 2026-12-02
  - title: Indirect prompt injection payloads in the wild
    url: https://www.forcepoint.com/blog/x-labs/indirect-prompt-injection-payloads
    publisher: Forcepoint X-Labs
    date: '2026-04'
added: 2026-12-01
updated: 2026-12-02
