Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 14c4e79c
Paper published June 1, 2025
Entry analyzed July 14, 2025
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Staged LLM Pipeline Attack

Large language models (LLMs) protected by multi-stage safeguard pipelines (input and output classifiers) are vulnerable to staged adversarial attacks (STACK). STACK exploits weaknesses in individual components…

BibTeX citation

Paper-evaluated models(7)

Claude Opus 4, Gemma 2 9B, GPT-4 Turbo +4 more
  • Claude Opus 4
  • Gemma 2 9B
  • GPT-4 Turbo
  • GPT-4o
  • GPT-5
  • Llama 3 8B Instruct
  • Qwen 3 14B

Description

Large language models (LLMs) protected by multi-stage safeguard pipelines (input and output classifiers) are vulnerable to staged adversarial attacks (STACK). STACK exploits weaknesses in individual components sequentially, combining jailbreaks for each classifier with a jailbreak for the underlying LLM to bypass the entire pipeline. Successful attacks achieve high attack success rates (ASR), even on datasets of particularly harmful queries.

Examples

See arXiv:2506.24068 (opens in a new tab) for detailed examples and attack methodology. The paper demonstrates successful attacks against a pipeline using a few-shot-prompted classifier, achieving a 71% ASR on the ClearHarm dataset. A transfer attack, trained on a proxy pipeline, achieved a 33% ASR on the target pipeline without direct access. Specific examples of adversarial prompts and responses are included in the paper's Appendix.

Impact

Successful exploitation allows malicious actors to bypass LLM safety safeguards, eliciting potentially harmful responses including instructions for creating harmful materials or information on causing catastrophic events. The demonstrated transferability highlights the risk that attacks against publicly available models can be adapted to target proprietary systems.

Affected Systems

LLMs using multi-stage safeguard pipelines, particularly those where the pipeline stage (input classifier, LLM, output classifier) that blocked a query is revealed. The paper explicitly demonstrates frontier attacks against Claude Opus 4 and GPT-5. Systems that rely on publicly available classifier models are also vulnerable to transfer attacks.

Mitigation Steps

  • Avoid revealing which pipeline stage blocked a query in API responses. Make refusal responses consistent regardless of the responsible component.
  • Utilize a defense-in-depth strategy with diverse and robust safeguard models. Develop safeguard models that are distinct from any models that could be easily used as proxies by an attacker. Consider techniques to mitigate the disclosure of intermediate results during pipeline processing (e.g., through timing attacks).
  • Regularly update and retrain safeguard models with expanded datasets, including synthetic data.
  • Employ robust detection methods to identify and mitigate any staged attack attempts.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Both white-box and black-box research contexts are tagged; consult the primary paper for target-specific access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
LLMs using multi-stage safeguard pipelines, particularly those where the pipeline stage (input classifier, LLM, output classifier) that blocked a query is revealed. The paper explicitly demonstrates frontier attacks…

Research Paper

STACK: Adversarial Attacks on LLM Safeguard Pipelines

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2506.24068