supply-chain-audit
Skill18 starsChanged 3 months agoMITView on GitHub
Inspect agent supply chain — skills/plugins/MCP/npm/py packages, hooks, scripts, remote prompts,
- Pipes a download into a shell
- Reads credentials
- Deletes or force-pushes
8 other projects use a version of this.
Adopted by
Most recently taken up by
- TheColliery/CoalMinetheir own version, first seen Oct 2, 2026
- mtarcure/claude-vibe-squadtheir own version, first seen Sep 19, 2026
- crafter-station/skillstheir own version, first seen Aug 25, 2026
- michaelalber/ai-toolkittheir own version, first seen Jul 30, 2026
- Nordic-AI/production-readiness-skillstheir own version, first seen Apr 17, 2026
- rana/skillstheir own version, first seen Apr 1, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- mtarcure/claude-vibe-squad★ 162same name
- crafter-station/skills★ 111same name
- TheColliery/CoalMine★ 13same name
- Montimage/skills★ 9same name
- IsaacGemal/claude-skills★ 2same name
- michaelalber/ai-toolkit★ 2same name
- Nordic-AI/production-readiness-skills★ 2same name
- rana/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- reviewSkill
- mcp-auditSkill
- owasp-agentic-reviewSkill
- threat-modelingSkill
- architecture-diagramSkill
- c4-modelSkill
- aws-well-architected-reviewSkill
- cloud-design-patternsSkill
- assistantSkill
- dev-companionSkill
- onboardingSkill
- output-handshakeSkill
- pr-fallbackSkill
- projectSkill
- workspace-knowledge-syncSkill
- workspaceSkill
- dbt-validationSkill
- snowflake-validationSkill
- adrSkill
- agreementSkill
- bugSkill
- decision-logSkill
- development-workflowSkill
- epicSkill
- incidentSkill
- management-unit-assessmentSkill
- meeting-minutesSkill
- planningSkill
- prdSkill
- project-assessment-evidenceSkill
- project-assessmentSkill
- spikeSkill
- taskSkill
- technical-unit-assessmentSkill
- trdSkill
- user-storySkill
- workflow-client-bootstrapSkill
- workflow-generic-projectSkill
- work-itemSkill
- bragSkill
- brag-slimSkill
- design-assessmentSkill
- design-improvementSkill
- figma-code-connect-componentsSkill
- figma-create-design-system-rulesSkill
- figma-create-new-fileSkill
- figma-implement-designSkill
- figmaSkill
- frontend-design-reviewSkill
- frontend-designSkill
- web-design-guidelinesSkill
- fix-merge-conflictsSkill
- gh-address-commentsSkill
- gh-contribution-plannerSkill
- gh-fix-ciSkill
- github-cli-workflowSkill
- gitlab-cli-workflowSkill
- worktreeSkill
- clickup-cliSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 74
Check for capabilities/upstream.lock or embedded checksum (per #370) if available
- Very specific: line 78
Verify upstream.license matches repo LICENSE (check gh api repos/<owner>/<repo>/license and per-subdir LICENSE if ambiguous — e.g., …
- Very specific: line 79
If AGPL (e.g., oxsecurity/megalinter) → prefer PIN EXTERNALLY, not vendored (avoid MIT contagion)
- Very specific: line 80
Document distribution.redistribution_allowed and attribution_file
- Very specific: line 133
Never auto-merge PRs with security.shell: true or network: true or mcp: [community] without review
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Supply-Chain Audit
Inspect a capability's supply chain before adopting — validate provenance, pins, hashes, licenses, network, and permissions.
Use when
- Reviewing a PR that vendors a new third-party skill/plugin/MCP
- Deciding ADOPT vs PIN EXTERNALLY vs REJECT for an upstream
- Auditing existing
skills/,mcp/registry/,plugins/, hooks, or npm/py deps
Inputs
- Capability path (e.g.,
skills/design/frontend-design/,mcp/registry/github.yaml,plugins/agent-toolkit-core/.claude-plugin/plugin.json) - Optional:
capabilities/upstream.lockorSKILL.mdfrontmatterupstreamblock
Steps
1. Provenance
Check upstream: {repository, path, ref, license}:
refmust be immutable tag or 40-char SHA — nevermain/master/latestlicensemust be SPDX orunknown(if unknown → prefer PIN EXTERNALLY, document why)- Compare
refto upstream latest (gh api repos/<owner>/<repo>/commitsorgit ls-remote) — flag drift - For vendored content, verify
LICENSE.txt/NOTICEpreserved alongside
Host users: apply the checks above by reading SKILL.md frontmatter and capabilities/upstream.lock (when present). Do not rely on repo-root scripts/ — those paths are not installed with the toolkit.
Maintainer / repo checkout / CI only:
python3 scripts/validate-upstream.py --check
python3 scripts/validate-upstream.py --strict # flags missing provenance for third-party-looking paths2. Version pins & hashes
- MCP:
mcp/registry/*.yamlpackagemust be pinned (tag/SHA), notlatest - npm/py:
package.json/pyproject.tomlpins, no unpinned* - Docker (MegaLinter): image
sha256:pinned - Hooks:
commandarray, nocurl | bash, nonpxwithout pin - Check for
capabilities/upstream.lockor embeddedchecksum(per #370) if available
3. Licenses & redistribution
- Verify
upstream.licensematches repo LICENSE (checkgh api repos/<owner>/<repo>/licenseand per-subdir LICENSE if ambiguous — e.g.,nextlevelbuilder/ui-ux-pro-max-skillgallery/cli) - If AGPL (e.g.,
oxsecurity/megalinter) → prefer PIN EXTERNALLY, not vendored (avoid MIT contagion) - Document
distribution.redistribution_allowedandattribution_file
4. Security surface (static, never exec untrusted code)
Scan for:
shell execution: sh -c, bash, curl, wget, npx, npm, pip, uv, docker run
network: curl/wget/fetch, raw.githubusercontent.*main, npx download
MCP: mcp/registry auth.env secrets not values, remote vs local servers, OAuth
env: credentials exposure, .env.example vs .env, secrets: [] in receipts
filesystem: writes outside workspace, destructive mv/rm -rf
git: hooks, subagents, default-branch push
hooks: blocking/destructive classification per schemas/hook.schema.yamlHost users: perform the static scan with Grep/Read against the patterns above (do not execute untrusted code). Cite file:line evidence in the report.
Maintainer / repo checkout / CI only (repo-root tooling is not on the host install):
./scripts/audit-capability.vsh <path> # per-capability
./scripts/audit-capability.vsh skills/ mcp/ # whole repo5. Trust tier & recommendation
Map to tiers from docs/TRUST.md:
| Tier | Gate |
first-party | passes, no special gate |
verified | ALLOW with PR diff + license/security check → human review |
community | CAUTION — require explicit opt-in, review dangerous_permissions |
experimental | BLOCK default — require isolated test |
Emit recommendation: ALLOW / CAUTION / BLOCK with evidence citations.
Outputs
supply-chain-report.md:
## Supply-chain report — <capability>
- Provenance: repo/path@ref (SHA), license SPDX, checksum
- Pins: versions/hashes (pinned vs mutable)
- Licenses: SPDX, redistribution_allowed, attribution_file
- Security surface: scripts/shell/network/mcp/hooks/dangerous_permissions (list + lines)
- Trust tier: first-party|verified|community|experimental
- Recommendation: ALLOW|CAUTION|BLOCK — rationale with line citationsHuman gates
- Never auto-merge PRs with
security.shell: trueornetwork: trueormcp: [community]without review - Secrets via
${ENV_VAR}placeholders only — never log values
Related
docs/TRUST.md#provenance(schema + matrix)schemas/upstream.schema.json,schemas/skill-md-frontmatter.schema.json- Repo checkout/CI only:
scripts/validate-upstream.py,scripts/audit-capability.vsh(not installed on host) skills/agentic-security/mcp-audit(MCP-specific)skills/agentic-security/owasp-agentic-review(agentic threats)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

