Sign inGet started
All insights

Zero-Trust for Agents: A Practical Model

By SkillzBench · October 17, 2026

Learn how to apply zero-trust security to AI agents: identity, least privilege, kill switches, and skill verification to stop supply chain attacks.


Key Facts

  • Snyk's ToxicSkills research found 36.82% of 3,984 analyzed agent skills contained security flaws, with 13.4% carrying critical vulnerabilities according to OWASP case studies.
  • The ClawHavoc campaign planted 1,184 malicious skills across 12 compromised accounts, driving 247,693 installations and $2.3M in stolen cryptocurrency per OWASP.
  • Command injection accounted for 45% of critical skill vulnerabilities, privilege escalation 32%, and data exfiltration 23% in Snyk's ToxicSkills analysis via OWASP.
  • At ClawHavoc's January 2026 peak, 5 of the top 7 most-downloaded agent skills were malicious, proving popularity is not a security signal.
  • The Cloud Security Alliance's Agentic Trust Framework requires a kill switch enabling manual agent termination in under one second.
  • Microsoft's zero-trust guidance says to start with no permitted actions by default, enabling capabilities incrementally based on role and risk.
  • CSA's Agentic Trust Framework grants autonomy through promotion gates — Intern, Junior, Senior, Principal — rather than a binary allow-or-block decision.

Why Traditional Zero-Trust Breaks When Your Worker Is an AI Agent

Zero trust was designed for an era of human employees logging into managed laptops. AI agents don't behave like employees — they behave like internally inconsistent contractors who rewrite their own job descriptions.

The Cloud Security Alliance's Agentic Trust Framework identifies four assumptions that classical zero-trust relies on: human users, predictable behavior, deterministic system rules, and trust established once. Agents break all four. A coding agent that was scoped to read a repository can, within the same session, execute shell commands, call external APIs, and exfiltrate data — not because it was attacked, but because that is how it was built.

The stakes are not theoretical. In January 2026, the ClawHavoc campaign planted 1,184 malicious skills across 12 compromised publisher accounts, racking up 247,693 confirmed installations and stealing $2.3M in cryptocurrency — discovered only 19 days after first publication. At the campaign's peak, 5 of the top 7 most-downloaded skills were malicious. Snyk's separate ToxicSkills analysis found that 36.82% of 3,984 analyzed agent skills contained security flaws, with 13.4% carrying critical vulnerabilities — and command injection accounted for 45% of those criticals.

Traditional zero-trust controls assume you can draw a stable perimeter around a known identity. With agents, the perimeter moves every request. A few lines of markdown in a skill file can turn a benign-looking package into an SSH-key exfiltration tool the moment an agent follows its instructions.

The specific failure modes look like this:

  • Identity is non-deterministic. Two runs of the same agent can produce different action sequences, so "who is this" is a weaker signal than "what is it doing right now."
  • Access needs are dynamic. An agent that only needs read access today may need write access tomorrow for a legitimate task — and there is no human in the loop to approve the expansion.
  • Supply chain is the new perimeter. Skills, MCP servers, and third-party tools are loaded at runtime, often from registries with weak publisher verification.
  • Trust is sticky. Once an agent is granted permissions, it is rarely revoked — even when behavior drifts.

This is why the conversation has shifted from "verify the user" to "verify every action, continuously." The next section will show what that actually looks like in practice.


ctaText: Skills, proven — join the SkillzBench waitlist to get free early access to verified, benchmarked agent skills and the free MCP connector.

socialProofText: SkillzBench is building a free, independent directory where every skill is pinned to a commit SHA, security-scanned, and benchmarked in a sandbox before it reaches your agent.

The Five Pillars of Agentic Zero-Trust (The Emerging Consensus Model)

When six independent authorities — from the Cloud Security Alliance to Microsoft, AWS, and Cisco — land on the same five principles, that's not coincidence. That's a consensus model, and it's the closest thing the agentic security world has to a playbook.

Pillar 1: Unique, verifiable agent identity. Microsoft's guidance is blunt: "Start with no permitted actions by default and incrementally enable capabilities based on role and risk," with each agent assigned a unique, verifiable identity to enforce RBAC (Microsoft's Zero Trust documentation). Cisco's first pillar mirrors this: know every agent and map each to a responsible human owner.

Pillar 2: Default-deny, least-privilege permissions. AWS prescribes that "tools cannot be called without proper authentication and authorization" (AWS Prescriptive Guidance). This matters most for the skills and tools agents consume — a natural fit for per-agent loadouts like the ones SkillzBench is building, where an agent only sees the skills you explicitly toggle on.

