Weight-Space Backdoors in Open-Weight LLMs: Cross-Architecture Attacks and Blind Model Forensics
Abstract
Open-weight language models are vulnerable to trigger-conditioned behaviors introduced through sparse post-training weight modifications, creating supply-chain risks beyond conventional provenance checks. We present Neural Sentinel, a cross-architecture study of gradient-guided backdoor insertion and model forensics spanning 18 checkpoints across 14 architecture families (124M-31.3B parameters), including state-space and recurrent models. On Phi-2, modifying approximately 0.0002% of parameters induced an exact short-marker output after 300 steps (332 seconds), with mean next-token KL divergence of and 100% top-1 agreement over evaluated positions of eight fixed reference prompts. Separate experiments produced structured tool-call-formatted outputs without establishing downstream execution. We identify three procedure-dependent response regimes -- Gradient-Permeable, Scale-Threshold, and Gradient-Fragmented -- and evaluate PPO-based weight-space exploration, which showed no statistically significant advantage over random search. For defense, Neural Sentinel combines weight-difference analysis, trigger discovery, activation probing, and contextual output inspection. In a 22-artifact development cohort, its reference-optional scanner classified 4/5 backdoored artifacts as BACKDOORED; the remaining positive and all 17 clean artifacts were SUSPICIOUS. These findings establish the feasibility of sparse conditional-output insertion and evidence-producing forensic triage, while identifying limitations in behavioral-drift assessment and clean-model admission.
Create a lesson
Related papers
Cleave: Severing Guardrails and Auditing Spectral Coupling in Open-Weight LLMs
Shared title terminology · Feng Huang, Qiang Huang, Yue Gao et al.
TrojanMaxxing: One-shotting VLM Backdoors with Weight-Space Programming
Shared title terminology · Ahaan Dabholkar, Harshvardhan Patel, Michalis Polychronakis et al.
Persistent Jailbreak Backdoor Attack
Shared title terminology · Haichuan Zhang, Xinyu Sun, Shih-Chieh Dai et al.
SoK: Splitting the Trigger or Adding Attackers? Disentangling Distributed Backdoor Attacks in Federated Learning
Shared title terminology · Zhuotao Lian, Qingkui Zeng, Weiyu Wang
Cross-Boundary Vulnerability Management for SDVs: A Traceability Architecture at the ISO/SAE 21434 and EU Cyber Resilience Act Interface
Shared title terminology · Krishna Teja Medam
Autonomous Parameter Surgery: How LLMs Implant Selective Backdoors into Language Models
Shared title terminology · Xuyang Liu, Zhiwei Xu, Zirui Li et al.