typosquat_check
Check a package name for typosquatting risks by identifying popular packages with edit distance ≤ 2. Supports npm and PyPI.
Instructions
Check if a package name is suspiciously similar to popular packages (potential typosquatting). Returns matches with edit distance <= 2.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "typosquat_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name to check for typosquatting | |
| ecosystem | No | Package ecosystem: "npm" or "pypi" (default: "npm") | npm |