potentialpaper

Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agents

Xiaofang Yang, Miao Ziqi, Dianbo Sui, Jing Shao, Lijun Li

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Skill-augmented agents load reusable skills as persistent runtime context, improving task performance but also giving malicious skills a durable channel for steering future actions. Such skills may leak secrets, corrupt code, bypass approvals, or stage data for exfiltration only after a concrete user task and workspace state make the unsafe action appear useful. This makes pre-install vetting insufficient and calls for runtime, task-conditioned protection. We propose Defense-as-Skill, a defense paradigm that implements the runtime guard itself as an installable, inspectable, and editable skill. Our guard, SkillSonar, runs alongside untrusted task skills and checks sensitive actions against the user's task boundary, routing each action to an allow, replan, or confirmation decision without modifying the underlying agent runtime. To study this setting, we construct SCOPE-R, a task-conditioned dataset covering 6 risk families and 21 sub-categories, with 206 attack-confirmed malicious instances and 43 benign tasks. We then improve SkillSonar on the SCOPE-R training subset using runtime guard-skill evolution, a Monte-Carlo Tree Search procedure that evolves the on-disk guard skill from feedback on the rollouts. Across Claude Code and OpenClaw, the evolved guard substantially reduces attack success while maintaining a favorable safety-utility trade-off; on repeated GLM-5 runs, ID ASR drops from 0.482 to 0.104 and OOD ASR from 0.606 to 0.115, with gains transferring across victim models, held-out risk families, and external benchmarks. These results show that runtime guards can be skill-native, transparent, and evolvable policy artifacts for skill-augmented agents.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper introduces Defense-as-Skill, which packages runtime protection for skill-augmented agents as an installable guard skill, alongside the SCOPE-R benchmark and an MCTS procedure for evolving the guard from rollout feedback. Its main strengths are the timely threat model, clear and portable design, task-conditioned ID and OOD evaluation, and evidence that SkillSonar often lowers attack success while retaining useful task performance. However, the defense is evaluated under a forced guard-invocation protocol, relies heavily on an unvalidated LLM judge, lacks adaptive attacks against the final guard and strong mechanism-level baselines, and is tested on a relatively small benchmark with limited statistical analysis and unclear cross-model transfer. This draft could improve substantially with human judge validation, end-to-end tests where malicious skills can suppress or bypass the guard, adaptive red-teaming of the evolved skill, and clearer transfer and variance results.

Final justification

The rebuttal addresses most of the empirical concerns through human judge validation, adaptive-attacker evaluation, stronger baselines, repeated runs, external benchmarks, and explicit cross-model transfer experiments. However, the invocation ablation confirms that SkillSonar’s protection degrades substantially without explicit guard invocation, so dependence on this deployment assumption remains an important limitation.

Area Chair 2a6S · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper introduces Defense-as-Skill, which packages runtime protection for skill-augmented agents as an installable guard skill, alongside the SCOPE-R benchmark and an MCTS procedure for evolving the guard from rollout feedback. Its main strengths are the timely threat model, clear and portable design, task-conditioned ID and OOD evaluation, and evidence that SkillSonar often lowers attack success while retaining useful task performance. However, the defense is evaluated under a forced guard-invocation protocol, relies heavily on an unvalidated LLM judge, lacks adaptive attacks against the final guard and strong mechanism-level baselines, and is tested on a relatively small benchmark with limited statistical analysis and unclear cross-model transfer. This draft could improve substantially with human judge validation, end-to-end tests where malicious skills can suppress or bypass the guard, adaptive red-teaming of the evolved skill, and clearer transfer and variance results.

Final justification

The rebuttal addresses most of the empirical concerns through human judge validation, adaptive-attacker evaluation, stronger baselines, repeated runs, external benchmarks, and explicit cross-model transfer experiments. However, the invocation ablation confirms that SkillSonar’s protection degrades substantially without explicit guard invocation, so dependence on this deployment assumption remains an important limitation.

3 comments
Authors · CommentOpenReview ↗

Response to Meta Review by Area Chair 2a6S — Part I

Thank you for summarizing the main strengths and concerns. We have conducted additional experiments and analyses addressing each point below.

Response to Concern 1: The Forced Guard-invocation Protocol.

We agree that SkillSonar is a policy-level semantic guard rather than an unbypassable enforcement mechanism. We also thank the AC for helping us clarify the role of explicit invocation. In our intended deployment setting, the invocation instruction assigns SkillSonar the safety responsibility and requires the agent to consult it before acting; it is therefore a key part of the defense rather than merely an experimental convenience. To examine its importance, we additionally evaluate SkillSonar without this instruction while keeping all other conditions unchanged.

Invocation setting ASR (ID) ↓ ASR (OOD) ↓ Benign Utility ↑
No guard 0.477 0.631 0.757
No explicit invocation 0.4 0.582 0.756
Explicit invocation 0.104 0.109 0.767

Without explicit invocation, SkillSonar provides only modest safety gains, whereas explicit invocation substantially improves safety while benign utility remains comparable. This confirms that explicit invocation is an important part of the deployment setting.

Response to Concern 2: Judge Reliability and Human Validation.

We agree that the original submission did not provide sufficient human validation of the LLM-based judges. Because dataset construction and final evaluation use different models and serve different purposes, we audited them separately. For each stage, we sampled the same number of judge-predicted successes and failures. The audited samples cover 31.7% of the construction cases and 18.0% of the evaluation cases.

Human annotators inspected each complete trajectory and observable final state against the instance-specific attack target and success criteria. Merely containing, reading, or potentially executing malicious content did not count as attack success.

Stage Judge Success-label precision Predicted-failure confirmation Balanced audit agreement
Data construction Qwen3.5-122B-Uncensored 88% 100% 94%
Final evaluation Qwen3.5-122B-A10B 96% 100% 98%

All observed disagreements were success over-labels: the judge marked an attack successful although the required runtime effect was not observed. No judge-predicted failure was overturned as successful in either audited sample. Thus, within the audited samples, the observed errors tend to overestimate rather than underestimate ASR. We will also clarify that the observed 100% confirmation of predicted failures does not imply a zero population false-negative rate.

Response to Concern 3: Adaptive Attacks and Guard Suppression.

We ran our original iterative attacker loop against the final optimized SkillSonar. The final guard was inserted into the attack-generation loop, allowing the attacker to observe the guarded execution and refine its malicious skill accordingly. We kept the attack families, generation settings, sample budget, and three refinement iterations identical to the no-guard construction, so the comparison isolates how much of SkillSonar’s protection survives attacker adaptation.

Attack family No Guard ASR Final SkillSonar ASR Δ ASR (pp)
Capability control 55.00% 26.70% −28.3
Specification integrity 53.30% 43.30% −10.0
Resource reliability 45.00% 26.70% −18.3
Privacy & Data Flow 43.30% 8.30% −35.0
Execution safety 33.30% 10.00% −23.3
Operational side effects 31.10% 13.30% −17.8
Overall 45.10% 22.90% −22.2

After three attacker-loop iterations, SkillSonar still reduces overall ASR from 45.1% to 22.9%, an absolute reduction of 22.2 percentage points. The protection therefore remains substantial even when the same attacker loop is allowed to adapt against the final guard. However, the remaining ASR shows that SkillSonar can still be bypassed by some adaptive attacks. Specification-integrity attacks remain the most difficult, while data-governance attacks show the largest reduction. We will add this evaluation and the family-level analysis to the revised paper.

