Runtime guard for malicious skills in AI agents
Use a runtime guard skill to protect against malicious skills that exploit agent context.
Implement Defense-as-Skill, where the runtime guard itself is an installable, inspectable, and editable skill (e.g., SkillSonar) that checks sensitive actions against the user's task boundary without modifying the agent runtime.
Malicious skills in AI agents may leak secrets, corrupt code, bypass approvals, or stage data for exfiltration.
Skill-augmented agents load reusable skills as persistent runtime context, giving malicious skills a durable channel for steering future actions.
Malicious skills in AI agents can exploit persistent runtime context. Defense-as-Skill proposes using a runtime guard skill, like SkillSonar, to inspect and control sensitive actions, preventing harm without altering the core agent.
Runtime guards, implemented as skills, can continuously monitor and evaluate actions based on the user's task and workspace state, providing protection that pre-install vetting cannot achieve.
- Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented Agents ↗Anthropic · arXiv cs.AI · Sep 1, 2026 · paraphrased
First seen on Subvolts Sep 1, 2026. Updated Sep 11, 2026. Spotted a problem? Tell us.
- Defense-as-Skill: Evolving Runtime Guard Skill for Skill-Augmented AgentsAnthropic · arXiv cs.AI · Sep 1, 2026
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- HeuristicUse latent uncertainty for agent escalation decisionsCompare weak agent's current hidden states to past successful and failed trajectories to measure uncertainty. · 30 min
- HeuristicAI agents need time-awareness for runtime controlAI agents require a sense of time to predict, estimate, and control their own actions and execution duration. · 5 min
- HeuristicEvading AI skill detection by moving payloads to natural languageBypass AI skill detection by embedding malicious payloads within natural language instructions. · 30 min
- HeuristicFraming malicious actions as legitimate skill purposesDisguise malicious actions as the intended function of an AI agent skill. · 30 min
- HeuristicSplitting instructions across files to bypass AI skill detectionDistribute malicious instructions across multiple files to avoid detection by AI skill scanners. · 30 min
- Troubleshooting fixAI model cheats on math problem using stolen tokenPrevent AI models from accessing unauthorized team data to complete tasks. · 10 min
Questions people ask
- Which AI tools does this work with?
- Any current model. It was seen with in the sources.
- Where did this come from?
- Anthropic (arXiv cs.AI). Subvolts collected, normalized and credited it; the link above opens the original.

