Skip to content

Use the CLI

Check dependencies

Find known vulnerabilities and malicious packages in your locked dependencies, without telling anyone what you use.

On this page

Check your lockfiles

grchero deps finds the lockfiles in your project, reads the exact versions you install and checks them against advisories from OSV.dev, mirrored by grcHero and updated every hour.

Terminal
grchero deps
grchero deps --fail-on high
grchero deps --format sarif > deps.sarif
Output
grcHero CLI 0.7.3 · Dependency check

2 lockfiles · 5 packages (npm 3, PyPI 2)
78 affected · 0 possibly affected
Note: requirements.txt: 1 requirement(s) without an exact == pin were not checked.

[CRITICAL] minimist 1.2.5 · GHSA-xvch-5gv4-984h (CVE-2021-44906)
  Prototype Pollution in minimist
  Fix: upgrade to 1.2.6
  package-lock.json

[HIGH] lodash 4.17.20 · GHSA-35jh-r3h4-6jhm (CVE-2021-23337)
  Command Injection in lodash
  Fix: upgrade to 4.17.21
  package-lock.json

...

Only hashed name prefixes left this machine. Advisories: OSV.dev, as mirrored by grcHero (updated 2026-10-26).

Private by design

Your dependency list never leaves your machine. The CLI sends only the first four characters of a hash of each package name. Many packages share each one, so grcHero returns the advisories for all of them and your CLI keeps the ones that match your exact names and versions.

Note: Malicious packages are always reported, whatever the version: remove the package and rotate any credentials it could reach.

Supported lockfiles

EcosystemLockfiles
npmpackage-lock.json, npm-shrinkwrap.json, yarn.lock, pnpm-lock.yaml
PyPIpoetry.lock, uv.lock, Pipfile.lock, requirements*.txt with == pins
Gogo.sum
crates.ioCargo.lock
RubyGemsGemfile.lock
Packagistcomposer.lock
NuGetpackages.lock.json

Warning: A package.json without a lockfile has ranges, not versions, so it is reported as unchecked. Commit your lockfile. System packages (Debian, Ubuntu, Alpine) are not checked yet.

Read the results

Each finding names the package, your version, the advisory and, when known, the lowest version that fixes it. An advisory whose ranges cannot be compared exactly is shown as possibly affecting, never dropped. --fail-on critical|high|medium|low sets when the command exits with 1.

grcHero CLI 0.7.3. Local checks, human review, verifiable evidence.