Check an install command before running it
foster_check_install_commandCheck a package install command before running it to block malware, hallucinated names, and unfixable vulnerabilities, and flag risky look-alikes or new install-script packages.
Instructions
Before running a shell command that installs packages (npm/pnpm/yarn/bun, npx, pip/uv/poetry, cargo, go get, gem, composer), check every package it would install. Returns deny for known malware, names that do not exist (hallucinated or typo'd) and vulnerabilities no release fixes; ask for look-alike names, brand-new npm packages or fresh releases that run install scripts, and fixable vulnerable versions; allow otherwise, with a note for unmaintained packages.
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": {
"command": "<command>"
},
"name": "foster_check_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The exact shell command you are about to run, e.g. 'npm install left-pad' |