cs.AIOct 23, 2026

Do AI-for-Science Agents Preserve Model Safety?

Authors: Michael Yew Chuan Lee, Manya Sriram, N. Benjamin Erichson

Organizations: DSO National Laboratories · UC Berkeley · ICSI and Berkeley Lab

Abstract

AI-for-Science agents are increasingly being used for formulating scientific hypotheses, running autonomous experiments, and interpreting evidence. These agents are constructed by integrating a large language model (LLM) into a domain-specific agent harness, which in turn can improve the LLM's scientific capability and enable the model to orchestrate scientific tools. In this work, we ask whether model safety is preserved when an LLM is integrated in an AI-for-Science agent harness. We evaluate five agent harnesses on 50 harmful chemistry requests. Specifically, we study how the safety behavior changes under direct prompting, two simple adversarial prompting strategies, and an adaptive attack. Across four recent GPT variants, our results show that the agent harness can increase harmful compliance even under direct prompting. More critically, we find that adaptive attacks that are largely unsuccessful against the base LLM suddenly become highly successful after the agent harness is introduced. Our results show that the safety behavior of the base LLM is not durable once a harness is introduced. Thus, as AI-for-Science agents become more capable and autonomous, the community needs to evaluate and align the agent using domain-specific safety benchmarks.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Toward Reliable, Safe, and Secure LLMs for Scientific Applications

    Mar 18, 2026Saket Sanjeev Chaturvedi, Joshua Bergerson, Tanwi MallickLLM SafetyAI Agent Safety

  2. SciRisk-Bench: A Risk-Dimension-Aware Benchmark for AI4Science Safety

    Jun 17, 2026Linghao Feng, Yinqian Sun, Dongqi Liang +8LLM Safety BenchmarksAI for Science

  3. SafeSci: Safety Evaluation of Large Language Models in Science Domains and Beyond

    Mar 2, 2026Xiangyang Zhu, Yuan Tian, Qi Jia +14LLM SafetyLLM Safety Evaluation