typosquat_compare
Assess typosquatting risk by comparing two package names using edit distance, similarity, character-level diff, and confusable character warnings.
Instructions
Compare two package names directly to assess typosquatting risk, showing edit distance, similarity percentage, character-level diff, and confusable character warnings
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_a": "<name_a>",
"name_b": "<name_b>"
},
"name": "typosquat_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_a | Yes | First package name | |
| name_b | Yes | Second package name |