We pulled 160 published npm packages from the AI tooling ecosystem (MCP servers, agent skills and plugins, Next.js/Supabase/Stripe AI packages, and LLM agent tooling), 7,062 source and config files in total, and ran a static AST scanner over all of them. 20.6% of the packages had at least one real vulnerability or hardening flaw. This post covers which bug classes showed up and which ones are worth gating your own agent on.
The numbers
160 packages, 7,062 files scanned
597 findings across 33 packages with issues (20.6%)
167 Critical and 82 High severity findings, 16 packages with a Critical or High flaw
310 hardcoded credentials (CWE-798)
162 SQL injection sinks (CWE-89)
26 IDOR cases (CWE-639), 17 path traversal cases (CWE-22), 6 SSRF cases (CWE-918)
Full methodology and per-cohort results are in the benchmark file: https://github.com/avivgerz-hue/vibe-shield/blob/main/BENCHMARK-2026.md
Bug class 1: hardcoded credentials
By far the most common finding.…