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.

yanacuti1121 52a4615 4 files · 49.0 KB Updated 2 repo stars

File contents

yanacuti1121/Yana-AI/tree/main/core/skills/detecting-typosquatting-packages-in-npm-pypi commit 52a4615fcb

Frequently asked questions

npx skillmds add yanacuti1121/detecting-typosquatting-packages-in-npm-pypi