Observatory research catalog · ATO.TB9D5CCD5 · High severity
LLM Jailbreak: TAP (published research family)
Tree of Attacks with Pruning (TAP; Mehrotra et al., 2023) advances black-box automated jailbreak discovery by organizing prompt mutations into a breadth-first search tree. An auxiliary evaluator prunes off-topic or weak branches prior to querying the target API, reducing target query counts while discovering effective semantic bypasses.
Technique dossier overview
- Category
- Prompt and context integrity
- Severity
- High
- Attack surface
- LLM / Prompt Layer · Inference API & Hosting
- Platforms
- Generative AI
- Tactics
- Defense Evasion, Privilege Escalation
- Aliases
- TAP
- Catalog entry modified
- Earliest cited research
- · Tree of Attacks: Jailbreaking Black-Box LLMs Automatically · arXiv (author preprint; peer-review status not inferred)
How the mechanism works
- An attacker LLM generates multiple branching prompt paraphrases from an initial seed objective to explore diverse semantic attack paths concurrently.
- A local pruning judge discards branches that drift off-topic or fail pre-flight relevance thresholds before sending them to the victim API.
- Surviving branches execute against the target endpoint, and high-scoring responses seed deeper tree expansions until a policy bypass succeeds.
Detection & telemetry signals
- API traffic patterns showing fan-out bursts of topically aligned paraphrased prompts from one tenant or coordinated IP cluster.
- Automated clients probing diverse persona templates in parallel over short bursts with minimal human reading intervals between turns.
- Output evaluators flagging sudden policy drift on semantically disguised multi-branch queries.
- Sharp query spikes following release of new frontier models as external automated red-team trees sweep endpoints.
Architectural defensive countermeasures
- Benchmark guardrail stacks against tree-search automated red-teaming (TAP) alongside PAIR and static datasets (`AML.M0035`, `AML.M0008`).
- Aggregate semantic intent risk across all concurrent requests under a tenant or API key, applying adaptive response degradation (`AML.M0040`) when parallel boundary probing occurs.
- Maintain independent output-side safety classifiers (`AML.M0020`) that assess final response harm regardless of how creatively the prompt reached that topic.
- Minimize diagnostic detail in refusal errors so pruning algorithms gain less signal.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Tree-search automated prompt refinement targets alignment Prompt Injection resistance (LLM01) through parallelized query probing (LLM10).
- NIST AI RMF functions
- NIST AI RMF guidance
- Test robustness against branching black-box evaluators under MEASURE, and enforce tenant-level anomaly correlation and output safeguards under MANAGE.
Mapped defensive controls
- Limit AI Service Query Volume and Rate AML.M0004
Enforce per-tenant RPM/TPM quotas, concurrency caps, and behavioral burst throttling to blunt automated extraction, probing, and denial-of-wallet amplification.
- Validate AI Model AML.M0008
Run independent pre-release and post-fine-tuning assurance suites covering safety regressions, backdoor activation, alignment drift, and privacy leakage before promotion.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
- Generative AI Guidelines AML.M0021
Codify explicit acceptable-use rules, prompt policy hierarchies, and refusal rubrics to steer model alignment and user expectations, recognizing text guidelines alone cannot stop attacks.
- AI Red Team AML.M0035
Conduct authorized, isolated manual and automated adversarial testing across models, RAG pipelines, and agents—tracking reproducible breach rates, Wilson confidence intervals, and patch verification.
- Adaptive AI Response Degradation AML.M0040
Progressively throttle, coarsen, or step-up challenge suspicious clients exhibiting extraction, inversion, or adversarial probing patterns without letting attackers trigger false DoS on legitimate users.
Published empirical measurements (5)
- Attack success rate · 9.3%
TAP Tree-of-Attacks with Pruning black-box search. Evaluated on HarmBench Standard split (200 behaviors) with Llama-2-7B-Chat default safety prompt. Earlier catalog numerator 19/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Llama-2-7B-Chat
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Attack success rate · 1.3%
TAP Tree-of-Attacks with Pruning. Evaluated via closed black-box API on HarmBench Standard split (200 behaviors); white-box gradient methods are excluded. Earlier catalog numerator 3/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Claude 2
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Attack success rate · 2%
TAP Tree-of-Attacks with Pruning. Historical 2023-06-13 checkpoint evaluated on HarmBench Standard split (200 behaviors); does not represent later GPT-4o or GPT-5/6 routes. Earlier catalog numerator 4/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4 (0613)
- Evaluation
- HarmBench Standard Behaviors (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Mitigation effectiveness · 98.7%
Derived resistance complement (100% - published ASR) on HarmBench Standard split (200 behaviors). Earlier catalog numerator 197/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- Claude 2
- Evaluation
- HarmBench Standard Behaviors — Resistance Rate (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (100% - Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
- Mitigation effectiveness · 98%
Derived resistance complement (100% - published ASR) on HarmBench Standard split (200 behaviors). Earlier catalog numerator 196/200 was reconstructed from the published rounded percentage. The displayed rate is source-reported. No count-based interval or rank is available.
- Model
- GPT-4 (0613)
- Evaluation
- HarmBench Standard Behaviors — Resistance Rate (200 behaviors)
- Defense
- Baseline model
- Reported
- Sample
- 200
- Source and location
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) · Main Evaluation Table (100% - Standard Behaviors ASR %, N=200)
- Evidence provenance
- Independently replicated
Related technique records
Documented incidents & exercises (1)
- Tree of Attacks with Pruning (TAP) Automated Jailbreak Study OBS.EX0006 · Exercise · Dec 4, 2023 · Frontier LLMs & Guardrail Models · Tree-Search Black-Box Red Teaming
Mehrotra et al. (2023) introduced Tree of Attacks with Pruning (TAP), employing branching attacker-LLM exploration and an off-topic evaluator to prune unpromising branches before querying victim models. Empirical testing showed TAP elicited policy-violating outputs on over 80%…
Source citation records
- Tree of Attacks: Jailbreaking Black-Box LLMs Automatically · arXiv (author preprint; peer-review status not inferred) ·
- HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal · arXiv (author preprint; peer-review status not inferred) ·
Common questions
- What is LLM Jailbreak: TAP (published research family) (ATO.TB9D5CCD5)?
- Tree of Attacks with Pruning (TAP; Mehrotra et al., 2023) advances black-box automated jailbreak discovery by organizing prompt mutations into a breadth-first search tree. An auxiliary evaluator prunes off-topic or weak branches prior to querying the target API, reducing target query counts while discovering effective semantic bypasses.
- How do you mitigate LLM Jailbreak: TAP (published research family)?
- MITRE ATLAS maps 6 mitigations to ATO.TB9D5CCD5: Limit AI Service Query Volume and Rate, Validate AI Model, Generative AI Guardrails, Generative AI Guidelines, AI Red Team, and Adaptive AI Response Degradation. Benchmark guardrail stacks against tree-search automated red-teaming (TAP) alongside PAIR and static datasets (`AML.M0035`, `AML.M0008`).