FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
I Scanned 500 npm Packages for Typosquatting — 23 Were Suspicious
How-ToWeb Development

I Scanned 500 npm Packages for Typosquatting — 23 Were Suspicious

via Dev.to JavaScriptAlex Spinov2h ago

Last month, a developer on my team installed colurs\ instead of colors\ . One letter difference. The package existed, had 200+ weekly downloads, and contained code that silently posted environment variables to a remote server. That incident made me wonder: how many of the 2+ million npm packages are typosquatting popular ones? The Experiment I wrote a script that: Took the top 500 most-downloaded npm packages Generated common typos (character swaps, missing letters, doubled letters, common misspellings) Checked if those typo-names existed as real packages Analyzed what those packages actually did The Results Out of ~4,500 typo variations I generated, 347 existed as real packages . Most were legitimate (abandoned, joke packages, or unrelated). But 23 raised red flags: 8 had install scripts that made network requests 6 had obfuscated code in their postinstall\ hooks 5 had suspiciously recent publishes (within 2 weeks) with names close to trending packages 4 had dependency chains that pul

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
0 views

Related Articles

Tutorials Are Lying to You Here’s What Actually Works ?
How-To

Tutorials Are Lying to You Here’s What Actually Works ?

Medium Programming • 52m ago

Flutter Mistakes That Make Apps Slow ⚡
How-To

Flutter Mistakes That Make Apps Slow ⚡

Medium Programming • 1h ago

Welcome Thread - v370
How-To

Welcome Thread - v370

Dev.to • 1h ago

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories
How-To

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories

Dev.to Beginners • 1h ago

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers
How-To

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers

Dev.to Beginners • 2h ago

Discover More Articles