mlsanityData to 14 Oct 2026

Towards Safeguarding LLM Fine-tuning APIs against Cipher Attacks

arXiv 2508.17158 ↗First posted 23 Aug 2025cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Large language model fine-tuning APIs enable widespread model customization, yet pose significant safety risks. Recent work shows that adversaries can exploit access to these APIs to bypass model safety mechanisms by encoding harmful content in seemingly harmless fine-tuning data, evading both human monitoring and standard content filters. We formalize the fine-tuning API defense problem, and introduce the Cipher Fine-tuning Robustness benchmark (CIFR), a benchmark for evaluating defense strategies' ability to retain model safety in the face of cipher-enabled attackers while achieving the desired level of fine-tuning functionality. We include diverse cipher encodings and families, with some kept exclusively in the test set to evaluate for generalization across unseen ciphers and cipher families. We then evaluate different defenses on the benchmark and train probe monitors on model internal activations from multiple fine-tunes. We show that probe monitors achieve over 99% detection accuracy, generalize to unseen cipher variants and families, and compare favorably to state-of-the-art monitoring approaches. We open-source CIFR and the code to reproduce our experiments to facilitate further research in this critical area. Code and data are available online https://github.com/JackYoustra/safe-finetuning-api

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 33 of its 47 references that are in the map. First posted on arXiv 23 Aug 2025.

Builds on

33 of 47 references.

References · 33

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  6. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  7. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  8. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  9. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  10. 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
  11. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
  12. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 423
21 more
  1. 2024A StrongREJECT for Empty Jailbreakscited by 385
  2. 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
  3. 2023Shadow Alignment: The Ease of Subverting Safely-Aligned Language Modelscited by 297
  4. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 231
  5. 2023Removing RLHF Protections in GPT-4 via Fine-Tuningcited by 171
  6. 2024Tamper-Resistant Safeguards for Open-Weight LLMscited by 138
  7. 2024Safe LoRA: the Silver Lining of Reducing Safety Risks when Fine-tuning Large Language Modelscited by 125
  8. 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safetycited by 118
  9. 2024Representation Noising: A Defence Mechanism Against Harmful Finetuningcited by 96
  10. 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 90
  11. 2024Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptationcited by 80
  12. 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curationcited by 44
  13. 2024A safety realignment framework via subspace-oriented model fusion for large language modelscited by 41
  14. 2023BadLlama: cheaply removing safety fine-tuning from Llama 2-Chat 13Bcited by 36
  15. 2024Safety-Aware Fine-Tuning of Large Language Modelscited by 34
  16. 2024Mitigating Fine-tuning based Jailbreak Attack with Backdoor Enhanced Safety Alignmentcited by 31
  17. 2023Exploiting Novel GPT-4 APIscited by 28
  18. 2024ProteinBench: A Holistic Evaluation of Protein Foundation Modelscited by 25
  19. 2024A Fine-tuning Dataset and Benchmark for Large Language Models for Protein Understandingcited by 19
  20. 2024Endless Jailbreaks with Bijection Learningcited by 19
  21. 2025Fundamental Limitations in Pointwise Defences of LLM Finetuning APIscited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 9.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Security in the Fine-Tuning Lifecycle of Large Language Models: Threats, Defenses,Evaluation, and Future Directions
  2. 2025Should LLM Safety Be More Than Refusing Harmful Instructions?
  3. 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Ciphers
  4. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Security
  5. 2025Fine-Tuning Lowers Safety and Disrupts Evaluation Consistency
  6. 2025SDD: Self-Degraded Defense against Malicious Fine-tuning
  7. 2024Root Defence Strategies: Ensuring Safety of LLM at the Decoding Level
  8. 2025Benchmarking Large Language Models for Cryptanalysis and Side-Channel Vulnerabilities