Dependency scan CLI
LIVEnpx @cyberspec/sdk deps reads your lockfiles and checks every package against OSV.dev; source code never leaves your machine. The CLI is from 0.2.0, not yet on npm.
- npm, yarn, pnpm, Poetry, uv, Pipenv, Go modules, Cargo, Bundler, Composer, Gradle and NuGet lockfiles
- requirements.txt (pinned == lines only) and pom.xml (literal versions only, not ${property})
- Shows the package count and asks y/N before sending; sends only package names, versions and lockfile paths
- Results land under Findings with the fixed version to upgrade to
- --yes for CI, --fail-on <severity> for the exit code, --name for the codebase; from 0.2.0, not yet on npm

Run it from the root of a project with an API key in CYBERSPEC_API_KEY. It skips node_modules, .git, build output and virtualenvs, lists what it found and asks before sending. CyberSpec matches the packages against OSV.dev, and the fix is the fixed version OSV lists, so it is deterministic rather than AI. Findings then get Explain, Triage and the daily digest like any other. The command ships in @cyberspec/sdk 0.2.0, which is not on npm yet; npm’s 0.1.0 has no CLI.
Run it
From the root of a project, with an Owner or Admin key. It lists the lockfiles and the package count, says what will be sent, and asks y/N. Name the codebase with --name acme/web; the default is the directory name made safe ("My Project" becomes my-project). If any lockfile fails to parse, nothing is sent, because every upload is treated as the whole codebase.
CYBERSPEC_API_KEY=cs_live_... npx @cyberspec/sdk depsOptions
The optional dir argument picks the folder to read; the default is the current directory. --fail-on takes critical, high, medium or low. CYBERSPEC_API_URL overrides the API address. From code, readLockfiles(dir) returns the package list and cs.code.scan({ name, packages, consent: true }) sends it; both are also new in 0.2.0.
Usage: cyberspec deps [dir] [--name <name>] [--yes] [--fail-on <critical|high|medium|low>]
--name Codebase name in the portal (default: the directory name)
--yes Send without asking (for CI)
--fail-on Exit 1 if any finding is at or above this severity
Needs CYBERSPEC_API_KEY (an Owner or Admin key from Settings → API).Exit codes
The --fail-on count covers every vulnerable package in this upload, including ones a person marked as risk accepted in the portal.
0 Sent and checked; nothing at or above --fail-on in this upload
(also: no --fail-on given, --help, or you answered N at the prompt)
1 --fail-on was set and this upload found a vulnerability at or above it
2 Nothing checked: bad arguments, CYBERSPEC_API_KEY missing, an unusable
--name, a lockfile that failed to parse, no lockfiles found, no terminal
and no --yes, or the API refused the requestDrift over the whole codebase
A vulnerable version that is no longer in your lockfiles is resolved by the next upload; one that comes back reopens. Anything a person triaged stays as they set it. Private package names are sent to OSV.dev like public ones, and the CLI says so before sending. Source review, private-registry advisories and licence checks are not part of this. Dependency findings do not send an instant alert; the daily digest reports them.
The parts of CyberSpec that do this
Dependency scanning LIVE
A CLI reads your lockfiles locally and checks package names and versions against OSV.dev; source code never leaves your machine.
Vulnerability management LIVE
Every finding deduplicated across scans, sorted by what to fix first, with CVSS scoring and remediation guidance.
Digest: alerts and daily email LIVE
A daily email of what is new since yesterday and how to fix it, plus instant alerts on critical and high findings.
For teams in United States
US buyers mostly meet security questions through SOC 2, ISO 27001 or PCI DSS. CyberSpec maps every open CVE finding to the controls in all three, from live scans, so the evidence is current when an auditor or a customer asks.
CyberSpec is $19 per client a month for up to 5 assets, a $129 one-off report, or free for one asset.
See your own exposure in minutes
Free for one asset, no card. Add a domain, prove you own it, and run your first scan.
More in Developers
Node.js SDK reference
Constructor options, methods, errors and versions for @cyberspec/sdk, the typed Node.js client for the CyberSpec API.
CI/CD integration
Fail a build on vulnerable dependencies or known-exploited findings, with one CLI step or a short SDK script.
REST API
The JSON API behind the portal and the SDK: assets, scans, findings, AI agents, reports and code scans.
API keys
Keys scoped to your organisation, with the creator’s role at creation time, shown once and refused on the next request after revocation.
Pricing
Free for one asset, per-client pricing for MSPs, custom at volume.