惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
Engineering at Meta
Engineering at Meta
腾讯CDC
宝玉的分享
宝玉的分享
H
Help Net Security
I
InfoQ
博客园 - Franky
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
博客园_首页
美团技术团队
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
The Cloudflare Blog
博客园 - 司徒正美
Vercel News
Vercel News
MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
月光博客
月光博客

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I audited 25 top npm packages with a zero-install CLI. He...
Pico · 2026-05-01 · via DEV Community

Pico

npx proof-of-commitment react zod chalk lodash axios typescript

Enter fullscreen mode Exit fullscreen mode

That's it. No install, no API key, no account. Run it against any package — or drop your package.json at getcommit.dev/audit.

I ran it against 25 of the most downloaded npm packages. Here's what the data shows — and the results are worse than I expected.


The scoring model

Five behavioral dimensions, all from public registry data:

Dimension Max What it measures
Longevity 25 Package age — time in production is signal
Download Momentum 25 Weekly downloads + trend direction
Release Consistency 20 Cadence, recency, gaps
Maintainer Depth 15 Number of active maintainers
GitHub Backing 15 Star traction, repo activity

CRITICAL = 1 maintainer + >10M weekly downloads. Same profile as the LiteLLM attack (March 2026) and the ua-parser-js compromise (October 2021, CVE-2021-41265/CVE-2021-41266).


The data: 25 packages scored (live, April 2026)

Package Score Risk Maintainers Downloads/wk
webpack 100 ✅ SAFE 8 44M
prettier 100 ✅ SAFE 11 87M
typescript 98 ✅ SAFE 6 178M
express 97 ✅ SAFE 5 93M
dotenv 93 ✅ SAFE 3 120M
jest 95 ✅ SAFE 5 44M
tailwindcss 95 ✅ SAFE 3 89M
fastify 95 ✅ SAFE 5 6M
react 91 ✅ SAFE 2 122M
eslint 91 ✅ SAFE 2 125M
vite 91 ✅ SAFE 4 105M
next 91 ✅ SAFE 2 36M
prisma 91 ✅ SAFE 2 10M
rollup 99 ✅ SAFE 5 102M
drizzle-orm 87 ✅ SAFE 4 7M
uuid 82 ✅ SAFE 2 239M
esbuild 88 🔴 CRITICAL 1 190M
sharp 84 🔴 CRITICAL 1 51M
nodemon 86 🔴 CRITICAL 1 12M
hono 82 🔴 CRITICAL 1 34M
axios 89 🔴 CRITICAL 1 101M
zod 83 🔴 CRITICAL 1 158M
lodash 87 🔴 CRITICAL 1 145M
chalk 75 🔴 CRITICAL 1 413M
ts-node 59 ⚠️ WARN 2

What stands out

esbuild has 190M weekly downloads. One maintainer. Evan Wallace built one of the most important tools in the JavaScript ecosystem — the bundler that powers Vite, Next.js, and dozens of other frameworks. It's exceptional engineering. It's also a single point of failure for roughly half the JavaScript build toolchain. If something happens to Evan's npm token, the blast radius is enormous.

That's more downloads than TypeScript (178M/wk). TypeScript has 6 maintainers. esbuild has 1.

Sharp processes images on ~51M npm installs per week. One maintainer. Server-side image processing for most Node.js production deployments. It has native bindings. A malicious version would be hard to detect and devastating.

Chalk (413M downloads/week) is still the biggest exposure. The most downloaded package on npm that's sole-maintained. It colors your terminal output. Every project that has a CLI, every build script, every logging framework — chalk is in there. One token compromise.

The "safe" packages earn it. webpack (score=100) has 8 maintainers, 44M weekly downloads, and 15 years of shipping. prettier has 11 maintainers. typescript is Microsoft-backed. These packages would survive a maintainer leaving. The CRITICAL packages wouldn't.

The ua-parser-js attack in October 2021 proved the model. A compromised npm account published malicious versions in minutes. npm audit showed zero issues beforehand. The structural profile — 1 maintainer, ~8M downloads/week — was exactly the kind of concentrated risk that makes a package a prime target.


Why this matters now

Three patterns converged in early 2026:

  1. AI-assisted supply chain attacks are getting faster. Identifying a high-value target (1 maintainer + massive downloads), generating a plausible malicious payload, and timing the publish to a token compromise — all of this can be automated.

  2. npm audit waits for CVEs. The database catches known vulnerabilities. It has nothing to say about structural risk. Both tools answer different questions. You need both.

  3. Transitive dependencies hide the risk. I audited @anthropic-ai/sdk — score=86, 14 maintainers, looks solid. But two levels deep: json-schema-to-ts (CRITICAL, sole maintainer, 12M downloads/week). You'd never find that in a direct audit.


How to use it

Zero install (try it now):

npx proof-of-commitment axios zod chalk hono esbuild
# Against your own project:
npx proof-of-commitment --file package.json
# Scan ALL transitive deps via lock file:
npx proof-of-commitment --file package-lock.json
# PyPI too:
npx proof-of-commitment --pypi litellm langchain requests

Enter fullscreen mode Exit fullscreen mode

GitHub Action (posts table directly on your PR):

- uses: piiiico/commit-action@v1
  with:
    fail-on-critical: false
    comment-on-pr: true

Enter fullscreen mode Exit fullscreen mode

MCP server (zero install, works with Claude Desktop/Cursor/Windsurf):

{
  "mcpServers": {
    "proof-of-commitment": {
      "type": "streamable-http",
      "url": "https://poc-backend.amdal-dev.workers.dev/mcp"
    }
  }
}

Enter fullscreen mode Exit fullscreen mode

Then ask: "Audit the dependencies in vercel/ai" — it fetches the package.json, scores everything, returns a risk table.

Web demo: getcommit.dev/audit — paste packages or drop your package.json.


What surprises you most? esbuild? The dotenv result? And what signals matter most to you — maintainer count, release recency, something else?

Source: github.com/piiiico/proof-of-commitment