Skip to content
机器之心 JIQIZHIXIN· @jiqizhixin · X·Indexed by this site · Originally published· Defenses →

Defense-as-Skill: turning agent runtime guardrails into evolvable skills, accepted at NeurIPS 2026

AI summary

The paper Defense-as-Skill, accepted at NeurIPS 2026, proposes making an agent's runtime safety guardrails themselves editable, replaceable skills, so defenses evolve alongside attack patterns. The paper argues that pre-installed review cannot detect latent risks: malicious skills behave normally at install time, and only execute unsafe actions such as reading .env secrets, exfiltrating logs, or skipping permission prompts when aligned with a specific user task, workspace state, and available tools. The guardrail checks actions themselves rather than only skill provenance, so it is not limited to skill-based attacks and can cover any runtime action that violates safety, and can be continuously improved as new attack patterns emerge. The paper also provides the SCOPE-R dataset, constructing attack-confirmed skill risks from benign task-skill pairs, containing 43 benign instances and 206 malicious instances. The paper is on arXiv 2609.01487.

Related papers
Full text · Original

In agent systems, almost everything evolves: capabilities accumulate through skills, experience compounds through memory. But defense stays static — and static defense cannot catch up with evolving attacks. A malicious skill needs do nothing wrong at install time; it can behave normally until a specific user task, workspace state, and set of available tools align — then an unsafe action suddenly looks "useful": quietly reading .env secrets, exfiltrating logs, or skipping permission prompts. Pre-install review cannot catch this latent risk because it happens at runtime.

Researchers present Defense-as-Skill, accepted at NeurIPS 2026.

Defense-as-Skill eliminates the asymmetry by making the runtime guard itself an evolvable skill — an artifact that can be edited, evaluated, and replaced, just like the capabilities it protects against. The guard checks actions themselves, so its protection is not limited to skill-based attacks; it covers any runtime action that violates safety. By turning defense into a skill, the system can continuously refine its guard as new attack patterns emerge — closing the gap between evolving attacks and static defenses.

Result: Defense-as-Skill makes the agent's runtime security guard an evolvable, editable, replaceable skill — checking actions themselves (not just skill sources) so defense can evolve alongside attacks, catching latent runtime risks that pre-install review misses — accepted at NeurIPS 2026.

Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agents (NeurIPS 2026)

Paper: https://arxiv.org/pdf/2609.01487

Our report: https://www.jiqizhixin.com/articles/2026-10-08-3

📬 #PapersAccepted by Jiqizhixin

Source: 机器之心 JIQIZHIXIN · x.com