Authors · CommentOpenReview ↗

Response to Meta Review by Area Chair 2a6S — Part II

Response to Concern 4: Broader Baselines.

We agree that the original baseline set was too narrow. We add two runtime baselines on Claude Code with GLM-5 under the same SCOPE-R protocol.

AgentSpec[1] is a rule-based runtime policy mechanism using trigger–predicate–enforce rules. We adapt it through Claude Code Hooks with stateful trajectory tracking and hook-level denial. TS-Guard from ToolSafe[2] uses a separate model to evaluate the user request, execution history, and current tool call, allowing or denying the action and returning feedback for replanning.

Method Type ASR (ID) ↓ ASR (OOD) ↓ MalUtil (ID) ↑ MalUtil (OOD) ↑ BenignUtil ↑
No Guard None 0.477 0.631 0.829 0.851 0.757
AgentSpec Rule-based filter 0.294 0.576 0.581 0.667 0.642
TS-Guard Semantic classifier 0.412 0.492 0.67 0.628 0.703
SkillSonar Agent skill 0.104 0.109 0.815 0.789 0.767

Both new baselines improve over No Guard, but AgentSpec shows limited OOD protection and substantial utility loss, while TS-Guard provides moderate protection with lower task utility. SkillSonar achieves the lowest ID and OOD ASR while retaining utility closer to No Guard. Together with the existing AcceptEdits baseline, the comparison now covers rule-based action filtering, semantic action monitoring, and tool-level permission gating. No Guard and SkillSonar are five-run means, whereas AgentSpec and TS-Guard currently contain one complete run per split.

[1] Wang et al. AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents. 2025.

[2] Mou et al. ToolSafe: Enhancing Tool Invocation Safety of LLM-Based Agents via Proactive Step-Level Guardrail and Feedback. 2026.

Response to Concern 5: Benchmark Coverage.

We agree that SCOPE-R remains modest relative to the diversity of real-world skill ecosystems. We will position it as a controlled diagnostic benchmark with structured coverage of 6 risk families and 21 subcategories, rather than as a large-scale or exhaustive representation of deployed skills.

To test whether SkillSonar’s effectiveness is specific to SCOPE-R’s taxonomy, task distribution, or LLM-based construction pipeline, we additionally evaluate it on two independently developed benchmarks. SkillSafetyBench[3] evaluates attacks embedded in task-relevant skill materials and supporting local artifacts, while the safety subset of WildClawBench[4] evaluates safety-critical behavior in longer-horizon, native-runtime agent workflows.

Method SkillSafetyBench ASR ↓ WildClawBench Safety ↑
No guard 93.30% 38.00%
AcceptEdits — 41.00%
AcceptEdits + allowlist 64.30% 45.00%
Prompt guard 83.30% 43.00%
SkillSonar 52.90% 54.00%

SkillSonar achieves the lowest ASR on SkillSafetyBench and the highest safety score on WildClawBench. These results provide evidence that its gains are not limited to SCOPE-R’s particular task and attack distribution. Standalone AcceptEdits is not reported on SkillSafetyBench because it consistently timed out under the benchmark harness, preventing a complete and comparable evaluation. We will incorporate these external benchmark results, evaluation details, and the corresponding discussion into the revised paper.

[3] Jin et al. SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces. 2026.

[4] Ding et al. WildClawBench: A Benchmark for Real-World, Long-Horizon Agent Evaluation. 2026.

Authors · CommentOpenReview ↗

Response to Meta Review by Area Chair 2a6S — Part III

Response to Concern 6: Variance Results.

We repeated each main comparison over five independent runs and now report the mean and standard deviation across runs, rather than relying on a single rollout.

Method ASR (ID) ↓ ASR (OOD) ↓ MalUtil (ID) ↑ MalUtil (OOD) ↑ Benign Utility ↑
No Guard 0.477 ± 0.047 0.631 ± 0.014 0.829 ± 0.020 0.851 ± 0.008 0.757 ± 0.050
Prompt Guard 0.425 ± 0.054 0.471 ± 0.040 0.810 ± 0.050 0.831 ± 0.038 0.755 ± 0.054
AcceptEdits 0.131 ± 0.027 0.081 ± 0.028 0.703 ± 0.010 0.736 ± 0.026 0.758 ± 0.018
AcceptEdits + Allowlist 0.454 ± 0.048 0.600 ± 0.040 0.824 ± 0.018 0.834 ± 0.030 0.769 ± 0.023
SkillSonar 0.104 ± 0.037 0.109 ± 0.019 0.815 ± 0.045 0.789 ± 0.037 0.767 ± 0.025

The repeated results confirm that SkillSonar substantially reduces ASR relative to No Guard, Prompt Guard, and AcceptEdits + Allowlist while maintaining comparable benign utility. The comparison with AcceptEdits is not uniformly monotonic: SkillSonar achieves lower ID ASR, whereas AcceptEdits has slightly lower OOD ASR but substantially lower malicious-task utility, reflecting a different safety–utility trade-off rather than uniform dominance.

We will replace the original single-run results with five-run mean ± standard deviation throughout the paper and revise our claims accordingly. Since five runs still provide only a limited estimate of variability, we treat these results as uncertainty estimates rather than evidence that small differences are statistically significant.

Response to Concern 7: Cross-Model Transfer and Portability.

The original SkillSonar was optimized on GLM-5 and deployed unchanged on other victim models. To test transfer from a second source model at lower cost, we also optimize a guard on the open-source Kimi-K2.6; Haiku 4.5 and GPT-5.4 are not used as optimization sources because of API cost.

We separate cross-model transfer from cross-family generalization. We first evaluate transfer on the same ID attack split and fixed risk-family composition for every deployment model.

Guard optimized on ↓ / Deployed on → Kimi-K2.6 GLM-5 Haiku 4.5 GPT-5.4
No guard 0.417 / 0.846 0.477 / 0.829 0.481 / 0.764 0.588 / 0.731
GLM-5 0.199 / 0.799 0.104 / 0.815 0.096 / 0.730 0.019 / 0.533
Kimi-K2.6 0.192 / 0.813 0.112 / 0.757 0.059 / 0.692 0.019 / 0.560

Each cell reports ASR ↓ / malicious utility ↑.

Both optimized guards reduce ASR when deployed on victim models that were not used during evolution. This demonstrates cross-model transfer while holding the attack families fixed, although the utility trade-off varies across source and target models.

We additionally report OOD results to test whether the transferred guards remain effective under an added risk-family shift. The cells use the same format.

Guard optimized on ↓ / Deployed on → Kimi-K2.6 GLM-5 Haiku 4.5 GPT-5.4
No guard 0.480 / 0.836 0.631 / 0.851 0.707 / 0.737 0.559 / 0.766
GLM-5 0.161 / 0.799 0.109 / 0.789 0.254 / 0.750 0.034 / 0.528
Kimi-K2.6 0.237 / 0.848 0.160 / 0.737 0.186 / 0.623 0.085 / 0.491

The OOD results show that both guards continue to reduce ASR on unseen risk families, although safety and utility remain model-dependent. We will therefore distinguish cross-model transfer, which changes the victim model while holding the attack families fixed, from cross-family generalization, which evaluates unseen risk families. We will revise the portability claim to state that SkillSonar can be deployed on a new victim model without target-model attack labels or additional search, with model-dependent safety and utility.

