Is this package safe to install?
package_checkBefore installing an npm or PyPI package: does it exist (AI-suggested names are sometimes made up, and attackers register them), was it removed from the registry or replaced by an npm security placeholder, has it been reported as malicious (OSV and GitHub Advisory Database malware advisories), which known vulnerabilities affect this version (with the fixed version), is it deprecated or yanked (the npm deprecation text is returned verbatim), how old is it, which lifecycle scripts run on install, do dependencies point at an http(s) tarball or git URL, how many downloads, and does the name imitate a popular package (typosquat). Verdict: ok_to_install, caution, dont_install or does_not_exist. New-package and missing-repository notes stay separate from supply-chain red flags. Read-only metadata only: it never installs the package, downloads the tarball, or runs its code. Sources: OSV.dev, GitHub Advisory Database, deps.dev, the npm registry (npmmirror if npm returns 404) and PyPI.
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: "lodash", "lodash@4.17.15", "@scope/pkg", "requests==2.31.0". | |
| version | No | Optional version to check (default: latest). | |
| ecosystem | No | npm (default) or pypi. |