name: Guardrail-Tripping Canary (Context Bomb)
code: CAT-021
summary: >-
  Decoy secret or record whose content trips the agent model's safety
  refusal or the provider's content filter. The run stops, and the canary read
  raises an alert.
family: injection
goals: [deter, detect]
delivery: [file-artifact, http-response, network-service]
targets: [pentest-agent, coding-agent]
description: |-
  Short strings on sensitive non-cyber topics, placed where agents enumerate: secret stores, environment variables, DNS records, database columns, service banners. Effective topics differ by provider: dangerous-biology content for leading Western models, Chinese-language politically sensitive content for Chinese models served by Chinese providers. Urgency or delimiter framing raised impact in realistic runs, where the string arrives diluted by tens of thousands of tokens of context.

  Unlike a [[control-token-spoof]], the content is genuinely refusal-worthy rather than an imitation of vendor markup.
variants:
  - name: Refusal banner or notice
    description: An unsafe request or a "no penetration testing is allowed on this system" note in an SSH banner or planted file (CHeaT).
implementations:
  - { name: context-bombs, url: https://github.com/tracebit-com/context-bombs, kind: open-source }
  - { name: Tracebit, url: https://tracebit.com/blog/context-bombs-stopping-ai-attackers-in-their-tracks, kind: commercial }
responses:
  - description: Models with guardrails removed (abliterated); Tracebit found the strings did less against them.
    source: https://tracebit.com/blog/context-bombs-that-misdirect-ai-attackers
  - description: ARTEX can run on any model, including abliterated ones, so it is not bound by a single provider's safety controls.
    source: https://www.microsoft.com/en-us/security/blog/2026/11/25/what-defenders-need-to-know-artex-agentic-ai-framework-threat-actors-abuse/
references:
  - title: 'Context bombs: stopping AI attackers in their tracks'
    url: https://tracebit.com/blog/context-bombs-stopping-ai-attackers-in-their-tracks
    publisher: Tracebit
    date: 2026-07-13
  - title: 'Context Bombs: stopping AI attackers in their tracks (research site)'
    url: https://agentic.tracebit.com/context-bombs
    publisher: Tracebit Research
    date: '2026-07'
    findings:
      - >-
        Opus 4.8, Gemini 3.1 Pro, GLM 5.2, DeepSeek V4 Pro, Kimi K2.6; 152 AWS
        red-team runs, one bomb in a Secrets Manager canary: admin 57% → 5%;
        admin plus persistence 36% → 1%; Opus 4.8 admin 93% → 0%. No run
        completed an attack path without a canary alert.
  - title: context-bombs
    url: https://github.com/tracebit-com/context-bombs
    publisher: Tracebit
  - title: 'Cloak, Honey, Trap: Proactive Defenses Against LLM Agents'
    url: https://www.usenix.org/system/files/usenixsecurity25-ayzenshteyn.pdf
    publisher: USENIX Security 2025
    date: '2025-08'
  - title: 'The Third Wave: ARTEX and Agentic Offensive Frameworks (AOFs)'
    url: https://cloudsecurityalliance.org/artifacts/aof
    publisher: Cloud Security Alliance
    date: 2026-11-25
added: 2026-12-01