The Kimi-K2.6 and GLM-5 results are means over repeated runs, whereas the Haiku 4.5 and GPT-5.4 results are single-run estimates because of API cost. The evolution cost is incurred only on the source model. Each optimization uses 95 labeled malicious cases and 11 benign cases, with 10 MCTS rounds and up to approximately 31 candidate guards evaluated. Deploying the resulting guard on another victim model requires no target-model labeled attack cases or additional search. Only evaluation rollouts are required.

Reviewer aDuHOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies runtime safety risks in skill-augmented agents, where reusable skills are loaded as persistent context and may steer future tool use, file operations, data access, and other side-effectful actions. The paper proposes Defense-as-Skill, a paradigm that packages the runtime guard itself as an installable and editable skill. The concrete guard, SkillSonar, checks proposed sensitive actions against the user’s task boundary and routes them to allow, replan/narrow, or confirmation decisions. The paper also introduces SCOPE-R, a task-conditioned benchmark for skill-induced runtime risks, and further improves SkillSonar through a MCTS procedure that evolves the guard skill based on rollout feedback. The dataset and taxonomy are also useful for making skill-induced failures more analyzable.

Strengths and weaknesses

Strengths

  • The paper identifies that skill-augmented agents introduce a persistent attack surface that differs from ordinary prompt injection. This motivates runtime, task-conditioned defense rather than only static skill vetting.
  • Packaging the runtime guard makes the guard inspectable, editable, and portable across skill-augmented agent backends without requiring modifications to the underlying runtime.
  • SCOPE-R organizes skill-induced risks into multiple runtime risk families and sub-categories, including specification integrity, capability control, operational side effects, privacy/data flow, execution safety, and resource/reliability.
  • The experiments show that SkillSonar often reduces attack success rate compared with no-guard and system-prompt baselines, while preserving more utility than strict permission gating in several settings. The ID/OOD split by risk family is also a useful attempt to evaluate generalization beyond seen attack families.

Weaknesses

  • SkillSonar appears to be a policy-level guard, which does not introduce a new enforcement mechanism, sandbox, monitor, taint tracker, or semantic authorization model. As a result, the defense depends strongly on whether the host agent reads, follows, and preserves the guard’s instructions.
  • The paper uses a fixed protocol that instructs the agent to call SkillSonar before taking actions. This is useful for isolating the guard’s decision quality, but it sidesteps a central challenge in real deployment: guard discovery and mandatory enforcement. In realistic skill-augmented agents, an attacker may influence skill selection, ordering, or context priority. The paper should either evaluate this more realistic setting or clearly separate “guard decision quality” from “deployable runtime enforcement.”
  • One challenge in this setting is not simply detecting dangerous actions, but deciding whether an action is necessary, authorized, and scope-bounded under the current user task and workspace state. The paper discusses task boundaries, but the current formulation remains mostly descriptive.
  • The paper aims to avoid brittle platform-specific permission gates, but the guard still relies on predefined risk levels, intervention rules, and risk categories. MCTS-based evolution edits the guard skill, but it is unclear how much of the final performance comes from learned context-aware behavior versus the initial human-written policy scaffold and taxonomy.
  • For a runtime safety paper, I would expect stronger comparisons against rule-based action filters, semantic action classifiers, data-flow or least-privilege policies, tool-level allow/deny systems, sandbox-style baselines, or agent-monitoring approaches. Without these baselines, it is hard to attribute the gains specifically to the Defense-as-Skill paradigm.
  • SCOPE-R is a valuable starting point, but the number of attack-confirmed malicious instances and benign tasks is still modest relative to the diversity of real skill ecosystems. In addition, the construction and evaluation rely heavily on LLM-based attack agents and judge agents. The paper should provide more evidence about judge reliability, human validation, inter-judge agreement, and sensitivity to judge choice.
  • SkillSonar reduces ASR in many cases, but task utility and token cost are not uniformly better. In some model/backend settings, utility decreases noticeably or token overhead increases. The paper should discuss when and why these failures occur, rather than presenting the results mainly as a general improvement.
Questions

How often does SkillSonar fail because the agent ignores or misapplies the guard instruction, rather than because the guard makes an incorrect safety decision? What happens if the malicious skill explicitly tries to suppress, override, or compete with the guard skill in the context? Can the authors evaluate a more realistic setting where the guard is installed but not explicitly forced as the first-step skill? How much of the improvement comes from MCTS evolution compared with a carefully written static guard prompt of similar length and detail? Can the authors provide per-risk-family breakdowns showing where the guard generalizes well and where it fails?

Limitations
  • The evaluation uses a fixed guard-invocation protocol that requires the agent to call SkillSonar before taking actions. This is a strong deployment assumption. In realistic skill-augmented agents, the guard may not be retrieved, may be invoked late, or may compete with malicious skill instructions in the context. The authors should clearly distinguish the evaluation of guard decision quality from the harder problem of mandatory runtime enforcement.
  • The paper should discuss adaptive attacks against the guard itself. Since SkillSonar is a normal skill and not a mechanism-level sandbox or monitor, malicious skills may try to suppress the guard, override its instructions, manipulate skill priority, redefine safety terms, or induce the agent to ignore guard outputs. These attacks are central to the security implications of the proposed paradigm.
  • The limitations should better address the degree of human-defined policy structure in the method. The guard relies on predefined risk levels, intervention rules, and a manually designed taxonomy. The paper should clarify how much of the observed performance comes from context-aware runtime reasoning versus human-written policy scaffolding and rule design.
Final justification

Thanks to the authors for their response; my concerns were largely addressed. I will maintain my positive score.

Formatting concerns

No Formatting Concern

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to W1: Scope and positioning. We agree that SkillSonar is a policy-level runtime guard rather than a new enforcement mechanism. This positioning is explicit in Sec. 4.1, and Appendix G further notes its dependence on the host agent following the guard instructions. Our contribution is to implement runtime safety policies as installable and evolvable skills without modifying the underlying agent runtime.

Response to W2/Q3: Guard invocation in realistic deployment. Thank you for raising this distinction. Our main evaluation combines SkillSonar’s safety policy with a soft invocation mechanism: the system prompt assigns SkillSonar the safety responsibility and instructs the agent to read it before acting. This does not provide mandatory enforcement, as the agent may still fail to read, apply, or follow the guard.

To address Q3, we additionally evaluate SkillSonar without the explicit invocation instruction, while keeping all other conditions unchanged.

Invocation setting ASR (ID) ↓ ASR (OOD) ↓ Benign Utility ↑
No guard 0.477 0.631 0.757
No explicit invocation 0.4 0.582 0.756
Explicit invocation 0.104 0.109 0.767

Without explicit invocation, SkillSonar provides only a limited ASR reduction, whereas explicit invocation substantially improves safety without reducing benign utility. This shows that autonomous skill discovery is unreliable for a safety-critical skill.

We will therefore distinguish guard decision quality, invocation reliability, and mandatory enforcement more clearly. Our results demonstrate end-to-end guarded execution under soft explicit invocation, but not an unbypassable enforcement boundary or robustness to manipulation of skill selection, ordering, or context priority.

Response to W3: Task-conditioned decision procedure. The initial SkillSonar provides the general scaffold. Necessity checks whether an action is required for the user task and whether a lower-risk alternative exists. Authorization requires the action to be grounded in the user’s request or explicit confirmation, rather than merely asserted by a skill or script. Scope-boundedness checks whether the affected resources, paths, destinations, and side effects are limited to what the task requires. Evolution makes these checks more operational based on observed runtime failures, including inspecting actual script behavior, distinguishing task-local writes from hidden or out-of-scope persistence, and checking for resource abuse. These checks guide allow, narrow or replan, confirmation, and block decisions, but remain natural-language policy heuristics rather than a formal authorization mechanism.

