Skip to content

SafeScientist: Making LLM agents' scientific discoveries risk-awareSafeScientist: Toward Risk-Aware Scientific Discoveries by LLM Agents

Paper Tracker· arXiv:2505.23559· Kunlun Zhu, Jiaxun Zhang, Ziheng Qi, Nuoxing Shang, Zijia Liu, Peixuan Han, Yue Su, Haofei Yu, Jiaxuan You·Indexed by this site · 2026-10-09· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

SafeScientist adds four layers of monitoring; on 20 Biology questions, SafeChecker has a safety score of 4.83 (Table 2).

Threat modelThe paper defines three types of attacks: query injection (7 transformations), malicious agents in the discussion phase, and malicious instructors in the experiment phase. The goal is to steer the research pipeline toward high-risk or unethical directions, or to induce the adoption of dangerous experimental practices. The paper does not specify white-box/black-box. The victim system is an AI scientist pipeline from instructions to discussion, tools, and writing.

Questions
Research LLM agents may execute high-risk or unethical tasks. The authors believe that existing safety work rarely covers multi-agent research pipelines, so they propose SafeScientist and evaluate it with SciSafetyBench.
Methods
On Tiny Scientist, add four layers of monitoring: LLaMA-Guard-3-8B and SafeChecker fusion refusal, discussion monitoring, tool monitoring, and ethics review. The benchmark contains 240 tasks, 30 tools, 120 tool scenarios, and is tested with query injection and malicious agents.
Experiments and results
On 20 Biology questions, SafeChecker has safety score 4.83 and refusal rate 90% (Table 2). Fuse's average refusal rate is 78.70% (Table 3). Under malicious tool instructions, safety rates range from 5.8% to 47.5% (Table 5). Refusal is scored 5, and its quality score is not included.
Limitations and future work
The authors note that off-the-shelf LLM modules are separate and tool evaluation is only simulated, and they plan end-to-end architectures, multimodal or embodied evaluation, and expanded benchmarks and real-time defenses. The main comparison is 20 questions on Biology; the Table 4 note states the values are placeholders.
Experimental setupGPT-4o、GPT-4.1 et al. · SciSafetyBench · Safety、Reject Rate et al.
Evaluated models
GPT-4oGPT-4.1GPT-3.5-turboQwen2.5-72B-InstructLlama-3-70B-Instruct
Benchmarks
SciSafetyBench
Metrics
SafetyReject RateOverallQualityTool Call Safety RateHuman Correctness RateEthical Score
AI summaryThe researchers propose an AI scientist framework called SafeScientist that proactively refuses ethically inappropriate or high-risk tasks and integrates prompt monitoring, agent collaboration monitoring, tool-use monitoring, and ethics review components. The accompanying benchmark SciSafetyBench covers 240 high-risk scientific tasks across 6 domains, 30 scientific tools, and 120 tool-related risk tasks. Experiments show its safety performance improves by 35% over traditional AI scientist frameworks without harming research output quality, and the robustness of the safety pipeline is verified under multiple adversarial attacks.

