Features
Dependencies & Engines
DeployReady’s own checks are native and offline. Engines are optional adapters around well-known scanners. They add dependency CVEs and, if you choose, your own Semgrep rules.
An engine runs only when it is installed andapplicable to your project. DeployReady never downloads or installs a scanner for you. Each engine's findings are normalized into DeployReady findings with the source engine:<id>.
Engines#
| Engine | Wraps | Runs when | What leaves your machine |
|---|---|---|---|
npm-audit | npm audit --json --omit=dev, or pnpm audit --json --prod | package-lock.json or pnpm-lock.yaml exists and npm or pnpm is on PATH. yarn.lock is skipped, with a coverage note. | Dependency names and versions go to your configured npm registry. No source code. |
osv-scanner | osv-scanner scan source (v2) | osv-scanner is on PATH and a known manifest exists. | Package names and versions go to api.osv.dev. No source code. |
pip-audit | pip-audit with --no-deps and --disable-pip, on requirements.txt | pip-audit is on PATH and requirements.txt exists. | Package names and versions go to PyPI or the OSV service. No source code. |
semgrep | semgrep scan with your rules, --metrics=off | Opt-in only: --engines semgrep and --semgrep-config. | A local rules path sends nothing. A registry id such as p/... downloads rules from semgrep.dev. Your code is not uploaded. |
Gitleaks is a separate, optional secrets adapter. If a gitleaks binary is already on your PATH, DeployReady runs it on the project directory with --redact and merges its hits with its own secret detectors, dropping duplicates on the same file and line. It is not part of --engines. Set DEPLOYREADY_GITLEAKS=0 to turn it off. The built-in detectors always run either way.
Flags#
| Flag | What it does |
|---|---|
--no-deps | Skip all dependency engines (npm/pnpm audit, OSV-Scanner, pip-audit). |
--engines <list> | Run only the named engines: npm-audit, osv-scanner, pip-audit, semgrep, or all. Semgrep never runs unless it is named here. |
--offline | Skip every engine that contacts a network service and record it as skipped. Native checks are unaffected. Dependency engines are on by default, so use --offline for a fully offline run. |
--semgrep-config <path-or-registry> | Rules for the opt-in Semgrep engine. DeployReady ships no rules and never picks a registry for you. auto is refused because Semgrep requires metrics for it. |
# fully offline: native checks only
npx deployready@latest analyze . --no-ai --no-dynamic --offline
# skip dependency audits but keep everything else
npx deployready@latest analyze . --no-ai --no-dynamic --no-deps
# opt in to Semgrep with your own rules
npx deployready@latest analyze . --no-ai --engines semgrep --semgrep-config ./semgrep-rulesData egress#
The GitHub Action does not set --offline. In a repository with a lockfile it runs the dependency audit as above. To avoid that, add args: --offline or args: --no-deps.
Severity mapping#
Advisories become findings with the rule dependency-vulnerability, carrying the package, installed version, fixed version, advisory id and URL, and an upgrade command. Dependencies are audited as production-only.
- critical advisories are critical findings.
- high and moderate advisories are warnings. This is deliberate: an advisory does not say whether the vulnerable code path is reachable from your app, and treating every transitive high as release-blocking makes CI gates unusable. Use --fail-on warning if you want high advisories to fail the build.
- low and info advisories are info.
- pip-audit publishes no severity, so its findings are warnings.
- Semgrep ERROR and WARNING become warnings and INFO becomes info. The rules are yours and unverified by DeployReady.
When an engine fails#
A timeout, non-JSON output, an unreachable registry, or missing lockfile entries is reported as an error in that area's coverage and as a console warning. It is never treated as a clean result. Skipped items, such as yarn, pyproject.toml, or --offline, are recorded with a reason. Per-engine results are in report.engineRuns in the JSON report.
How engines are run#
- Child processes use execFile with argument arrays, never a shell, with a timeout (default 120 seconds) and a 20 MB output cap.
- The working directory is the project root. The environment is minimal: PATH, HOME, locale, and proxy and CA variables only. No tokens or API keys are passed.
- Output is treated as untrusted: it is parsed in a try/catch, shapes are validated, and file paths outside the project are discarded.
- pip-audit runs with --no-deps and --disable-pip, so nothing is installed or built. Unpinned requirements produce an error. pyproject.toml is skipped because auditing it would run build backends.
- An engine finding at the same file, line, and CWE as a native finding is dropped, and the native finding is annotated. The same advisory reported by two dependency engines is kept once.
Installing the engines#
- npm and pnpm: already present with Node.
- OSV-Scanner:
go install github.com/google/osv-scanner/v2/cmd/osv-scanner@latestor a release binary from the OSV-Scanner GitHub releases. - pip-audit:
pipx install pip-audit. - Semgrep CE:
pipx install semgrep.
Each tool has its own license, and the rules you load into Semgrep carry theirs. See the Security and privacy page for everything DeployReady sends.