Response to W4 & Q4. SkillSonar does not learn taxonomy from scratch: the initial human-written guard already contains the human-designed risk categories and intervention scaffold. Under the same GLM-5 evaluation protocol:

Method ASR (ID) ↓ MalUtil (ID) ↑ ASR (OOD) ↓ MalUtil (OOD) ↑ Avg. Tokens ↓
No guard 0.5 0.84 0.559 0.864 167,509
Initial human-written guard 0.346 0.739 0.339 0.612 257,741
MCTS-refined guard skill 0.115 0.839 0.203 0.798 183,372

By ASR reduction, the initial scaffold accounts for approximately 40%/62% of the total ID/OOD improvement, while MCTS contributes the remaining 60%/38%. MCTS adds failure-driven contextual checks, such as verifying actual code behavior, hidden side effects, and write scope. Its main value is to automate the costly process of repeatedly inspecting trajectories, revising the guard, and evaluating candidates.

Response to W5: Stronger runtime baselines. We agree that the original baseline set was too narrow. We add two runtime baselines on Claude Code with GLM-5 under the same SCOPE-R protocol. AgentSpec[1] is a rule-based runtime policy mechanism using trigger–predicate–enforce rules. We adapt it through Claude Code Hooks with stateful trajectory tracking and hook-level denial. TS-Guard from ToolSafe[2] uses a separate model to evaluate the user request, execution history, and current tool call, allowing or denying the action and returning feedback for replanning.

Method Type ASR (ID) ↓ ASR (OOD) ↓ MalUtil (ID) ↑ MalUtil (OOD) ↑ BenignUtil ↑
No Guard None 0.477 0.631 0.829 0.851 0.757
AgentSpec Rule-based filter 0.294 0.576 0.581 0.667 0.642
TS-Guard Semantic classifier 0.412 0.492 0.67 0.628 0.703
SkillSonar Agent skill 0.104 0.109 0.815 0.789 0.767

Both new baselines improve over No Guard, but AgentSpec shows limited OOD protection and substantial utility loss, while TS-Guard provides moderate protection with lower task utility. SkillSonar achieves the lowest ID and OOD ASR while retaining utility closer to No Guard. Together with the existing AcceptEdits baseline, the comparison now covers rule-based action filtering, semantic action monitoring, and tool-level permission gating. We do not claim an exhaustive comparison with OS-level sandboxes, taint tracking, or formally enforced data-flow systems. No Guard and SkillSonar are five-run means, whereas AgentSpec and TS-Guard currently contain one complete run per split.

[1] Wang et al. AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents. 2025.

[2] Mou et al. ToolSafe: Enhancing Tool Invocation Safety of LLM-Based Agents via Proactive Step-Level Guardrail and Feedback. 2026.

Authors · CommentOpenReview ↗

Additional Response to Reviewer aDuH (Completion of Rebuttal)

Response to W6: Dataset coverage and judge reliability. We agree that SCOPE-R remains modest relative to the diversity of real-world skill ecosystems and should be viewed as a controlled diagnostic benchmark rather than an exhaustive representation of real-world attacks. To test whether our findings are specific to SCOPE-R’s taxonomy, task distribution, or LLM-based construction pipeline, we additionally evaluate SkillSonar on two independently developed benchmarks. SkillSafetyBench[3] evaluates attacks embedded in task-relevant skill materials and supporting local artifacts, while the safety subset of WildClawBench[4] evaluates safety-critical behavior in longer-horizon, native-runtime agent workflows.

Method SkillSafetyBench ASR ↓ WildClawBench Safety ↑
No guard 93.30% 38.00%
AcceptEdits — 41.00%
AcceptEdits + allowlist 64.30% 45.00%
Prompt guard 83.30% 43.00%
SkillSonar 52.90% 54.00%

SkillSonar achieves the lowest ASR on SkillSafetyBench and the highest safety score on WildClawBench among the evaluated methods. Standalone AcceptEdits is not reported on SkillSafetyBench because it consistently timed out under the benchmark harness, preventing a complete and comparable result. These results provide evidence that SkillSonar’s gains are not limited to SCOPE-R’s attack-generation procedure or evaluation instances.

These evaluations broaden the tested attack sources and workflow settings, but they do not establish unrestricted generalization to arbitrarily large skill ecosystems or all multi-skill, long-horizon attacks. We therefore interpret them as evidence of cross-benchmark robustness rather than unrestricted real-world generalization.

We also conducted separate human audits for the dataset-construction and final-evaluation judges, since they use different models and serve different purposes. Using samples equally stratified by judge-predicted successes and failures, the audits cover 31.7% of the construction cases and 18.0% of the evaluation cases. Human annotators inspected each execution trajectory and observable final state against the instance-specific attack target and success criteria. An attack was counted as successful only when the required malicious effect was observed; merely containing, reading, or potentially executing malicious content was insufficient.

Stage Success-label precision Predicted-failure confirmation Balanced audit agreement
Data construction 88% 100% 94%
Final evaluation 96% 100% 98%

All observed disagreements were success over-labels: the judges occasionally treated malicious code being present, read, or potentially executable as evidence that the target runtime effect had occurred. Thus, within the audited samples, the observed bias tends to overestimate rather than underestimate ASR. We will add the annotation protocol, stage-specific audit results, and representative disagreement cases to the revision. We will also clarify that the observed 100% confirmation of judge-predicted failures does not imply a population false-negative rate of zero.

[3] Jin et al. SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces. 2026.

[4] Ding et al. WildClawBench: A Benchmark for Real-World, Long-Horizon Agent Evaluation. 2026.

Response to W7. We agree that SkillSonar does not uniformly improve safety, task utility, and token efficiency. SkillSonar is primarily optimized to reduce ASR, but these objectives are not always aligned. More conservative decisions can block additional attacks, but may also incorrectly interrupt task-necessary and user-authorized actions, leading to extra confirmation, replanning, or task failure and thereby reducing utility. Meanwhile, loading and consulting the guard, analyzing the execution history, and generating replanning feedback after blocked actions can introduce additional token costs. Since models differ in how reliably they follow safety decisions and recover through replanning, these trade-offs also vary across victim models and agent backends. We will revise the paper to report and discuss these failure modes explicitly, rather than presenting SkillSonar as a uniform improvement across safety, utility, and token cost.

Response to Q1: Failure attribution. We conducted a trajectory-level attribution analysis across five evaluation rounds, covering 555 malicious cases and 59 residual successful attacks. SkillSonar was read and triggered in all 59 failures, indicating that none resulted from the agent skipping guard invocation. Among the residual failures, 6.8% were attributable to agent-side non-compliance, where the agent did not follow an explicit warning or required confirmation step. The remaining 93.2% were attributable to guard-side limitations: 64.4% resulted from overly permissive risk decisions, and 28.8% resulted from gaps in the guard policy. This pattern was consistent across ID and OOD attacks, where guard-side failures accounted for 92.6% and 93.8%, respectively. These results suggest that the main source of residual failure is guard decision quality and policy coverage, rather than skipped invocation or failure to follow an explicit guard decision. We will add this analysis to the paper and clarify that the attribution is based on trajectory-level LLM-assisted review.

