acceptodds
Published as a conference paper at NeurIPS 2026

Measuring Safety Alignment Effects in Autonomous Security Agents

Isaac David, Arthur Gervais

Abstract

Autonomous security agents use language models to inspect code, call tools, and test vulnerabilities inside authorized environments. Most safety evaluations ask whether a model refuses harmful single-turn requests. We study a different failure mode: whether safety alignment changes the evidence-grounded behavior of an agent that is already operating in a local sandbox with fixed tools and success checks. We evaluate regular safety-aligned Gemma 4 models and uncensored Gemma 4 derivatives in the same security-agent harness. Each model receives authorized vulnerability-analysis tasks, and each run is scored from saved traces rather than self-reported success. We measure task completion, refusals, unsafe actions, and whether the final artifact is grounded in the relevant files, symbols, and vulnerability evidence. The key finding is that the gap is not mainly visible refusal. The aligned Gemma 4 conditions usually continue working, but their artifacts are less likely to satisfy security-specific evidence checks. The uncensored Gemma 4 condition more often finds the relevant code, identifies reachability, and writes usable security reports. Clear authorization in the prompt does not recover this behavior. At the same time, all conditions fail the hardest proof-of-trigger and patch-verification tasks. These results suggest that safety alignment effects in autonomous security agents cannot be understood only as refusals: they also appear as weaker grounding and less specific defensive evidence. Removing alignment recovers some behavior, but does not make the agent reliable or safe.

Keywords:
Atlanta

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_QhYxOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
2
Read review
Summary

This paper proposed a new benchmark that measures safety alignment effects in autonomous security agents. Instead of directly studying the model's refusal against malicious request, this benchmark studies the safety behavior from a different perspective: how safety training changes the model behavior when being deployed in sandboxed environment for security auditing. Through comparative study across different model families and different alignment effort, the author find that safety training can sometime increase the failure rate even when authorization is granted to the model. Although removing alignment can recover some behavior, this is not the ultimate solution since the agent will become less reliable and safe. The author further argues that autonomous security-agent evaluations should consider multiple dimensions, including success, refusal, unsafe action, evidence grounding etc.

Strengths and weaknesses

Strengths

  1. The evaluation is comprehensive, it encompasses many 5 task classes, with comparisons across different model sizes, families, derivatives (aligned vs uncensored), random seeds. Experiment results are comprehensive with confidence interval reported.
  2. The threat model is clear. The authors detailed threat model in section 3.2
  3. The takeaways are informative, which will be useful for future security-auditing agent analysis

