dep-vet

v1.0.0
io.github.nassih-yassine/dep-vet Checked 4 days ago Published 3 days ago

Vet 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.

ParameterTypeDescription
ecosystem *stringRegistry to query. Required; there is no default.
name *stringPackage name as the registry spells it, for example 'left-pad', '@scope/pkg', or 'group:artifact' for Maven.
versionstringExact 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.

ParameterTypeDescription
command *stringOne 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.

ParameterTypeDescription
lockfile *stringLockfile path, relative to the working directory and inside it: package-lock.json, requirements.txt, Cargo.lock, pnpm-lock.yaml, deno.lock, and the rest.
basestringGit ref to compare against, such as HEAD~1 or origin/main. Defaults to HEAD.