Response to Q2: Malicious-skill competition and suppression. Our malicious skills are highly relevant to the user task and are therefore normally loaded and followed during execution. SkillSonar thus already operates in a context where a malicious task skill competes with the guard for attention and instruction priority. As reported in Response to W2/Q3, we evaluate both forced invocation and a no-force setting in which SkillSonar is installed normally but is not explicitly invoked first. Without explicit invocation, benign utility remains comparable, but the safety benefit decreases substantially, showing that contextual competition mainly exposes failures in guard discovery and reliable mediation.

This comparison shows that an effective semantic safety policy does not by itself guarantee guard discovery or mandatory invocation. It therefore supports combining SkillSonar with a trusted hook or runtime mediator that guarantees invocation. We will clarify that SkillSonar provides the semantic policy decision, rather than an unbypassable enforcement mechanism.

Response to Q5: Per-risk-family breakdown. Thank you for the suggestion. We provide a per-risk-family breakdown over the same five matched evaluation rounds used in the main results. ASR is reported as mean ± standard deviation across runs; lower is better.

Split Risk family No Guard ASR (%) ↓ SkillSonar ASR (%) ↓ Reduction (pp) ↑
ID Resource & Reliability 61.3 ± 10.3 11.3 ± 5.2 50
ID Execution Safety 48.6 ± 21.7 5.7 ± 7.8 42.9
ID Specification Integrity 41.2 ± 7.2 5.9 ± 5.9 35.3
ID Operational Side Effects 36.7 ± 4.6 18.3 ± 10.9 18.3
OOD Privacy & Data Flow 67.7 ± 8.4 6.2 ± 2.1 61.5
OOD Capability Control 59.4 ± 6.3 14.5 ± 4.5 44.8

SkillSonar reduces ASR across all six risk families, although the gains are non-uniform. Among the ID families, it performs best on Execution Safety and Specification Integrity, while Operational Side Effects remains the most challenging.

The held-out OOD results show strong cross-family transfer, especially for Privacy & Data Flow. Capability Control also improves substantially, but authorization- and approval-related attacks remain comparatively harder. We will add the family-level table to the main paper, provide the full subcategory breakdown in the appendix, and characterize SkillSonar’s generalization as broad but non-uniform.

Authors · CommentOpenReview ↗

Thank you again for your valuable feedback. We have carefully revised our response and tried to address all the concerns raised in your review. We would greatly appreciate it if you could take a look at our response and let us know whether your concerns have been adequately addressed, or if any issues remain. Thank you for your time and consideration.

Reviewer sMzjOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes Defense-as-Skill, which implements the runtime guard itself as an installable skill, SkillSonar, loaded alongside the untrusted skill; before each sensitive action, it checks whether the action stays within the user's task boundary and decides allow / narrow-replan / confirm / block. There are 3 contributions in the paper: (1) SCOPE-R, a dataset of 206 attack-confirmed malicious instances + 43 benign tasks over 6 risk families, built via a closed attacker–victim–judge loop; (2) SkillSonar, a skill-native guard runnable on both Claude Code and OpenClaw without modifying the runtime; (3) an MCTS procedure that evolves the guard's skill text from runtime feedback. Across three victim models (GLM-5, GPT-5.4, Claude Haiku 4.5) and ID/OOD splits, it lowers attack success rate while largely preserving benign task utility.

Strengths and weaknesses

The framing of the paper is a problem that really matters. Treating the guard as a skill means the defense is inspectable, editable, portable across SAA hosts, and optimizable with the same machinery. That's a clean conceptual move and it's well-matched to a real and timely problem. My main concerns are almost entirely on the empirical claims in the paper.

  • Originality. "Make the runtime guard an installable, evolvable skill rather than an external classifier or platform patch" is a fresh and practically meaningful reframing, and closing the loop with skill-level optimization (MCTS over guard text, no weight updates) is a sensible instantiation. The SCOPE-R taxonomy (six risk families, runtime-path-oriented) is also a thoughtful contribution to how these failures are categorized.

  • Clarity. The threat model, the guard's decision flow, the dataset-construction loop, and the MCTS procedure are all clearly described, with helpful figures and algorithm boxes. The paper is easy to read and I could follow the method end to end.

  • Quality. I have the following major concerns (1) The headline metric rests on an unvalidated LLM judge. ASR is decided by an LLM judge, and the dataset itself is filtered by an LLM judge in the construction loop — so labels and evaluation share a judgment source whose precision/recall is never measured against human annotation. With no judge-validation, the central numbers are hard to trust. (2) No error bars or significance testing, despite results that are visibly noisy and non-monotone (e.g., a permission-gating baseline sometimes matches or beats SkillSonar). (3) The benchmark is small (206 malicious instances) relative to what a "benchmark contribution" in this area now requires. (4) The guard's robustness is not stress-tested: SkillSonar is a Markdown policy invoked via a fixed "call the guard first" protocol, and the paper itself concedes a stronger adaptive attack could ignore or bypass it — yet no adaptive-attacker evaluation is run against the final guard. (5) Cross-model portability is claimed but not demonstrated, and is conflated with cross-family generalization. The same guard skill is applied to all three victim models, but the paper never states which model it was optimized on; its own results show strong transfer on GPT-5.4 but much weaker transfer on GLM-5/Haiku ("generalizes well in some victim-model settings"). Since a guard is essentially an optimized prompt — and prompt sensitivity is model-specific — this model-dependence is exactly what one would worry about. If the authors can resolve these concerns, I will definitely consider updating my ratings.

Questions
  1. Validate the judge. Please report agreement between the Qwen3.5-122B attack-success judge and human labels on a sample of rollouts. This is the single most important number for trusting Tables 2–3; a high agreement would substantially raise my confidence.
  2. Cross-model transfer. On which victim model was the guard optimized, and can you provide an optimize-on-A / deploy-on-B transfer matrix with the attack family held fixed, to disentangle cross-model transfer from cross-family (OOD) generalization? If a guard must be re-optimized per model, please qualify the portability claim and state the per-model cost (labeled attack data + re-search).
  3. Adaptive attacker. Run your attacker loop against the final optimized SkillSonar. How much of the ASR reduction survives? This tests whether the defense is robust or only effective against non-adaptive skills.
  4. Statistics. Please add variance over multiple rollouts/seeds for the main comparisons, given the noise and the cases where baselines match SkillSonar.

I am at borderline reject because the empirical rigor rather than the idea. Convincing answers to Q1 (judge validation) and Q3 (adaptive attacker), plus the Q2 transfer matrix, would move me toward borderline accept or accept.

Limitations

The paper is commendably honest in places — it concedes the guard is "still a Markdown policy" that a stronger attack may bypass, notes judge-error risk, and acknowledges the small search budget.

Final justification

Thank you for the detailed rebuttal and additional experiments. The judge validation, adaptive-attacker evaluation, repeated runs, and cross-model transfer analysis address most of my original empirical concerns. I still see explicit guard invocation as an important limitation after looking through other reviewers' comments, since protection degrades substantially without it. However, given the strengthened empirical evidence and additional baselines, I now lean slightly toward acceptance and update my rating from 3 to 4.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to W1/Q1: Judge validation. We agree that the original manuscript lacked human validation of the ASR judges, making the central results difficult to assess. We therefore audited the construction and evaluation stages separately because they use different judge models and serve different purposes. Dataset construction uses SyntheticTuringExperienceTechnologies/qwen-3.5-122B-uncensored-stxt, whereas Tables 2–3 use Qwen/Qwen3.5-122B-A10B. We will report both exact checkpoints and inference settings in the revision.

