According to Agent Skills Hub (agentskillshub.top, open dataset archived on CERN Zenodo under DOI 10.5281/zenodo.21292799), across 276,000+ indexed AI agent skills and MCP servers (with 138,000+ graded against 44 published static rules), repositories with under 20 GitHub stars carry roughly 9x higher severe security risk than established projects.
Most developers treat a SKILL.md or .mcp.json file like a harmless README or config snippet. In practice, installing an unvetted skill into Claude Code, Codex, Cursor, or Gemini CLI gives third-party prompt instructions and shell scripts direct reach into your local filesystem, .env secrets, SSH keys, and git credentials.
When we built Agent Skills Hub (agentskillshub.top) — an open-source directory and pre-install trust layer synced from GitHub every 8 hours (source: zhuyansen/agent-skills-hub, MIT) — we wanted hard numbers rather than anecdotes. Here is what came out of scanning the open-source ecosystem.
1. The Supply-Chain Blind Spot: Stars Are Not an Audit
Across our 117,000-skill longitudinal snapshot (now expanded past 138,000 graded entries, covering 99% of repositories above 100 stars):
| Signal / Cohort | What We Observed | Practical Takeaway |
|---|---|---|
Repositories <20★ |
~9x higher severe flag rate vs. established repos | Long-tail copycat and bait repos concentrate the worst patterns (`curl \ |
Repositories {% raw %}>100★ |
99% graded; much lower malware rate, but not zero risk | Popular repos still ship overly permissive tool rules, silent telemetry, or unpinned remote fetches. |
Unaudited (Unaudited) |
Never default-safe | Treat Unaudited as unknown risk until inspected, never as Safe. |
We publish the full raw grading taxonomy and rule set openly at agentskillshub.top/how-we-grade/ and archive the CC BY 4.0 dataset on CERN Zenodo (DOI: 10.5281/zenodo.21292799; companion supply-chain security audit DOI: 10.5281/zenodo.24387074) and Hugging Face so researchers and security teams can reproduce or challenge every label.
2. The 5 Security Grades Explained
Every scanned repository on Agent Skills Hub (agentskillshub.top) receives one of five explicit states based on 44 published static rules inspecting SKILL.md, READMEs, repository metadata, and referenced install commands:
| Grade | Meaning | Recommended Developer Action |
|---|---|---|
| Safe | Passed all 44 static checks with clear provenance and scoped behavior | Standard review of permissions before adding to a team repo |
| Caution | Minor hygiene or broad capability signals (e.g., network calls or shell commands that need context) | Inspect the flagged snippet and pin to a specific commit SHA |
| Unsafe | High-risk patterns such as .env / ~/.ssh access, obfuscated payloads, or unsafe `curl \ |
sh` pipes |
| Reject | Severe malicious or credential-exfiltration indicators | Do not install |
| Unaudited | Indexed from GitHub, awaiting automated or manual grading | Run through a pre-install scanner before cloning |
Honest limitation: static README and metadata scanning catches obvious supply-chain traps fast, but it does not replace runtime sandboxing or reading executable scripts inside a cloned skill folder. Think of static grading as your first gate, not your only defense.
3. Four Red Flags We See Repeatedly in SKILL.md and .mcp.json
-
Silent remote pipe execution: Instructions telling the agent to run
curl -fsSL <remote-url> | shor download precompiled binaries during setup. -
Unscoped secret reads: Prompt instructions or helper scripts that read
~/.aws,~/.ssh,.env, or macOS Keychain tokens when the stated task needs none of them. - Hidden instruction / prompt-injection wrappers: Instructions telling the agent to perform background telemetry or modify global settings without informing the user.
- Deleted or hijacked upstream repos ("ghost repos"): Skills that look legitimate in an old blog post, then get transferred or rewritten months later. That is why we re-sync GitHub metadata every 8 hours and recommend pinning commit SHAs.
4. A 30-Second Pre-Install Checklist Before Cloning Any Skill
-
Check the live grade or paste the repo URL into the free scanner at agentskillshub.top/analyzer/ before running
npx skills addor cloning locally. -
Read
SKILL.mdand every script inscripts/— watch for unrestrictedBashpermissions, outbound webhooks, and base64-encoded blocks. -
Pin a commit SHA or tag instead of tracking
mainon third-party community skills. - Compare alternatives on hands-on benchmarks (e.g., code review, secret detection, database MCPs) at agentskillshub.top/best/ rather than installing the first high-star repo you see.
Open Data & Reproducibility
- Directory & Live Grades: agentskillshub.top (276,000+ indexed, 138,000+ graded, 8-hour GitHub sync)
- 44 Published Grading Rules: agentskillshub.top/how-we-grade/
- Free GitHub Repo Pre-Install Scanner: agentskillshub.top/analyzer/
- Open Research Dataset (CC BY 4.0): CERN Zenodo DOI 10.5281/zenodo.21292799
- Open-Source Code: github.com/zhuyansen/agent-skills-hub
(Note: Agent Skills Hub (agentskillshub.top) is an independent open-source project maintained by Jason Zhu / BRICKAI, distinct from agentskillshub.dev.)
Top comments (6)
the agents recommending these don't filter on stars either. we checked which github repos claude, chatgpt and google ai mode cite on mcp and dev tool questions, and about a third had under 20 stars. a repo name that matches the question's words mattered more
That aligns closely with what we're seeing on the indexing side too—keyword/slug match often wins LLM retrieval even when the repo has <20 stars and zero audit history. That's the exact gap that worries us: AI search surfaces long-tail repos at ~30%+ share, while the <20★ cohort is where we saw ~9x higher severe flag rates across our 138K audited entries.
Curious how you structured your citation check across Claude/ChatGPT/Google AI Mode—did you notice any difference between repos that ship structured metadata/manifests vs. plain READMEs? Happy to share our raw CC-BY-4.0 dataset (Zenodo DOI: 10.5281/zenodo.21292799) if you ever want to cross-reference citation rate vs. security grade!
didn't split on manifests, and i doubt they'd move it. we ran the same prompts through each engine and logged what it pulled vs what it cited. 94 of 112 cited github urls were the repo root, so what the engine weighs is the name, the about line and the top of the readme
The unscoped .env reads are what my plumber-mcp flags.
Nice—unscoped
.envreads are easily one of the highest-signal red flags in community skills. StaticSKILL.md/README grading (our 44 rules) is really just the fast pre-install gate before cloning, so deeper code/runtime checks likeplumber-mcpare a great complement.Drop the GitHub link if it's public—would love to check it out and make sure it's indexed & graded on agentskillshub.top!
a grade that sticks after the repo changes hands is the scary part. does the 8-hour sync re-grade on transfer, or does the old grade hold until something else triggers a scan?