dep-vet
v1.0.0Vet a package for CVEs, typosquats, install scripts and hidden prompt-injection text.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vet_package
Vet one package at an exact version before installing it. Reports advisories with fixed versions, install hooks, typosquats, freshness, maintainers, provenance and license, each with an evidence URL. Read-only: nothing is downloaded, extracted or executed. Returns a verdict plus exit code; an incomplete check reports 3, never clean.
| Parameter | Type | Description |
|---|---|---|
ecosystem * | string | Registry to query. Required; there is no default. |
name * | string | Package name as the registry spells it, for example 'left-pad', '@scope/pkg', or 'group:artifact' for Maven. |
version | string | Exact version or dist-tag. Omit to audit the latest published release. Ranges and carets are refused rather than resolved. |
vet_command
Vet the direct packages an install command names, using the same parser as the agent hook. The command is parsed, never executed, and transitive dependencies are not checked.
| Parameter | Type | Description |
|---|---|---|
command * | string | One install command, for example "npm i left-pad@1.3.0". Shell operators, URLs, git and local paths are reported as notes instead of guessed. |
vet_lockfile_change
Audit only the packages a lockfile change adds, comparing the working file against a git ref. Returns one verdict per added package plus an aggregate exit code; an incomplete audit reports 3, never a pass.
| Parameter | Type | Description |
|---|---|---|
lockfile * | string | Lockfile path, relative to the working directory and inside it: package-lock.json, requirements.txt, Cargo.lock, pnpm-lock.yaml, deno.lock, and the rest. |
base | string | Git ref to compare against, such as HEAD~1 or origin/main. Defaults to HEAD. |