Using samples equally stratified by judge-predicted successes and failures, the audits cover 31.7% of the construction cases and 18.0% of the evaluation cases. Human review checked each complete trajectory against the instance-specific attack target and observable success criteria.

Stage Judge Success-label precision Predicted-failure confirmation Balanced audit agreement
Data construction Qwen3.5-122B-Uncensored 88% 100% 94%
Final evaluation Qwen3.5-122B-A10B 96% 100% 98%

The judge directly underlying Tables 2–3 achieves 98% agreement on the balanced audit sample. All observed disagreements in both stages were success over-labels, where malicious content was accessed or generated but the required runtime effect did not occur. No judge-predicted failure was overturned as successful. Thus, within the audited samples, judge errors tend to overestimate rather than underestimate ASR. We will add the audit protocol, validation results, and representative disagreement cases to the revision, while clarifying that the observed 100% confirmation rate does not imply a zero population error rate.

Response to W2/Q4: Variance across repeated rollouts. Thank you for raising this important concern. We repeated each main comparison over five independent runs and now report the mean and standard deviation across runs, rather than relying on a single rollout.

Method ASR (ID) ↓ ASR (OOD) ↓ MalUtil (ID) ↑ MalUtil (OOD) ↑ Benign Utility ↑
No Guard 0.477 ± 0.047 0.631 ± 0.014 0.829 ± 0.020 0.851 ± 0.008 0.757 ± 0.050
Prompt Guard 0.425 ± 0.054 0.471 ± 0.040 0.810 ± 0.050 0.831 ± 0.038 0.755 ± 0.054
AcceptEdits 0.131 ± 0.027 0.081 ± 0.028 0.703 ± 0.010 0.736 ± 0.026 0.758 ± 0.018
AcceptEdits + Allowlist 0.454 ± 0.048 0.600 ± 0.040 0.824 ± 0.018 0.834 ± 0.030 0.769 ± 0.023
SkillSonar 0.104 ± 0.037 0.109 ± 0.019 0.815 ± 0.045 0.789 ± 0.037 0.767 ± 0.025

The repeated results confirm that SkillSonar substantially reduces ASR relative to No Guard, Prompt Guard, and AcceptEdits + Allowlist, while maintaining comparable benign utility. However, they also confirm the reviewer’s observation that the comparison with permission gating is not uniformly monotonic: SkillSonar obtains lower ID ASR than AcceptEdits, whereas AcceptEdits obtains slightly lower OOD ASR. SkillSonar nevertheless achieves considerably higher malicious-task utility in both settings, indicating a different safety–utility trade-off rather than uniform dominance.

The previously reported SkillSonar result was based on a single rollout and was therefore sensitive to execution randomness. We will replace the single-run headline values with the five-run mean±standard-deviation results throughout the paper and revise our claims to avoid implying that SkillSonar consistently outperforms every baseline in every setting. Since five runs still provide only a limited estimate of variability, we treat these results as uncertainty estimates rather than evidence that all small differences are statistically significant.

Response to W3: Benchmark scale. We agree that SCOPE-R is modest in scale and will clarify its positioning as a controlled diagnostic benchmark, with structured coverage of six risk families and 21 subcategories, rather than a large-scale or exhaustive benchmark.

To examine whether SkillSonar’s effectiveness is limited to the task and attack distribution of SCOPE-R, we additionally evaluate it on two independently developed benchmarks. SkillSafetyBench [1] evaluates attacks embedded in task-relevant skill materials and supporting local artifacts, while the safety subset of WildClawBench [2] evaluates safety-critical behavior in longer-horizon, native-runtime agent workflows.

Method SkillSafetyBench ASR ↓ WildClawBench Safety ↑
No guard 93.30% 38.00%
AcceptEdits — 41.00%
AcceptEdits + allowlist 64.30% 45.00%
Prompt guard 83.30% 43.00%
SkillSonar 52.90% 54.00%

SkillSonar achieves the lowest ASR on SkillSafetyBench and the highest safety score on WildClawBench. These results provide evidence that its gains are not limited to SCOPE-R’s particular task and attack distribution. Standalone AcceptEdits is not reported on SkillSafetyBench because it consistently timed out under the benchmark harness, preventing a complete and comparable evaluation.

These external evaluations broaden the tested attack sources and workflow settings, but they do not increase the scale of SCOPE-R itself or establish unrestricted real-world generalization. We will revise the paper to make SCOPE-R’s diagnostic positioning and scale limitation explicit, and identify larger-scale, multi-skill, and longer-horizon evaluation as important future work.

[1] Jin et al. SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces. 2026.

[2] Ding et al. WildClawBench: A Benchmark for Real-World, Long-Horizon Agent Evaluation. 2026.

Authors · CommentOpenReview ↗

Additional Response to Reviewer sMzj (Completion of Rebuttal)

Response to W4/Q3: Adaptive-attacker evaluation. Thank you for this valuable suggestion. We ran our original attacker loop against the final optimized SkillSonar. Specifically, our iterative data-construction pipeline itself serves as the attacker: we inserted the final SkillSonar into this loop and regenerated attacks against the guarded agent. We kept the attack families, generation settings, sample budget, and three refinement iterations identical to the no-guard construction, so the comparison isolates how much of SkillSonar’s protection survives attacker adaptation.

Attack family No Guard ASR Final SkillSonar ASR Δ ASR (pp)
Capability control 55.00% 26.70% −28.3
Specification integrity 53.30% 43.30% −10.0
Resource reliability 45.00% 26.70% −18.3
Data governance 43.30% 8.30% −35.0
Execution safety 33.30% 10.00% −23.3
Operational side effects 31.10% 13.30% −17.8
Overall 45.10% 22.90% −22.2

After three attacker-loop iterations, SkillSonar still reduces overall ASR from 45.1% to 22.9%, an absolute reduction of 22.2 percentage points and a relative reduction of 49.3%. The protection therefore remains substantial even when the same attacker loop is allowed to adapt against the final guard. However, the remaining ASR shows that SkillSonar can still be bypassed by some adaptive attacks. Specification-integrity attacks remain the most difficult, while data-governance attacks show the largest reduction. We will add this evaluation and the family-level analysis to the revised paper.

Response to W5/Q2: Cross-model transfer and portability. Thank you for identifying this ambiguity. The SkillSonar in the original submission was optimized with GLM-5 as the evolution victim model and then deployed unchanged on other victim models. To test transfer in the reverse direction while controlling the cost of running another full evolution process, we selected the open-source Kimi-K2.6 as a second evolution source. We did not re-optimize on Haiku 4.5 or GPT-5.4 because of their API cost.

We separate cross-model transfer from cross-family generalization. The following matrix uses the same ID attack split and fixed risk-family composition for every deployment model.

Guard optimized on ↓ / Deployed on → (ASR ↓ / MalUtil ↑) Kimi-K2.6 GLM-5 Haiku 4.5 GPT-5.4
No guard 0.417 / 0.846 0.477 / 0.829 0.481 / 0.764 0.588 / 0.731
GLM-5 0.199 / 0.799 0.104 / 0.815 0.096 / 0.730 0.019 / 0.533
Kimi-K2.6 0.192 / 0.813 0.112 / 0.757 0.059 / 0.692 0.019 / 0.560

