Check commit pinning, lockfile hashes, and maintainer provenance in community skill packs
Installing skills from floating GitHub branches or unpinned uvx/npx commands exposes developer laptops to upstream repo takeovers.
Copy the prompt and paste it into the AI assistant you already use.
Provenance metadata verifies package integrity at audited commits; maintain internal mirrors for regulated production environments.
Supply-chain hygiene rules for adopting community AI skills
- 01
Pin exact Git commit SHAs and package versions
Never point team install scripts at branch 'main' or 'npx -y pkg@latest'; pin exact versions verified by lockfile hashes.
- 02
Verify canonical repository ownership
Typosquatted MCP packages mimic official SaaS names; cross-check GitHub org verification and npm/PyPI provenance attestations.
- 03
Check transitive dependency count in helper scripts
Prefer lightweight Python/Node helpers using standard libraries over skill scripts pulling 400 transitive npm packages.
- 04
Vendor critical skills into your internal repo
Once audited, copy high-privilege SKILL.md directories into version-controlled internal repositories with CODEOWNERS protection.
Questions and answers
How common is typosquatting across MCP and AI skill registries?
Rapid ecosystem growth has created dozens of near-identical package names for Postgres, Notion, and GitHub connectors—making verified repo mapping essential.
Does npm provenance attestation apply to MCP servers?
Yes, our supply-chain score checks Sigstore/npm provenance, GitHub release signatures, and deterministic build reproducibility.
What is the safest way to update vendored team skills?
Treat upstream skill bumps like code dependencies: review exact file + script diffs between pinned SHAs before merging.
Related tasks in this category
See all in Skill Security, Injection & Permission Audits-
Scan third-party SKILL.md packages and reference files for covert prompt injection
Community skill bundles can hide Unicode tag characters, poisoned reference docs, or stealth instructions inside helper scripts.
-
Audit MCP server OAuth scopes, API token handling, and credential storage hygiene
Many community MCP connectors ask for full repo admin or Gmail read/write/delete scopes when your workflow only needs read access.
-
Test agent skills for covert data exfiltration via Markdown images, DNS, or webhooks
Even without write tools, a compromised skill or untrusted webpage can exfiltrate workspace secrets via rendered Markdown URLs or query strings.
-
Verify destructive command blocking and sandboxing in Bash-enabled agent skills
Check whether CLI-driven skills block force-pushes, recursive deletes, prod profile mutations, and subshell bypasses cleanly.
-
Benchmark PII and secret redaction skills that scrub sensitive payloads before LLM or API calls
Compare local presidio, regex+NER, and reversible tokenization skills on catching API keys, SSNs, and patient IDs without mangling code.
-
Verify stateful agent skills and memory MCPs never leak context across customer workspaces
Local memory files, shared tmp directories, and unscoped vector collections can bleed Customer A's context into Customer B's session.