Weaknesses

  1. My biggest contribution for this paper is the novelty, as this is the not the first paper for analyzing the safety behavior for security-auditing agents. One typical example is the defensive refusal bias paper (https://arxiv.org/pdf/2603.01246), in which they also analyzed how safety training will affect the agent's behavior when deployed in cybersecurity environments. Although it mainly focuses on cybersecurity scenarios, and some ablations are different, the high-level takeaways seem pretty similar: clear authorizations leads an even-worse refusal rate for aligned agents, risk assessment for security-auditing agents should not be simplified as a single score.
  2. Some experiment results seems not supporting the claim. For example, for llama3.1-8B and qwen2.5-7b, the aligned model has higher success rate compared with the unaligned version. The authors explained this as the derivatives of these models are worse at following the protocol. But this makes the experiment setting less clean: to disentangle the effects brought by safety training or capability drop. We should have a setting where we ensure all the aligned model and unaligned model that are used for comparison have a similar capability. Otherwise the conclusion will be less convincing.
Questions
  1. For RQ4, compared to which runs do runs that read the expected files and name the relevant files, symbols, issues, and local evidence succeed more often?
Limitations

Yes

Paper formatting concerns

No formatting concerns.

Final justification

Main concerns are addressed, and the author should add a detailed comparison with concurrent work in the camera-ready version.

Reviewer_578iOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper investigates in detail how models perform differently at security-oriented programming tasks depending on whether the models have been "aligned". The investigation examines 4 pairs of models, where each pair consists of an aligned and an unaligned model. The models' performance on security tasks is examined in detail: rather than counting refusals or failures, the investigation looks at the model behavior (e.g., what amount of local context is referenced). The paper concludes that such detailed analysis is necessary to understand model performance on security tasks, as well as that whether a model is aligned does not straightforwardly imply that it will perform worse on security tasks.

Strengths and weaknesses

Strengths:

  • The paper tackles and interesting and important question.

  • At the high level, using 4 pairs of models seems an appropriate approach for assessing the impact of model alignment on security tasks.

  • The conclusion that model performance should be assessed in detail and not just by counting outcomes is compelling and well supported by the evidence.

  • The paper does not try to overfit the results to the hypothesis. The hypothesis is not proved, but the results are nonetheless informative, and are presented objectively and dispassionately, as befits a scientific paper.

Weaknesses:

  • Because paired aligned and non-aligned models were not always available, some aligned models were transformed into unaligned models. This process isn't described in enough detail to understand its impacts on the model. In turn, this understanding is important to be able to assess whether the comparison between aligned and unaligned models is fair. If the unaligned models are not in fact unaligned or are changed in many ways other than alignment then the investigation of the impact of alignment would be compromised.

  • Although 30 security tasks are used to test the models, it seems possible that the results were influenced by the specific choice of tasks. It would have been interesting to see whether random variation in the choice of tasks would affect the conclusions.

  • While the paper makes a compelling case that looking at model use outcomes isn't sufficient, it isn't clear how the more detailed examination of different models' behaviors would lead to choosing which model to use for a particular task. This makes the conclusion less actionable.

  • Many variables influence the outcomes, and not all are well enough explained. For example, the controller was updated as a result of pilot experiments, but it is unclear how this was done or whether the update may bias the controller towards or against some models. This puts the validity of the results into question.

Questions

Could you provide more information about the paired models that would support the stance that their main difference is alignment?

Could you provide more information about the controller repair, including to explain why it is not likely to have biased results in favor of some models?

Limitations

The section titled "Discussions, ethics, and limitations" does not discuss limitations or ethics.

However, overall this paper appears to be more transparent and objective than most.

Paper formatting concerns

None.

Final justification

I read the authors' initial response as pushing back against some of my concerns, which reduced my enthusiasm for the paper, although I did not change my score. After further interaction with the authors, I'm more optimistic that a revised version of the paper and accompanying artifacts will address most of my concerns, and my enthusiasm now again matches my score of "accept".

Reviewer_pmUaOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

Paper investigates the effect of safety alignment (or more accurately the abliteration of safety alignment) on code analysis tasks that are safety-adjacent which could be interfered with by the learned safety preferences (i.e. rejecting to perform some tasks because they can be viewed as harmful work such as vulnerability identification). This is an ethical contradiction of sorts: by making models safer, their trainers are making them less useful for (software) safety.

To investigate this, the paper compares the performance of several model pairs (original safety-tuned plus a safety-abliterated) on software vulnerability tasks that require the models to take a few steps towards a vulnerability analysis, with different steps having varied propensity to trigger safety-aligned refusal from a model.

Experiments show that refusal of safety aligned models is not the only problem, they might not refuse but still perform poorly (relative to the abliterated versions). Also, the performance losses are further demonstrated across the analysis task substeps (i.e. not all are affected equally). The final conclusion is a bit mixed in that 1 of the model classes perform better in their abliterated form, but two other classes have the opposite effect (but not as big).

Strengths and weaknesses

Strengths:

  • S1. Multiple model pairs across 3 different families; (good (experimental) quality).

  • S2. Initially counter-intuitive problem which requires study and wider community discussion to resolve (good significance).

  • S3. Well-written (good clarity).

Weaknesses:

  • W1. Ideally the paper wants to make a point about alignment fine-tuning but really what is possible to conclude is less about alignment fine-tuning and more about alignment abliteration. That is, we cannot conclude that the effects observed are due to alignment fine-tuning because pre-alignment-finetuned checkpoints are not available (or were not analyzed). Abliterated models are used as proxies for unaligned models but those may be far from what would be expected of pre-aligned ones. Abliteration methods may be responsible for the damage to performance.

    G1. Suggestion: Discuss this limitation and include details of the abliteration methods used in the matched pairs. If there are multiple abliterated versions available for the same model derived using different methods, consider experimenting with them to try to reduce the impact of abliteration method on the sought experimental conclusions.

  • W2. Discussion of "authorized" environments is limited and does not directly address a fundamental issue: a model that is open-weights has no conception of "authorized". A task may be "authorized" in a sense that it is allowed according to a policy but everything necessary to distinguish authorized use and non-authorized use is provided by the model invoker and is an untrusted input. A model is therefore forced to make alignment decisions based on tasks instead of a distinct authorization input. If authorization itself cannot be a trusted input, the outcome seen for Qwen and Llama may be the best model builders can hope for, abliteration makes things worse so users should stick with the original.

    G2. Suggestion: devote a bit more discussion to the trade-off model-builders must do in order to release open-weight models while still preserving some alignment tuning.

  • W3. Numeric results demonstrate small differences and many measures are pinned at 0%. While some results come with confidence intervals, they may be insufficient.

    G3. Suggestion: consider increasing number of experiments, making them easier, or other options to increase the "dynamic-range" of the experimental results.

Smaller things:

  • Many grammar issues in the paragraph starting line 248.
Questions

Q1. Are pre-alignment-fine-tuned models available?

Q2. What abliteration methods were used on the paired models and are those methods tunable in terms of strength that could have impact on the safety-adjacent task performance?

Q3. Did any runs result in intentional sandboxing violations (as described in 3.2, first paragraph)? What is the purpose of this check if not? Seems orthogonal to the problem at hand.

Q4. Why was the "authorized" condition tested only with Gemma 31B?

Limitations

L1. See first suggestion to weakness W1.

Paper formatting concerns

None

Final justification

Was positive. The related prior work concern of another reviewer was addressed by rebuttal so no reason to lower score.

Comments on the paper

1 comment
Meta-review

The paper studies how safety alignment affects autonomous security agents operating in a local, authorized, sandboxed environment, rather than in single-turn refusal settings. The authors build a 30-task benchmark across five task classes with deterministic success predicates and per-run evidence-grounding metrics scored from saved traces, and evaluate four aligned versus less-restricted model pairs (Gemma 4 31B/26B, Qwen2.5-Coder 7B, Llama 3.1 8B) over 1,500 traces. The central finding is that the alignment effect is not primarily visible refusal: within the Gemma pairs the aligned models keep working but produce less-grounded artifacts, while cross-family the pattern does not hold, and all conditions fail the hardest proof-of-trigger and patch-verification tasks.

Reviewers found the problem important and counter-intuitive (pmUa, 578i, QhYx). The evaluation is well instrumented: multiple model pairs and families, deterministic trace-based scoring, evidence-grounding metrics beyond outcome counting, sanity and coding controls, and appropriate paired statistics. Two reviewers emphasized that the paper is unusually transparent and does not overfit to its hypothesis, reporting the cross-family cases that contradict a simple "less-restricted is better" narrative and gating its interpretation behind explicit decision rules (578i, pmUa).

The main weaknesses are shared: abliterated derivatives are imperfect counterfactuals for pre-alignment checkpoints, so the effect cannot be attributed cleanly to alignment fine-tuning (pmUa, 578i); a capability confound makes some cross-family comparisons less clean (QhYx); novelty partially overlaps a concurrent defensive-refusal-bias paper, and several results are small with metrics pinned at 0% (QhYx, pmUa). Crucially, the authors already surface these limitations and frame their derivatives as empirical probes rather than causal claims or deployment endorsements.

Two reviewers recommend acceptance (5, 5) and one is borderline reject (3), the latter driven mainly by novelty overlap and the capability confound rather than methodological error. The core contribution, that security-agent safety must be evaluated at the system level across success, refusal, unsafe action, and grounding rather than by refusal rate alone, is well supported by the released benchmark, deterministic scoring, and honestly reported cross-family results. The weaknesses temper the claims but do not undermine the contribution. I recommend acceptance as a poster.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.