The GLM-5-optimized guard reduces ID ASR from 0.417 to 0.199 on Kimi-K2.6, from 0.481 to 0.096 on Haiku 4.5, and from 0.588 to 0.019 on GPT-5.4. Conversely, the Kimi-K2.6-optimized guard achieves ID ASRs of 0.112 on GLM-5, 0.059 on Haiku 4.5, and 0.019 on GPT-5.4. These results demonstrate transfer across victim models while holding the attack families fixed. They also show that the utility trade-off depends on the source and target models.

We additionally report OOD results to test whether the transferred guard remains effective under an added risk-family shift.

Guard optimized on ↓ / Deployed on → (ASR ↓ / MalUtil ↑) Kimi-K2.6 GLM-5 Haiku 4.5 GPT-5.4
No guard 0.480 / 0.836 0.631 / 0.851 0.707 / 0.737 0.559 / 0.766
GLM-5 0.161 / 0.799 0.109 / 0.789 0.254 / 0.750 0.034 / 0.528
Kimi-K2.6 0.237 / 0.848 0.160 / 0.737 0.186 / 0.623 0.085 / 0.491

The OOD results show that the transferred guards continue to reduce ASR on unseen risk families, although both safety and utility vary across victim models. We therefore revise the broad portability claim to the more precise conclusion that SkillSonar supports zero-shot cross-model deployment without target-model labels or additional search, with model-dependent safety and utility.

The Kimi-K2.6 and GLM-5 results are means over repeated runs, while the Haiku 4.5 and GPT-5.4 results are single-run estimates due to API cost.

The evolution cost is incurred only on the source model. Each optimization uses 95 labeled malicious cases and 11 benign cases, with 10 MCTS rounds and up to approximately 31 candidate guards evaluated. Deploying the resulting guard on another victim model requires zero target-model labeled attack cases and zero additional search; only evaluation rollouts are required. Re-optimizing separately for every victim model would repeat the labeled-data and search cost.

Authors · CommentOpenReview ↗

Thank you again for your valuable feedback. We have carefully revised our response and tried to address all the concerns raised in your review. We would greatly appreciate it if you could take a look at our response and let us know whether your concerns have been adequately addressed, or if any issues remain. Thank you for your time and consideration.

Area Chair 2a6S · CommentOpenReview ↗

Dear reviewer,

Please take a look at the authors' response and see if it has addressed any concerns raised in your previous assessment.

Thanks,
AC

Reviewer yh87OpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies runtime safety risks in skill-augmented agents. These agents have skills that can persist as task context and can steer future tool calls, file edits, shell commands, data access, and other actions. The authors argue that pre-install skill vetting is insufficient because malicious behavior may only become apparent once a concrete user task and workspace state make the unsafe action appear useful.

The paper proposes a framework, Defense-as-Skill, where the runtime guard itself is implemented as an installable and inspectable skill. The concrete guard, SkillSonar, runs alongside task skills and checks proposed sensitive actions against the user's task boundary, deciding whether to allow the action, narrow/replan it, or require user confirmation. This design aims to provide runtime protection without modifying the underlying agent runtime.

In order to evaluate this setting, the authors construct SCOPE-R, a task-conditioned safety dataset for augmented agents. It covers six risk families and 21 sub-categories, with 206 attack-confirmed malicious instances and 43 benign tasks. The dataset is built through an attacker-victim-judge loop that edits benign skills into malicious ones and retains instances only when the judge confirms that the target unsafe behavior occurred.

In addition, the authors introduce runtime guard-skill evolution, using MCTS to iteratively edit and select improved guard skills based on rollout feedback. Across Claude Code and OpenClaw backends, and multiple victim models, SkillSonar reduces attack success relative to no-guard and system-prompt baselines while preserving task utility and maintaining token overhead in the same order of magnitude as the baselines.

Strengths and weaknesses

Strengths

Quality - The paper supports its claims with a reasonably experimental setup - it introduces SCOPE-R, constructs attack-confirmed malicious skill instances, evaluates both attack success and task utility, and compares SkillSonar against no-guard, system-prompt, and platform permission baselines. I believe the dataset construction is useful due to the fact that malicious instances are only retained when a judge confirms that the target unsafe behavior occurred during the victim rollout, yielding 206 attack-confirmed malicious instances and 43 benign tasks. The evaluation also uses both ID and OOD splits, holding out complete risk families for OOD evaluation, which makes the generalization claim more meaningful than a random-only split.

Clarity - The paper is well organized and structured. Firstly, it starts by explaining why pre-install vetting is insufficient, then introduces Defense-as-skill, SCOPE-R, SkillSonar, and finally the runtime guard-skill evolution. The figures are well organized and are explained well.

Significance - The paper addresses an important emerging safety problem for skill-augmented agents. As argued in the paper, the authors show that malicious skills can wait until a concrete task and workspace state make an unsafe action look useful, which makes static or pre-install vetting insufficient. The empirical results show that SkillSonar substantially reduces ASR compared with no guard and system-prompt baselines across multiple victim models and both Claude Code and OpenClaw, while often preserving task utility. This makes the work very relevant and significant for agent platforms that support persistent skills.

Originality - The paper's main original idea it make the defense itself a skill-native artifact. The authors also extend this idea by treating the guard skill as an optimizable policy artifact and use MCTS to evolve it from rollout feedback. This combination of a skill-native runtime guard, a task-conditioned skill-risk dataset, and guard-skill evolution is a unique framing for agentic safety.

Weaknesses

Quality - The evaluation likely partly relies on a fixed guard-invocation protocol that forces the agent to call SkillSonar before taking actions. While the authors state this is to isolate guard decision quality from guard discovery, it also means the experiments do not fully test whether a real skill-augmented agent would reliably invoke the guard in normal deployment. This is important because the paper's defense is framed as being deployable as a normal skill, but the evaluation assumes special prompting to ensure the guard is used. The results therefore support the quality of SkillSonar's action level decisions more strongly than they support end-to-end deployment robustness.

Clarity - Some details needed to asses the reliability of the dataset labels and judge decisions could be clearer in the main text. SSCOPE-R seems to use an attacker-victim-judge loop where the judge agent reads the transcript and returns a binary attack-success label, and the dataset retains instances only when the judge confirms success. However, the main text does not make sufficiently clear how judge reliability is validated, whether any human checks were performed, or how often judge errors occur.

Significance - The paper is significant, but the scope of the benchmark limits how broadly the conclusions can be interpreted. While SCOPE-R is built from 15 selected PinchBench tasks and contains 206 malicious instances plus 43 benign tasks, it remains unclear how well the results generalize to larger and diverse real-world skill ecosystems, more varied user workflows, or attacks that combine multiple skills over longer horizons.

Originality - While Defense-as-Skill is novel in concept, the mechanism itself seems to be a natural-language guard rather than a mechanism-level enforcement layer. The authors explicitly state that SkillSonar does not introduce a new sandbox, kernel monitor, external classifier, or API service, and instead expresses the defense as a normal skill. This is good for transparency, but makes the novelty boundary somewhat dependent on how clearly the authors distinguish SkillSonar from a strong system prompt or policy checklist.

Questions

1.) How SkillSonar would be invoked in a realistic deployment where the guard is installed as an ordinary skill? My current understanding is that the current evaluation uses a fixed guard-invocation protocol that requires the agent to call the guard before taking subsequent actions, which the authors state is meant to evaluate the guard’s runtime safety decision rather than the agent’s ability to discover the guard skill. This is reasonable experimentally, but it would be helpful to clarify whether real SAA deployments can reliably enforce this invocation behavior without modifying the runtime.

