English

SafeRedirect: Defeating Internal Safety Collapse via Task-Completion Redirection in Frontier LLMs

Cryptography and Security 2026-04-24 v1 Artificial Intelligence Machine Learning

Abstract

Internal Safety Collapse (ISC) is a failure mode in which frontier LLMs, when executing legitimate professional tasks whose correct completion structurally requires harmful content, spontaneously generate that content with safety failure rates exceeding 95%. Existing input-level defenses achieve a 100% failure rate against ISC, and standard system prompt defenses provide only partial mitigation. We propose SafeRedirect, a system-level override that defeats ISC by redirecting the model's task-completion drive rather than suppressing it. SafeRedirect grants explicit permission to fail the task, prescribes a deterministic hard-stop output, and instructs the model to preserve harmful placeholders unresolved. Evaluated on seven frontier LLMs across three AI/ML-related ISC task types in the single-turn setting, SafeRedirect reduces average unsafe generation rates from 71.2% to 8.0%, compared to 55.0% for the strongest viable baseline. Multi-model ablation reveals that failure permission and condition specificity are universally critical, while the importance of other components varies across models. Cross-attack evaluation confirms state-of-the-art defense against ISC with generalization performance at least on par with the baseline on other attack families. Code is available at https://github.com/fzjcdt/SafeRedirect.

Keywords

Cite

@article{arxiv.2604.20930,
  title  = {SafeRedirect: Defeating Internal Safety Collapse via Task-Completion Redirection in Frontier LLMs},
  author = {Chao Pan and Yu Wu and Xin Yao},
  journal= {arXiv preprint arXiv:2604.20930},
  year   = {2026}
}

Comments

13 pages, 4 figures, 3 tables. Code: https://github.com/fzjcdt/SafeRedirect

R2 v1 2026-07-01T12:31:09.336Z