Skip to content
iomi edited this page Nov 25, 2026 · 4 revisions

FAQ

Why not just use npm audit?

npm audit answers "is a version already installed known to be vulnerable?" It needs a lockfile or an install, and it runs after postinstall hooks have executed. Dep-Vet answers "should I trust this package enough to install it?" and also looks at install scripts, typosquats, maintainers, provenance, and archive contents. They are complementary.

Does Dep-Vet execute package code?

No. audit, lock, guard, inspect, diff, plan, and tree never run package code, never run install hooks, and never extract archives to disk. inspect extracts in memory with caps. The MCP and workflow scanners never start a server or evaluate YAML.

Does it phone home?

Only documented requests: registries and package hosts, OSV, FIRST EPSS, CISA KEV, deps.dev, archive/provenance URLs, and an opt-outable update check to api.github.com. No account, API key, analytics, or crash reporting. The update check reveals your IP and version to GitHub, sends no package data, runs only on an interactive terminal, and is cached for 24 hours. Opt out with DEPVET_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1.

Can it run offline?

tree, workflows, and mcp-config are offline. Package audits need the registry and OSV unless the answers are already cached; a fresh cache is used for 24 hours (advisories five minutes). An unreachable registry is exit 3, not a clean result.

Why does exit code 3 exist?

2 means "high risk"; 3 means "the check could not run or could not finish". Folding an incomplete audit into 0 would read as safe, and into 2 would confuse "this package is dangerous" with "the scanner broke". CI can act on the difference.

Why did an audit exit 3 when it found HIGH findings?

Because something else could not be checked. The report names every package that failed and still shows the findings it has. An incomplete audit is never a pass.

Which ecosystems are fully covered?

npm, PyPI, crates.io, and Composer expose the most metadata. RubyGems and NuGet are basic: no owner list, download figure, or install-script visibility. JSR has no advisories. Maven has no repository/owner/download data and no lockfile. Go exposes advisories and versions only. Those gaps appear under not checked.

Does it resolve transitive dependencies?

audit and lock cover the installed tree from a lockfile. plan resolves npm ranges and Maven POMs before install. Single-package commands are direct only. guard audits the packages named in the command, not their transitive tree.

Why isn't Maven a normal lockfile ecosystem?

Maven has no lockfile. Dep-Vet reads Maven's own resolved tree (mvn dependency:tree -DoutputFile=maven-tree.txt) or resolves one coordinate / local pom.xml through plan maven. Profiles and multi-module reactors are not approximated.

Why wasn't my package flagged as a typosquat?

Names under four characters are skipped. A package with at least one million weekly downloads is never called a lookalike of a nearby name, and a legitimate neighbour is excluded on purpose: preact is not a react typo. Typosquat matching is a seed list, not a popularity ranking.

Is there a risk score?

No. A score hides which signal fired and how strong the evidence is. Findings carry severity, confidence, and links instead.

Does it replace Socket, Snyk, or Dependabot?

No. It adds the local, pre-install question those tools do not answer, without an account. It is not a hosted service, license-compliance suite, or update bot.

Which platforms are supported?

Linux (x64/arm64, static musl where possible), macOS (x64/arm64), and Windows x64. One binary per platform; npm bundles all of them.