Detecting Typosquatting Packages In NPM Pypi

Detects typosquatting attacks in npm and PyPI package registries by analyzing package name similarity using Levenshtein distance and other string metrics, examining publish date heuristics to identify recently created packages mimicking established ones, and flagging download count anomalies where suspicious packages have disproportionately low usage compared to their legitimate targets. The analyst queries the PyPI JSON API and npm registry API to gather package metadata for automated comparison. Activates for requests involving package typosquatting detection, dependency confusion analysis, malicious package identification, or software supply chain threat hunting in package registries.

26zl Updated 95 repo stars
Cybersec Toolkit by 26zl: the security toolkit AI agents can drive. One command installs 670+ tools, and an MCP server runs them in a disposable Kata VM under r

File contents

26zl/cybersec-toolkit commit 569b7d6fb5

Frequently asked questions

npx get-skill add 26zl/detecting-typosquatting-packages-in-npm-pypi-2