Is this package safe to install?
package_checkBefore installing an npm, PyPI or crates.io package (or letting an agent install one): OSV's known vulnerabilities and malicious-package reports for that version, whether its name is one typo from a popular package with a fraction of its downloads (typosquatting), install-time scripts that run code on your machine (npm), whether the newest version was published by an account that published none before it (a hijack sign), age, downloads, deprecated or yanked, and whether it links its source. Verdict: high risk, caution or no warnings, with reasons. Use for 'is this npm package safe?', 'should I pip install X?', 'is lodahs legit?'. Facts, not an accusation of the authors.
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": "package_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name, optionally with a version (express@4.18.2) or ecosystem prefix (pypi:requests, crates:serde) | |
| version | No | Version to check. Default: the latest | |
| ecosystem | No | Default npm |