check_typosquat
Check if a package name is a typosquat of a well-known package across 17 ecosystems by detecting 1-2 character differences, helping prevent installation of malicious or hallucinated packages.
Instructions
Typosquat detector. USE WHEN: name differs from a well-known package by 1-2 chars (lodsh, reqeusts); copy-paste from unreliable source; downloads near zero but name looks familiar. RETURNS: {is_typosquat, likely_target, confidence}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecosystem | Yes | ||
| package | Yes |