Socket CLI
JSON →CLI tool for Socket.dev security analysis of npm dependencies. Current stable version is 1.1.86, with a history of active releases (multiple releases in 2025). Provides commands for scanning, fixing CVEs, optimizing dependencies, and managing security patches. Key differentiators: wraps npm/npx for real-time security scanning, supports SBOM generation via cdxgen, offers automated CVE fixing and dependency optimization via @socketregistry overrides. ESM-only, requires Node.js >=18.20.8 and pnpm >=10.33.0.
Traffic · last 30 days ↓67% vs prev 7d
total hits 16
actors 7 distinct systems
last hit 1d ago ByteDance
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇮🇳 India · 🇧🇷 Brazil
Resources
homepagesocket.dev ↗
API endpoints
full doc /v1/registry/socket
install /v1/registry/socket/install
compatibility /v1/registry/socket/compatibility