Skill · Published 2026-08-08

package-typosquat-guard

Download package-typosquat-guard.zip 100% test coverage Ported from rules::package_check

A Claude Skill: download it, run it locally before running an install command you or your agent generated.

What it checks

python3 check_package.py "npm install experss"
python3 check_package.py --stdin

Flags an exact hit on a small, publicly-documented known-malicious list (crossenv, colourama, and a few others), or a name within edit distance 1-2 of a popular package across npm, pip, cargo, and gem.

Where this came from

Ported from the same rule pack that runs inside PinkyAI’s own local security engine (rules::package_check), re-implemented independently in dependency-free Python with its own full test suite — currently at 100% statement coverage.

Honest scope

The known-malicious list is a seed of historical incidents, not a live threat feed. Typosquat distance is real evidence, not proof — a legitimately different, low-popularity name can coincidentally sit close to a popular one. Report a flag as “worth a second look,” never as certainty. Only the first package name in a multi-package install is checked.

Preview the real source

Read straight out of this skill's own source directory, unedited — the exact bytes that ship inside package-typosquat-guard.zip, not a rewritten excerpt. Switch tabs to read a file before downloading, or use Copy to paste it somewhere else.

Choose a file to preview

← Back to skills