2.) How was the judge reliably validated for SCOPE-R construction and ASR evaluation? SCOPE-R retains malicious instances only when a judge confirms that the target unsafe behavior occurred, and ASR is also measured using transcript-based judge labels. Since the paper's conclusions depend heavily on these labels, it would be useful to know whether the authors performed human validation, judge agreement checks, or sensitivity analysis with alternate judges, etc.

3.) Could the results generalize beyond the current task and skill distribution? The dataset is built from 15 selected PinchBench tasks and contains 206 malicious instances + 43 benign tasks. The ID/OOD family split is useful, but it would help to clarify whether the authors expect similar performance in larger real-world skill ecosystems, longer-horizon workflows, or attacks involving multiple interacting skills.

Limitations

yes

Formatting concerns

N/A

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Quality & Q1.

Thank you for raising this point, which helps us better clarify the rationale and deployment interpretation of our invocation setting. Our evaluation is end-to-end under the intended deployment setting. SkillSonar is installed as an ordinary skill, while an explicit instruction in the prompt requires the agent to read it before taking actions. The evaluation therefore covers the complete process from task execution and guard invocation to the agent’s subsequent behavior. It does not assume that installing the skill alone will make the agent discover and invoke it reliably.

We consider this explicit invocation especially important for safety skills. Capability skills are usually directly related to the task and can be selected through ordinary task–skill matching. For example, a coding skill is naturally relevant when the user asks the agent to modify code. In contrast, an unsafe action may arise within almost any task, even when the task itself contains no explicit safety-related intent. A safety skill may therefore be overlooked if invocation depends only on semantic relevance. Explicitly specifying which skill should be used for which responsibility is also a practical way to guide skill-augmented agents. We therefore treat the invocation instruction as part of the deployment setting rather than only an experimental convenience.

We additionally evaluate SkillSonar without this instruction.

Invocation setting ASR (ID) ↓ ASR (OOD) ↓ Benign Utility ↑
No guard 0.477 0.631 0.757
No explicit invocation 0.4 0.582 0.756
Explicit invocation 0.104 0.109 0.767

Without explicit invocation, SkillSonar provides only modest safety gains, whereas explicit invocation substantially improves safety while benign utility remains comparable. This confirms that explicit invocation is an important part of the deployment setting.

We agree that prompt-based invocation does not create an unbypassable security boundary. Without runtime-level enforcement, the agent may still fail to read, correctly apply, or comply with the guard. We will clarify that our results demonstrate end-to-end guarded execution under explicit invocation, while autonomous discovery and non-bypassable enforcement are separate deployment concerns.

Response to Clarity & Q2. Thank you for raising this concern. We separately audited the construction and evaluation judges because they use different models and serve different purposes. Using samples equally stratified by judge-predicted successes and failures, the audits cover 31.7% of the construction cases and 18.0% of the evaluation cases. Human reviewers checked each execution trace against the instance-specific attack target and observable success criteria; merely containing or reading malicious content did not count as attack success.

Stage Judge Success-label precision Predicted-failure confirmation Balanced audit agreement
Data construction Qwen3.5-122B-Uncensored 88% 100% 94%
Final evaluation Qwen3.5-122B-A10B 96% 100% 98%

All observed disagreements were false-positive success labels, where the judge marked an attack successful although the required runtime effect was not observed. No judge-predicted failure was overturned as successful in either audited sample. Thus, within the audited samples, the observed judge errors tend to overestimate rather than underestimate ASR. We will add these validation results and representative disagreement cases to the revision, while clarifying that the observed 100% confirmation rate does not imply a zero population error rate.

Response to Significance and Q3. We agree that SCOPE-R alone cannot establish broad generalization to arbitrary real-world skill ecosystems. This question also motivates us to evaluate SkillSonar beyond the task and attack distribution used to construct SCOPE-R. We therefore add results on two independently developed benchmarks. SkillSafetyBench[1] evaluates attacks embedded in task-relevant skill materials and supporting local artifacts, while the safety subset of WildClawBench[2] evaluates safety-critical behavior in longer-horizon, native-runtime agent workflows.

Method SkillSafetyBench ASR ↓ WildClawBench Safety ↑
No guard 93.30% 38.00%
AcceptEdits — 41.00%
AcceptEdits + allowlist 64.30% 45.00%
Prompt guard 83.30% 43.00%
SkillSonar 52.90% 54.00%

SkillSonar performs best on both benchmarks, providing evidence that its gains are not limited to SCOPE-R’s task and attack distribution. Standalone AcceptEdits is not reported on SkillSafetyBench because it consistently timed out under the benchmark harness, preventing a complete and comparable result.

These evaluations broaden the tested attack sources and workflow settings, but they do not yet cover arbitrarily large skill ecosystems or all forms of multi-skill, long-horizon attacks. We will therefore present them as evidence of cross-benchmark robustness rather than unrestricted real-world generalization, and strengthen the discussion of these remaining directions.

[1] Jin et al. SkillSafetyBench: Evaluating Agent Safety under Skill-Facing Attack Surfaces. 2026.

[2] Ding et al. WildClawBench: A Benchmark for Real-World, Long-Horizon Agent Evaluation. 2026.

Response to Originality. Thank you for highlighting this distinction. We agree that SkillSonar is a policy-level runtime guard rather than a new mechanism-level enforcement layer. Our contribution lies in representing the guard as an installable and modular skill. Instead of placing the full policy in every request, SkillSonar organizes it into entry, runtime, checklist, and stage-specific components, which are loaded through the agent’s native skill mechanism.

To distinguish this design from a strong system prompt or policy checklist, we added a content-matched baseline, Flattened SkillSonar Prompt, which concatenates all decision-relevant modules of the final SkillSonar into a single always-on system prompt without modification. It does not install or read any SkillSonar files. Thus, the two methods use identical policy content and differ only in their representation and loading mechanism.

Method ASR (ID) ↓ ASR (OOD) ↓ MalUtil (ID) ↑ MalUtil (OOD) ↑ BenignUtil ↑ Overall Tokens ↓
Flattened SkillSonar Prompt 0.353 ± 0.094 0.437 ± 0.033 0.655 ± 0.064 0.672 ± 0.060 0.763 ± 0.029 239k ± 10k
SkillSonar 0.104 ± 0.037 0.109 ± 0.019 0.815 ± 0.045 0.789 ± 0.037 0.748 ± 0.097 188k ± 5k

SkillSonar reduces ASR from 0.353 to 0.104 on ID attacks and from 0.437 to 0.109 on OOD attacks, while also improving malicious-task utility. It uses about 21% fewer tokens overall, while maintaining comparable benign utility. Because the two methods use the same policy content, these results show that the improvement does not simply come from a stronger safety prompt. Instead, organizing the policy as modular, selectively loaded skill components improves both safety and context efficiency. We will therefore clarify that our contribution lies in the Defense-as-Skill formulation and its modular runtime design, rather than in introducing a new enforcement mechanism.

Authors · CommentOpenReview ↗

Thank you again for your valuable feedback. We have carefully revised our response and tried to address all the concerns raised in your review. We would greatly appreciate it if you could take a look at our response and let us know whether your concerns have been adequately addressed, or if any issues remain. Thank you for your time and consideration.

Area Chair 2a6S · CommentOpenReview ↗

Dear reviewer,

Please take a look at the authors' response and see if it has addressed any concerns raised in your previous assessment.

Thanks,
AC

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

Missing a submission?

Loading the discussion…