← All entries
Paper2026#1375

Understanding and Enhancing Backdoor Persistency in LLM Agent Post-Training

Summary

Supply-chain threat for LLM agents built from third-party models via benign post-training: a backdoored model (comment trigger `# |TEST MODE|` → credential-exfiltrating tool command) is adapted through the developer's SFT and task-level RL. On SWE-agent coding models (Qwen2.5-Coder 3B/7B, Qwen3-Coder-30B), benign SFT (3,000 updates) cuts attack success from 100% to 8%/20%/7%, but subsequent GRPO (150 steps) preserves the residual in every setting and increases it in some (30B first-position 6%→12%). Analysis attributes SFT survival to two factors: backdoor strength and gradient compatibility with benign updates. PersistBD refines the backdoored model pre-release with a single merged LoRA adapter optimizing a joint objective (backdoor strength + compatibility surrogate from disjoint benign data + benign anchor), flipping compatibility from negative to positive at all scales: 7B post-SFT ASR 20%→74%, post-RL 20%→76%; 3B 8%→21% / 7%→22%; 30B 7%→37% / 8%→36% — while keeping benign SWE-bench Lite resolved rates comparable to the base backdoor (7B: 23/300 vs 20/300 after SFT, 27/300 both after RL). Ablations show both strength and compatibility terms are necessary; dropping them produces unselective backdoors (false-trigger rate 0.87–0.99) that erase within one benign epoch. Conclusion: backdoors survive benign SFT–RL pipelines and adversaries can deliberately harden them; motivates inherited-backdoor detection and mitigation. Limitations: SWE tasks and one scaffold only; fixed attack target; attacker knows the domain/scaffold; results depend on the evaluated training procedures and budgets.

Venue
arXiv:2610.07510 (cs.CR) / Findings of EMNLP 2026
Source
arxiv
Access
free
Language
en
Added
Oct 14, 2026
Verified
Oct 14, 2026
Found via
#direct

Research notes

  • Discovery: Hudson shared the bare arXiv link directly, 2026-10-14. Security paper — handled as a defensive-adjacent finding; summary sticks to the paper's reported results and its own stated motivation (detection/mitigation); method described only at the paper's published level of abstraction. Relevance: (1) his agent app + coding-agent post-training — adapting third-party base models is directly his supply-chain threat model; (2) the SFT-vs-RL finding — benign RL preserves or *increases* backdoor persistence — is a post-training-design result relevant to his RL pipelines (queued #23 Modal mixed-hardware RL, #31 AutoEnvScaling self-play); (3) connects to catalog ID 1529 (apex-flash-1 security model) and the agent-security line. Caveats: authors' own numbers only; attacker assumes domain+scaffold knowledge; no defense experiments. Cluster: agent backdoors (Malice in Agentland arXiv:2510.05159), backdoor robustness (Sleeper Agents, P-Trojan), post-training safety.
  • License: CC BY 4.0 (arXiv). Code public: https://github.com/uiuc-kang-lab/PersistBD. Backdoored weights NOT released; built backdoor dataset gated on HF.

Similar entries