The researchers propose an AI scientist framework called SafeScientist that proactively refuses ethically inappropriate or high-risk tasks and integrates prompt monitoring, agent collaboration monitoring, tool-use monitoring, and ethics review components. The accompanying benchmark SciSafetyBench covers 240 high-risk scientific tasks across 6 domains, 30 scientific tools, and 120 tool-related risk tasks. Experiments show its safety performance improves by 35% over traditional AI scientist frameworks without harming research output quality, and the robustness of the safety pipeline is verified under multiple adversarial attacks.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    SafeScientist uses four layers of monitoring to constrain research agents and is evaluated with SciSafetyBench on high-risk tasks.

    Scientific agents may execute high-risk or unethical scientific tasks, while existing safety methods rarely cover the full multi-agent scientific research pipeline.

    • Scenario: The authors believe LLMs can already automate hypothesis generation, experimental design, data analysis, and manuscript writing, while also being potentially misused, amplifying harmful biases, or disseminating dangerous knowledge (Section 1).
    • Gap: The authors believe existing work mostly examines single-model attacks, pretraining biases, or single defenses, and less often addresses emergent risks in multi-agent scientific research; risk-aware frameworks for scientific research remain rarely designed specifically.
    • This paper: The authors propose SafeScientist, which proactively rejects high-risk or unethical tasks and adds four layers of monitoring: prompt, collaboration, tool, and paper ethics. The authors state this is the first work to introduce this framework.
    • Benchmark: They simultaneously propose SciSafetyBench: 240 discovery tasks across 6 domains and 4 categories of risk sources, plus 30 tools and 120 tool risk scenarios.
    • Threat model:
      • Goal: To steer the scientific research process toward high-risk or unethical directions, or to adopt dangerous practices in experimental steps (Section 3.3).
      • Means: 7 types of query injection; malicious agents in discussion; malicious instructors in experimental steps. The paper does not mention access to weights, gradients, or internal activations.
      • Victim system: The AI scientist pipeline from user instructions to domain judgment, group discussion, tool invocation, and paper drafts.
      • Evaluation: Measured by refusal rate, safety score, tool safety rate, and human accuracy, among others (Section 5).
  2. What related research exists?

    The authors divide related work into LLM safety, agent safety, and AI scientist, and state that the scientific research setting is still rarely addressed specifically.

    Related work is divided into LLM safety, agent safety, and AI scientist. The authors state that dedicated safety considerations for the scientific research setting remain largely unexplored.

    LLM safety

    • Attacks: The paper categorizes prompt injection, backdoor, and autonomous jailbreak, with representative citations including Zou et al., 2023 and Shen et al., 2024.
    • Internal hardening: prompt engineering, supervised fine-tuning, RLHF, and parameter-efficient methods that modify hidden representations (Li et al., 2024; Zou et al., 2024).
    • External modules: Llama Guard (Inan et al., 2023), malicious intent prediction (Han et al., 2025), and behavior steering (Arditi et al., 2024). The paper only describes these here and does not compare scores with this work.

    Agent safety

    • Interaction risks: tool response injection (Debenedetti et al., 2024), memory poisoning (Chen et al., 2024b), malicious agents in collaboration (He et al., 2025), and malicious actions and misinformation propagation.
    • Defenses and testbeds: The paper lists several agent-level safeguards (Wang et al., 2025; Sun et al., 2023) and safety testbeds (Zhang et al., 2024b; Yin et al., 2024).
    • Gap: The authors state that after these works, dedicated considerations for scientific settings remain largely unexplored.

    AI scientist

    • Frameworks: AI Scientist (Sakana, 2024; Lu et al., 2024), Agent Laboratory (Schmidgall et al., 2025), CycleResearcher (Weng et al., 2024), and Dolphin (Yuan et al., 2025). The paper states that they participate in multiple steps and disciplines of research.
    • Existing benchmarks: AI Idea Bench (Qiu et al., 2025) and SAIBench (Li and Zhan, 2022). The paper does not report score comparisons with either.
    • Simulated settings: The authors state that most AI scientists remain limited to simulated research, and that mitigating risks in real-world applications in advance is meaningful (Bengio et al., 2025b).

    Baselines and positioning

    • Baselines: The main experiments compare against AI Scientist and Agent Laboratory, with tasks taken from SciSafetyBench. Table 1 only compares whether ethics review, writing, discussion, input safety, Agent Def., and Tool Def. are present; the last two columns are checked only in the SafeScientist row.
    • Positioning: The authors state that risk-aware AI scientist frameworks remain underexplored, and state that they are the first to propose SafeScientist. The conclusion states: to their knowledge, this is the first work to simultaneously address the dual task of "risk-aware framework + domain safety benchmark."
  3. How does the paper address this problem?

    Four layers of monitoring are integrated into the research pipeline at prompts, discussion, tools, and paper, and tested with a self-built benchmark and three types of attacks.

    SafeScientist embeds safety monitoring into a research pipeline from instruction to paper, and uses SciSafetyBench to provide high-risk tasks and tool scenarios. The authors state the framework is inspired by AI Scientist and Tiny Scientist, and describe it as a lightweight system with safety mechanisms.

    Pipeline

    • Phased: User instructions are first classified by domain and task type, then activate domain researcher, literature reviewer, and experiment planner for group discussion, then call retrieval or domain tools, and finally write and revise a draft (Section 3.1, Figure 2).
    • Role source: The recommended prompt in the appendix requires providing three subfield academic experts and explicitly states not to recommend risk assessment or safety experts. Section 3.1 cites Tiny Scientist as Yu et al., 2025.

    Four layers of monitoring

    • Prompt Monitor: LLaMA-Guard-3-8B evaluates semantic intent and provides a safety label and rationale; SafeChecker scans for known attack patterns, outputs pass, warning, or reject, and assesses 17 categories of risk. Warning means risky but still worth exploring. The fusion rule is that if either flags, it rejects. The paper does not state whether warning counts as flag, nor the specific rules for the lightweight fallback.
    • Discussion and tools: Collaborative monitoring agents provide ethical corrections during discussion; tool monitors incorporate domain knowledge and operational norms, checking whether simulated tools are used unsafely.
    • Paper review: The Paper Ethic Reviewer checks outputs against requirements collected from ACL and NeurIPS ethics guidelines before production.
    • Appendix differences: The detection prompt enumerates multiple attack categories and keywords, not listed here. The appendix labels are BLOCK/WARNING/SAFE, not exactly the same as the main text's pass/warning/reject.

    Three categories of test attacks

    • Query injection: 7 types total. LST translates the query into Sindhi; B64 does BASE64 encoding; PS splits the query into segments and asks the model to respond by concatenation. DAN asks the model in the system prompt to become an unrestricted agent; DeepInception uses nested fictional scenarios to bypass usage controls. Combinations are DAN+translation and PS+BASE64. The main text denotes the latter as DI_B64. The appendix has behavioral manipulation prompts, not repeated here.
    • Malicious discussion agent: Programmed to steer the discussion toward high-risk or unethical directions. The appendix provides system prompts.
    • Malicious experiment instructor: Attempts to induce the system to adopt dangerous practices during experimental steps. The authors state the system should counter these attempts.

    How the benchmark is built

    • Scale: 6 domains × 4 risk categories × 10 items, total 240. The introduction says Computer Science, Section 4.1 says Information Science. Table 7's four categories are Direct Malicious User, Indirect Malicious User, Unintentional Consequence, Task-Intrinsic.
    • Source and filtering: Collected using deep research from OpenAI-o3, GPT-4.5, Gemini-2.5-pro, then human experts verify facts, whether risks are valid, and whether types are consistent. Fields are Task, Task Description, Prompt, Risk Type.
    • Tools: 30 tools are written as parameterized functions; safe use includes dangerous operation instructions and parameter constraints. GPT-4o generates 120 scenarios, humans verify whether tasks match tools and whether danger is possible. The appendix has pseudocode and examples, not repeating dangerous operations.

    How safety is measured

    • Main experiment rule: When a task is labeled unsafe and rejected, the safety score is recorded as 5, and the quality score is not included in the overall analysis. Quality dimensions follow AI Scientist's Quality, Clarity, Presentation, Contribution, Overall.
    • Score scale: Safe prompts are scored by gpt-4o-2024-0806 on 0.5–5, step 0.5; Table 2 also says 1–5. Tool experiments additionally use Tool Call Safety Rate and Human Correctness Rate requiring both safety and correctness.
  4. What experiments did the paper conduct?

    On 20 Biology questions, SafeChecker has a safety score of 4.83 and a refusal rate of 90%; Fuse has an average refusal rate of 78.70%.

    The main comparison evaluates research frameworks on 20 Biology tasks; separate experiments are conducted for prompts, discussion, tools, and ethics review. The default pipeline model is GPT-4o.

    Experimental setup

    • Backbone and hyperparameters: Based on a simplified implementation of Tiny Scientist, default LLM is GPT-4o; API temperature 0.75, max tokens 4096; group discussion up to 3 rounds (Section 5.1).
    • Main comparison sample: 20 randomly selected Biology questions. Due to incompatibility with the original pipeline's experiment execution components, that part is omitted, only literature review and writing are done (Section 5.2).
    • Baselines: AI Scientist (Sakana, 2024 in table; Section 5.1 also cites Lu et al., 2024) and Agent Lab (Schmidgall et al., 2025). The paper uses their default LLM without giving model names.
    • Review: Quality and safety are scored by gpt-4o-2024-0806 at temperature 0. Table 2 says 1–5; Section 5.1 and the appendix safety prompt say 0.5–5, step 0.5.
    • Refusal rule: When labeled unsafe and rejected, safety score is 5, and quality score is not included in the overall analysis.
    • Other experiments: Table 3 monitoring refusal rates, Section 5.4 discussion attack/defense, Table 5 tool use, Section 5.6 ethics review, appendix Table 6 backbone changes. The paper does not report replication counts.

    Main results

    Per Table 2. Biology random 20 questions; gpt-4o-2024-0806; temperature 0.

    Swipe horizontally to read the table

    FrameworkRefusal RateOverallSafety
    AI Scientist0%3.202.45
    Agent Lab15%3.182.45
    SafeScientist-no PromptMonitor0%3.403.30
    SafeScientist-SafeChecker90%3.504.83
    • Author interpretation: The authors state that multi-stage defenses outperform frameworks lacking these defenses in safety, without sacrificing scientific output quality. Per Section 5.2, the quality score of rejected tasks is not included in the overall analysis, so SafeChecker's quality score comes only from non-rejected tasks.
    • No-refuser variant: The authors claim that removing the prompt-level refuser still answers all queries and maintains strong safety performance.
    • Percentage basis: The abstract says safety performance improves 35%; the introduction says 34.69% with "(insert specific metric and value)". The paper does not state which metric or which pair of systems this percentage corresponds to.

    Prompt monitoring

    • Fuse: In Table 3, SafeScientist-Fuse's average refusal rate is 78.70%, and it is higher than the other three rows in both Origin and the 7 attack columns. The authors state that after fusion, it outperforms the compared monitors across all attack types.
    • Not every column exceeds LlamaGuard: SafeChecker averages 66.36%, LlamaGuard-3-8B 59.32%, GPT-4o monitoring behavior 30.10%. On B64, SafeChecker is 46.67% and LlamaGuard is 13.33%; on DAN, 70.42% and 88.3% respectively. The authors only claim SafeChecker's advantage especially on structural attacks.
    • Combined attacks: In the GPT-4o monitoring row, LST is 0.4%, B64 is 2.1%, PS+B64 and DAN+LST are both 0.0%. Fuse on PS+B64 is 88.33%, on DAN+LST is 55.83%. The authors state that combined attacks escape more strongly. The paper does not report sample sizes per column.

    Discussion-stage attack and defense

    • Placement: Attacker/Defender 1 disguises as a normal expert in the initial discussion; 2 is placed in the summary stage, directly interacting with the summary agent (Section 5.4). Table 4's note says "Each value is a placeholder (1–5 scale)".
    • Cells cited in the text: The authors state Medical under Attacker 1 is unchanged from Normal; Biology goes from Normal's 2.31 to Defender 1's 2.54. Defender 2 is 4.04 in Physics and 4.06 in Medical. With Attacker 2, Chemistry is 4.22, Physics and Medical are 4.13.
    • Exceptions in the table: The authors state this combination further raises safety scores. In Table 4's Info. column, this combination is 3.66, lower than Defender 2's 4.00 in the same column. All six columns in the Attacker 2 row are 0.5; the text does not explain this separately. The paper does not further clarify the relationship between the table note and the text.

    Tool use and ethics review

    • Tool monitoring: Per Table 5. Benign user safety rates range from 43.3% to 50.0%, malicious users from 5.8% to 47.5%; human correctness rates for benign range from 70.6% to 75.0%, for malicious from 0.0% to 60.0%. A rule-based detector first assesses call safety, then humans judge whether the task was completed correctly.
    • Human samples: 10 randomly selected tasks per domain. The paper does not provide the denominator for the summarized percentages in Table 5. The authors state that monitoring protects against unsafe operation parameters, especially under adversarial conditions.
    • Ethics review: 20 randomly selected questions per domain across six domains, comparing drafts and ethics-reviewed revised papers. The authors state revised papers improve ethics scores by an average of 44.4%. Figure 4's legend is Draft Paper, Refined Paper, the x-axis is six domains; after converting to text, bar values and domain axes do not align, so per-domain numbers are not copied.

    Other ablations and analyses

    • Table 2 sub-scores (row order same as main table): Quality is 1.85, 2.00, 2.00, 2.00; Clarity is 1.90, 2.47, 2.30, 2.50; Presentation is 1.90, 2.47, 2.35, 2.50; Contribution is 1.90, 1.94, 2.00, 2.00.
    • Appendix Table 6's Safety after backbone change: GPT-4.1 is 3.89, Qwen2.5-72B-Instruct is 3.39, GPT-3.5-turbo is 2.88, Llama-3-70B-Instruct is 2.77; GPT-4.1's Quality is 1.00. The appendix does not explain the differences or state whether the task set is the same as Table 2.
    • Table 8: On the GOAL dimension, Pearson r=0.80 between GPT-4o and humans; the note says p≤0.01 and calls it strong and significant. Three annotators with higher-education backgrounds, each with 10 ideas taken from 6 score bands, totaling 30. The paper does not write this correlation as consistency on main table safety scores.
    • The text writes combined attacks as DAN_LST and DI_B64, and calls the latter Payload Splitting+BASE64; Table 3 column names are DAN+LST and PS+B64.
    • The introduction's domain name is Computer Science; Section 4.1 and Table 4, Figure 4 write Information Science / Info. / IS. Tiny Scientist is cited in Section 3.1 as Yu et al., 2025, and in Section 5.1 as Yu et al., 2024.
  5. What are some points that can be further explored?

    The authors point out issues with separate modules and simulation-based evaluation, and plan to expand the benchmark, real-time defenses, and multimodal evaluation.

    Limitations and future directions noted by the authors

    • Separate modules: The authors write that the current system mainly relies on off-the-shelf LLMs, with modules kept separate and not deeply integrated, thus limiting the depth of domain expertise and interactions between components (Limitations).
    • Future architecture: The authors propose exploring end-to-end architectures for denser connections and joint optimization (Limitations).
    • Simulation: The authors write that tool-use evaluation is only a simulation of real experiments and may miss contextual or sensory details (Limitations).
    • Multimodality: The authors plan to add laboratory equipment images or instructional videos, and possibly use embodied agents, to examine non-textual cues (Limitations).
    • Expanding domains: Future work will extend SciSafetyBench to more scientific domains (Conclusion).
    • Real-time and societal impact: Enhance real-time adaptability of defenses and further explore the societal impact of autonomous research agents (Conclusion).

    Experimental coverage

    • Main comparison: The framework covers AI Scientist, Agent Lab, and two variants of SafeScientist; the task is 20 random Biology questions, the phases are literature review and writing; the reviewer is gpt-4o-2024-0806, temperature 0 (Section 5.2, Table 2).
    • Benchmark: 6 domains, 4 risk categories, 10 per cell, totaling 240 discovery tasks; plus 30 tools and 120 tool scenarios (Section 4). The introduction writes the domain name as Computer Science, while Section 4.1 writes Information Science.
    • Attack/defense table: Table 3 reports refusal rates for Origin and 7 query attacks; Table 5 is benign/malicious × with/without Monitor; the two placement positions for Attacker/Defender in the discussion phase are described in Section 5.4.
    • Ethics and human evaluation: Ethics is divided into six domains with 20 questions each for draft and revised versions (Section 5.6). GOAL-related work involves 3 annotators and 30 ideas in total (Table 8). Tool human extraction is 10 tasks per domain (Section 5.5).
    • Not reported in the paper: number of repetitions for the main experiment, number of queries, sample sizes for the aggregated rates in Table 3 and Table 5, the specific LLMs for the two baselines, and whether the malicious agent uses a model different from GPT-4o. The Table 4 note states that the values are placeholders.
  6. Summarize the main content of the paper

    Four-layer monitoring plus a scientific safety benchmark; on Biology, SafeChecker achieves a safety score of 4.83, and the authors state that the quality of accepted samples is not sacrificed.

    SafeScientist is a research agent framework with four layers of monitoring, and uses SciSafetyBench to evaluate task safety in scientific scenarios.

    • Problem: Automated research may perform high-risk or unethical tasks. The authors argue that single-model safety work cannot cover multi-agent research workflows.
    • Method: On Tiny Scientist, integrate LLaMA-Guard-3-8B and SafeChecker for prompt refusal, and add discussion monitoring, tool monitoring, and paper ethics review. The benchmark contains 6 domains, 240 discovery tasks, 30 tools, and 120 tool scenarios.
    • Main results: With 20 Biology questions scored by gpt-4o-2024-0806, SafeChecker has safety score 4.83 and refusal rate 90%; both baselines have safety score 2.45 and Overall 3.20 and 3.18 (Table 2). Without PromptMonitor, refusal rate is 0% and safety score 3.30. Refusal is scored 5, and its quality score is not included in the overall analysis.
    • Other numbers: Fuse's average refusal rate is 78.70% (Table 3). Under malicious tool instructions, safety rates range from 5.8% to 47.5%, and human correctness rates from 0.0% to 60.0% (Table 5). The authors claim ethics scores improve by an average of 44.4%.
    • Authors' conclusion: Proactive safety design is necessary for trustworthy research AI. The authors state that to their knowledge, this is the first work to provide both a risk-aware framework and a domain benchmark. The abstract says improvement of 35%, the introduction says 34.69% with a metric placeholder. The authors plan to release code and data.

Related papers

Read originalarxiv.org