1. Home
  2. Library
  3. AI Tooling Crash Course for Developers
  4. Topics
  5. Security And Supply Chain

Stage 1 — Security: vetting AI tooling before you run it

This extends the existing personal stance ("no new dependency without a registry check — age, download counts, repo link; never substitute a second model's opinion for this") to the newer surface: Skills, MCP servers, and agent plugins. That surface is real and actively exploited as of 2026, not a hypothetical — see the incidents below. This is knowledge and practices, not a product recommendation; pick what's worth adopting.

The threat is documented, not speculative

Several concrete, sourced incidents from 2026:

2026-02-01ClawHavoc disclosed341 of 2,857 skills malicious2026-03-31Axios npm accountcompromised, RAT dropper2026-08-04keyv account takeover127M weekly downloadsJanAug
Dates placed to scale along 2026. Old and popular did not mean safe.
ClawHub poisoningOpenClaw skill registryNeeds a SKILL.md, week-old accountMarketplace hijackClaude Code plugin swaps arequested dependency installMalicious MCP serversSampling abuse, local bridging,command injectionSkill misuse (Anthropic)Reads env vars, exfiltrateskeys via URL parametersAxios takeovernpm account compromised,RAT via phantom postinstallkeyv takeover127M weekly downloads,Mini Shai-Hulud wormClawHub poisoningOpenClaw skill registryNeeds a SKILL.md, week-old accountMarketplace hijackClaude Code plugin swaps a requesteddependency installMalicious MCP serversSampling abuse, local bridging, commandinjectionSkill misuse (Anthropic)Reads env vars, exfiltrates keys via URLparametersAxios takeovernpm account compromised, RAT via phantompostinstallkeyv takeover127M weekly downloads, Mini Shai-Hulud worm
Six failure modes from the 2026 incidents listed above.
11.9%341 of 2,857 ClawHubskills were maliciousClawHavoc, Koi Security1,184malicious packagesfrom 12 publishersAntiy researchers36.8%of 3,984 skills hada security flawSnyk ToxicSkills; 13.4% critical91%of confirmed-maliciousused prompt injectiononly 2.6% of all skills didto publish there: a SKILL.md file and a week-old GitHub account. No signing, no review, no default sandbox.11.9%341 of 2,857 ClawHub skills weremaliciousClawHavoc, Koi Security1,184malicious packages from 12 publishersAntiy researchers36.8%of 3,984 skills had a security flawSnyk ToxicSkills; 13.4% critical91%of confirmed-malicious used promptinjectiononly 2.6% of all skills didto publish there: a SKILL.md file and aweek-old GitHub account. No signing, noreview, no default sandbox.
Counts from the cited reports. Some figures trace to secondary posts.
  • ClawHub (the OpenClaw skill registry) was systematically poisoned at scale.
    • One widely cited count: 5 of the top 7 most-downloaded skills contained malware at peak infection ().
    • "ClawHavoc" campaign, disclosed by Koi Security on 2026-02-01: 341 of 2,857 scanned skills (11.9%) malicious. Antiy researchers later tied 1,184 malicious packages to 12 publisher accounts.
    • SlowMist's MistEye separately flagged 472 malicious skills on the platform.
    • Barrier to publishing there: a SKILL.md file and a week-old GitHub account. No code signing, no security review, no default sandboxing.
  • Snyk's ToxicSkills study scanned 3,984 skills across ClawHub and skills.sh: 36.8% (1,467) had at least one security flaw, 13.4% (534) had critical issues. Prompt injection patterns showed up in only 2.6% of the full scanned population but in 91% of the samples Snyk confirmed malicious — injection is concentrated in the actually-malicious subset, not spread evenly across the ecosystem.
  • Marketplace dependency hijacking in Claude Code specifically. A malicious plugin can redirect dependency installs mid-flow, so a routine "add httpx" request pulls a trojanized package instead. Only user actions needed: connect to an unofficial marketplace, install a plugin, ask Claude to add a dependency. Documented independently by Prompt Security and SentinelOne.
  • MCP-specific. Malicious or later-compromised MCP servers can bridge to sensitive local resources, exploit the sampling feature for prompt-injection attacks (covert tool invocation, conversation hijacking, resource theft), and — since many run locally with direct filesystem/shell access — are vulnerable to command injection on careless input handling. (Unit 42/Palo Alto Networks, Checkmarx MCP security 2026 report)
  • Anthropic's own guidance is blunt: "A malicious Skill can direct Claude to invoke tools or execute code in ways that don't match the Skill's stated purpose" — including reading environment variables and exfiltrating API keys via URL parameters or embedded requests. Recommendation: use Skills only from sources you created yourself or Anthropic-vetted ones. Enterprise plans can turn on automatic skill/plugin malware scanning at upload time. (Anthropic Help Center)
  • General npm supply-chain context (not AI-specific, same failure mode): 2026 saw large legitimate-package takeovers — Axios (maintainer npm account compromise 2026-03-31, RAT dropper via a phantom postinstall dependency) and keyv (127M weekly downloads, GitHub account takeover 2026-08-04, self-propagating "Mini Shai-Hulud" credential-stealing worm). Old, popular, and previously trustworthy isn't durable protection on its own.

