Defense-as-Skill: turning agent runtime guardrails into evolvable skills
Start here
The paper Defense-as-Skill, accepted by NeurIPS 2026, proposes making the agent's runtime safety guardrails themselves editable, replaceable skills, allowing defenses to evolve together with attack patterns. The paper argues that pre-installation review cannot detect latent risks: a malicious skill behaves normally at installation time and only executes unsafe actions—such as reading .env keys, leaking logs, or skipping permission prompts—when a specific user task, workspace state, and available tools align. This guardrail checks the actions themselves rather than only the skill's source, so it is not limited to skill-based attacks and can cover any runtime action that violates safety.
Generated by AI from reports · Updated 2026-10-15
Related research
Cited in the reports
Progress timeline
- WeChatWeChat · PaperWeekly· Media coverageNeurIPS 2026 | What evolves is not only agent capability: safety guards can also be made into iterable Skills(opens the original post in a new tab)
- XiaohongshuXiaohongshu · AI Safety Daily· Discussion🛡️Install a Skill and the Agent deletes files?(opens the original post in a new tab)
- X @jiqizhixin (Synced)Defense-as-Skill: turning agent runtime guardrails into evolvable skills, accepted at NeurIPS 2026
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 discussion
- Older than 72 hours · Not included in the 72-hour figures
- WeChatWeChat · PaperWeeklyNeurIPS 2026 | What evolves is not only agent capability: safety guards can also be made into iterable Skills(opens the original post in a new tab)
- XiaohongshuXiaohongshu · AI Safety Daily🛡️Install a Skill and the Agent deletes files?(opens the original post in a new tab)
- X@fireandstart · 星星之火可以燎原This piece advances the risk from "whether the skill source is trustworthy" to "whether the action crosses a boundary when it occurs," which is a layer agent safety must add. Malicious behavior may only trigger when a specific task, workspace state, and tool permissions appear simultaneously, so only reviewing code before installation indeed easily misses such combined conditions; conversely, runtime interception cannot focus only on the skill text...(opens the original post in a new tab)