cd /news/developer-tools/i-built-a-free-ide-extension-to-catc… · home topics developer-tools article
[ARTICLE · art-32388] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I built a free IDE extension to catch malicious npm packages before they wreck your project

A developer built NPM Safety Guard, a free IDE extension that scans package.json and lockfiles for malicious npm packages across 22 detection layers. The tool catches typosquats, AI-hallucinated package names, suspicious scripts, and credential leaks without requiring a separate CLI step or account for core features.

read1 min views1 publishedJun 18, 2026

Supply-chain attacks via npm are up year-over-year — packages like event-stream

,

the Lazarus group drops, and AI-hallucinated typosquats keep landing in real codebases.

I got tired of finding out after the fact, so I built NPM Safety Guard.

It scans your package.json

and lockfiles right inside your editor — no separate CLI step.

Here's what it currently catches across 22 detection layers:

lodahs

, reàct

, and AI-hallucinated package namespreinstall

/postinstall

before you run themeval

, and payload patterns in the actual source.env

, .npmrc

, .pem

All free. No account required for the core layers. MIT licensed on the VS Code side.

The VS Code extension is TypeScript. The JetBrains plugin is Kotlin. They share the same

detection signatures bundled at build time — no cloud dependency for the core scan.

CVE lookups hit OSV.dev with a 24-hour local cache so you're not waiting on a network

call every keystroke.

Have you been burned by a supply-chain attack before? Or do you have a detection layer

you wish existed? Drop it in the comments — I'm actively adding new signatures.

── more in #developer-tools 4 stories · sorted by recency
── more on @npm safety guard 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-free-ide-e…] indexed:0 read:1min 2026-06-18 ·