Pre-install verification checklist

Adapted from OWASP's Agentic Skills Top 10 project, trimmed to what's realistic for a single home developer rather than an enterprise security team:

Every time, low effort✓Checkable author identity✓Read manifest before enabling✓Prefer first-party sources✓Watch installed dependenciesReal access, more effort✓Pin version or commit✓Socket.dev or deps.dev✓Sandbox or VM firstSkip for a solo setup✕Skill inventory workflow✕Own code-signing setup✕Enterprise approval flowEvery time, low effort✓Checkable author identity✓Read manifest before enabling✓Prefer first-party sources✓Watch installed dependenciesReal access, more effort✓Pin version or commit✓Socket.dev or deps.dev✓Sandbox or VM firstSkip for a solo setup✕Skill inventory workflow✕Own code-signing setup✕Enterprise approval flow
Scaled down from the OWASP checklist. Sandboxing is the highest-leverage step.
BEFORE YOU INSTALLReal, checkable author identity (not a week-old account)Read the manifest before enabling itWatch what dependencies actually get installedPin a version or commit, not "latest"Try unfamiliar tooling in a sandbox or VM firstBEFORE YOU INSTALLReal, checkable author identity (not aweek-old account)Read the manifest before enabling itWatch what dependencies actually getinstalledPin a version or commit, not "latest"Try unfamiliar tooling in a sandbox orVM first
Low effort, worth doing every time.

Worth doing every time, low effort:

  • Check the repo/author has a real, checkable identity — not just a username. A one-week-old account publishing a skill is the exact pattern behind the ClawHub incidents above.
  • Read the skill's actual instructions/manifest before enabling it, specifically for: does it request write access to your instruction/memory files (AGENTS.md, memory directories), does it request broad/wildcard file or network access it has no obvious reason to need, does it pull logic or content from a remote source at runtime rather than being fully self-contained.
  • Prefer Anthropic-vetted or first-party sources over third-party marketplaces for anything touching credentials, filesystem, or shell — this matches Anthropic's own stated position, not just a personal preference.
  • If a skill/MCP server needs a dependency installed, watch what actually gets installed — the marketplace-hijack pattern above hides a swapped package inside an otherwise-normal-looking request.

Worth doing for anything with real access (filesystem, shell, credentials), more effort:

  • Pin to a specific version/commit rather than "latest" — this is the direct mitigation for the "legitimate package gets compromised later" failure mode, which the Axios and keyv incidents above both were.
  • Consider a dependency-monitoring tool (Socket.dev is the most cited for exactly this — alerts on new vulnerabilities, maintainer changes, and packages starting to make network requests they didn't make before; deps.dev is a free alternative for basic lookup) if you're pulling in enough third-party skills/packages that manual review stops scaling.
  • Run unfamiliar tooling in an isolated/sandboxed context first (a VM, a container, a throwaway environment) before giving it access to your real filesystem or credentials — this is the single highest-leverage practical step and the one most often skipped.

Explicitly not worth it for a solo home setup (per the same OWASP checklist, scaled down): a formal skill-inventory/governance workflow, mandatory code-signing infrastructure you maintain yourself, or enterprise-style approval pipelines. Those solve a team-coordination problem, not an individual-risk one — security theater relative to the actual threat model here.

Handling "it was fine, then it wasn't"

Axios and keyv show pinning-and-forgetting isn't enough if you never revisit pinned versions. But blindly auto-updating is worse — that's exactly the vector (a poisoned release ships with valid signatures and looks like a normal update).

✕Pin and forgetmisses later compromises (Axios, keyv)✕Blind auto-updatethe poisoned release looks like a normal update✓Bot opens an update PR, you read the diffRenovate or Dependabot, then actually look✕Pin and forgetmisses later compromises (Axios, keyv)✕Blind auto-updatethe poisoned release looks like a normalupdate✓Bot opens an update PR, you readthe diffRenovate or Dependabot, then actuallylook
A version bump alone is no longer a safety signal.

Practical middle ground: let a bot (Renovate, Dependabot) open update PRs rather than auto-merging, then actually look at what changed before accepting. A version bump alone isn't a safety signal anymore — CI-signed provenance can come from a compromised-but-legitimate pipeline.

Sources

Weak-sourcing flag: the OWASP "Agentic Skills Top 10" project is real and current but is a newer, narrower-adoption OWASP subproject compared to the flagship OWASP Top 10 — treat its checklist as credible guidance, not as an industry-universal standard the way the main OWASP Top 10 is. The "five of top seven downloads were malware" figure and the "roughly half of 2026 incidents are compromised legitimate packages" figure are flagged VERIFY above — everything else traces to named security research teams, primary vendor writeups, or Anthropic's own docs.

11 / 19