Pillar 3: Continuous behavioral monitoring. Dr. Chase Cunningham frames the decisive question: "is the agent doing the job it was deployed to do?" (Cequence). Identity and authorization can't answer that — only ongoing observation can.

Pillar 4: Deterministic human-in-the-loop controls. Microsoft requires human review for high-risk or irreversible actions to be enforced "through orchestrator logic rather than model reasoning" — never trusting the model to decide when to ask a human.

Pillar 5: Supply-chain verification. The numbers justify the paranoia: Snyk's ToxicSkills research found 36.82% of 3,984 analyzed agent skills contained security flaws, and the ClawHavoc campaign planted 1,184 malicious skills that racked up 247,693 installations and $2.3M in stolen cryptocurrency (OWASP case studies). Three lines of markdown were enough to exfiltrate SSH keys.

The CSA's Agentic Trust Framework adds the model's key innovation: autonomy is earned through promotion gates, not granted as a binary allow/block (CSA blog):

  • Intern — observe only, minimum 2 weeks before promotion eligibility
  • Junior — minimum 4 weeks with >95% recommendation acceptance rate
  • Senior — minimum 8 weeks with zero critical incidents
  • Principal — autonomous within a domain

Every level includes a kill switch with manual termination in under one second. Treat agents like digital employees, and the framework starts to feel intuitive: you wouldn't hand an intern production access on day one either.

If your zero-trust model covers the agent but not what the agent installs, you've guarded the front door and left the supply chain wide open. Agent skills — those SKILL.md instruction packages for Claude Code, Codex, Cursor and Gemini CLI — are just markdown, which makes them look harmless. They aren't.

The numbers are sobering. Snyk's ToxicSkills research, analyzed in the OWASP Agentic Skills Top 10 case studies, found that 36.82% of 3,984 agent skills contained security flaws, and 13.4% carried critical vulnerabilities. Command injection accounted for 45% of those critical flaws, with privilege escalation at 32% and data exfiltration at 23%.

The proof of concept is brutally simple: a single skill demonstrated that three lines of markdown could exfiltrate SSH keys by exploiting the agent's ability to run shell commands based on natural-language instructions. No malware binary, no exploit chain — just instructions your agent obeys.

Scale makes it worse. The ClawHavoc campaign in January 2026 spread 1,184 malicious skills through 12 compromised publisher accounts, racking up 247,693 confirmed installations and $2.3M in stolen cryptocurrency before discovery. At the campaign's peak, 5 of the top 7 most-downloaded skills were malicious — including everyday-sounding ones like Google Assistant Pro and YouTube Summarize Pro. Popularity, in other words, is not a security signal.

OWASP's proposed prevention framework maps directly to zero-trust principles, and it's worth adopting as a checklist for any skill before it touches your agent:

  • Permission-based execution — the skill runs only with narrowly scoped, default-deny access, never the full shell.
  • Publisher identity verification — confirm who published the skill and whether that account is actually theirs.
  • Pre-publication security review — scan the instructions for command injection, exfiltration patterns and privilege escalation before install.
  • Runtime protection and behavioral monitoring — watch what installed skills actually do, not what they claim to do.

The hard part is that most teams have no way to perform these checks themselves. That's the gap SkillzBench is being built to close: pinning every skill version to a commit SHA so upstream changes can't silently swap in new instructions, security-scanning and license-checking each skill, and benchmarking it in a sandbox with and without the skill before it ever reaches your agent. Everything will be free — the directory, the scanning, the benchmarks and the MCP connector.

Until then, apply the zero-trust rule manually: never trust a skill at install time. Read the instructions before you add it, scope what the agent can execute, and treat every installed package as a potential exfiltration vector. A skill is code, even when it looks like prose.

Skills, proven. Join the SkillzBench waitlist to get security-scanned, benchmarked agent skills the moment we launch.

Your Practical Zero-Trust Implementation Checklist

You cannot secure an autonomous agent if you do not know exactly who is responsible for it. The first step in a practical zero-trust model is a complete inventory of every active agent, mapped to a specific human owner. This establishes the accountability baseline that traditional security models often overlook in dynamic environments.

Start with a default-deny posture. Microsoft’s official guidance advises beginning with no permitted actions and incrementally enabling capabilities based on specific roles and risk levels. This approach prevents agents from operating with broad, undefined permissions that create unnecessary exposure.

Scope tool access narrowly to limit the blast radius of any potential incident. Design agents like microservices, ensuring they only see the specific skills and tools you explicitly toggle on for that role. This per-agent loadout strategy ensures that a compromised or misconfigured agent cannot access unrelated data or execute unauthorized commands.

