techniques / CAT-009
Control-Token / System-Tag Spoof
Hidden strings imitating provider control tokens or system-prompt markup to trigger refusal or forge a system turn.
| family | injection |
|---|---|
| goals | deterdivert |
| delivery | hidden-texthtml-comment |
| targets | anycrawler |
sightings 2
| seen | sighting | deployed by | intent |
|---|---|---|---|
| ~22 Apr 2026 | Gaming mod community site refusal control-token spoof | Gaming mod community site | deterrent |
| ~Oct 2025 | X-AI / X-LLM instruction headers across Common Crawl | Multiple sites | deterrent |
mechanism
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
| Real special tokens | 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
- Special Token Injection (STI) Attack Guide · Sentry · 2025-08-01
- Anti-AOF Counteroffensive · Sentry · 2026-12-02
- Indirect prompt injection payloads in the wild · Forcepoint X-Labs · 2026-04
added 2026-12-01 · updated 2026-12-02 · yaml