check_package
Assess package existence and typosquat risk before installing. Returns OK/SUSPICIOUS/DANGER with risk flags to prevent hallucinated or mistyped packages.
Instructions
Check whether a single package exists and assess slopsquat/typosquat risk BEFORE installing it. Returns OK/SUSPICIOUS/DANGER + risk + flags. Nonexistent names are likely hallucinated; names 1-2 chars from a popular package are likely typosquats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, e.g. "huggingface-cli". | |
| ecosystem | No | npm |