Enforce deterministic human oversight for irreversible actions. You must rely on orchestrator logic rather than model reasoning to trigger approval gates for high-risk operations. This ensures that critical decisions always require a verified human sign-off, removing ambiguity from the execution path.

Implement a kill switch capable of sub-second termination. The Cloud Security Alliance’s Agentic Trust Framework mandates immediate manual termination capabilities to halt runaway agents instantly. This rapid response mechanism is critical for containing incidents before they cascade across your infrastructure.

Finally, re-verify skills continuously as upstream changes occur, not just at install time. Snyk’s research found that 36.82% of analyzed agent skills contained security flaws, with 13.4% holding critical vulnerabilities. Continuous monitoring ensures that new risks introduced by upstream updates are detected and mitigated in real time.

Balance rigor with practicality to avoid usability traps. Overly granular controls can lead to human error or workarounds that compromise security, as noted by AWS prescriptive guidance. Your goal is to create a system that is secure enough to protect assets but simple enough for teams to maintain without friction.

  • Inventory every agent and assign a human owner for accountability.
  • Start with zero permissions and enable actions incrementally based on risk.
  • Scope tool access narrowly using per-agent loadouts to isolate capabilities.
  • Enforce human approval for irreversible actions via deterministic orchestrator logic.
  • Implement a kill switch for sub-second manual termination of active agents.

SkillzBench is building a free directory and MCP tool to help you verify and manage these skill loadouts securely. By pinning versions and scanning for vulnerabilities, you can ensure your agents operate on trusted components. This practical approach to zero-trust implementation helps you balance security needs with operational efficiency.

Frequently Asked Questions

Why doesn't traditional zero-trust security work for AI agents?
Classical zero trust assumes human users, predictable behavior, deterministic rules, and trust established once — and AI agents break all four assumptions, per the CSA's Agentic Trust Framework. Two runs of the same agent can behave differently, so 'what is it doing right now' matters more than 'who is this.'
How risky are agent skills I install from public registries?
Very: Snyk's ToxicSkills research found 36.82% of 3,984 analyzed skills contained security flaws, and 13.4% had critical vulnerabilities — command injection alone accounted for 45% of those criticals. A single proof-of-concept skill showed just three lines of markdown can exfiltrate SSH keys.
What are the core principles of zero-trust for AI agents?
Six independent authorities — CSA, Microsoft, AWS, Cisco and others — converge on five pillars: unique verifiable agent identity, default-deny least-privilege permissions, continuous behavioral monitoring, deterministic human-in-the-loop controls, and supply-chain verification of skills and tools. Microsoft's guidance is to start with no permitted actions by default and incrementally enable capabilities based on role and risk.
Is a skill with lots of downloads safe to use?
No — popularity is not a security signal. During the ClawHavoc campaign, 5 of the top 7 most-downloaded skills were malicious at peak, with 1,184 malicious skills across 12 compromised publisher accounts racking up 247,693 installations and $2.3M in stolen cryptocurrency.
How much autonomy should I give my AI agent, and when?
Treat autonomy as earned, not granted. The CSA's framework uses promotion gates — Intern (observe only, 2 weeks minimum), Junior (4 weeks with >95% recommendation acceptance), Senior (8 weeks with zero critical incidents), then Principal — and every level requires a kill switch with manual termination in under one second.
How do I verify a skill before my agent uses it?
Read the instructions before installing, scope what the agent can execute, and re-verify continuously as upstream changes occur — never trust a skill at install time only. SkillzBench is building exactly this: pinning every skill to a commit SHA, security-scanning, and sandbox benchmarking, all free; join the waitlist for early access.

Trust Is Earned — by Agents and the Skills They Run

Zero trust was built for people, not for agents that rewrite their own job descriptions mid-session. The good news is that a practical consensus model already exists: give every agent a verifiable identity, start from default-deny permissions, monitor behavior continuously, enforce human oversight through deterministic orchestrator logic, and keep a kill switch within reach. The hardest part is the supply chain — when 36.82% of analyzed agent skills contained security flaws, and three lines of markdown were enough to exfiltrate SSH keys, verifying what your agent installs matters as much as verifying the agent itself. Your next steps are concrete: inventory your agents today, scope their tool access tomorrow, and adopt a "never trust a skill at install time" rule starting now. SkillzBench is being built to make that last part easier — a free directory where every skill is pinned to a commit SHA, security-scanned, and benchmarked in a sandbox before it reaches your agent, plus a free MCP connector for per-agent loadouts. Join the SkillzBench waitlist for early access, and give your agents skills you can actually trust.

Zero-Trust for AI Agents: A Practical Security Model · SkillzBench