owasp/CVE Lite CLI

Run CVE Lite CLI in GitHub Actions for JS/TS dependency vulnerability scanning.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 11, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: owasp/cve-lite-cli@99b7b0dcd4c687116890515dbfa8f955871776cc # v1.26.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
node-versionNode.js version used to install and run CVE Lite CLIno24
pathProject path to scanno.
fail-onExit non-zero at or above this severityno""
allShow all findings in the table regardless of severity thresholdnofalse
verboseRun the scan with verbose outputnofalse
prod-onlyExclude dev dependencies where availablenofalse
offlineRun the scan using the local advisory databasenofalse
offline-dbPath to the local advisory database fileno""
sync-advisoriesBuild or refresh the local advisory database before scanningnofalse
usageScan source files to detect which vulnerable packages are actually importednofalse
only-usedOnly report findings for packages that are imported in source code (implies usage)nofalse
sarifWrite SARIF 2.1.0 output to a timestamped .sarif file for GitHub Code Scanning uploadnofalse
no-cacheSkip the OSV query cache and fetch fresh results; defaults to true in CInotrue
cdxWrite CycloneDX 1.4 SBOM to a timestamped .cdx.json filenofalse
ca-certPath to a PEM CA certificate file for corporate SSL inspection proxiesno""
versionCVE Lite CLI version to install (e.g. '1.23.1', '1', 'latest')no1
check-overridesRun override hygiene checks (OA001-OA008) inline with the scan and surface findings in the same reportnofalse
overridesRun a dedicated 'cve-lite overrides' audit (OA001-OA008) as a separate step in addition to the scannofalse
overrides-fail-onExit non-zero when the dedicated overrides audit finds an issue at or above this severity (used with overrides: true)no""
check-networkAllow the override audit to make registry calls for the OA007 drift check; off by default in CInofalse
audit-logStream override detection and fix events as NDJSON change-control to this pathno""
fixApply validated direct dependency upgrades automaticallynofalse
create-prOpen or update a pull request with the applied fixes (requires fix: true, and contents: write + pull-requests: write permissions on the workflow)nofalse
base-branchTarget branch for the fix PR. Auto-detects the repo default branch if empty.no""
labelsComma-separated labels to apply to the fix PR. Labels are created in the repo if they do not exist.nodependencies,security
tokenGitHub token for creating the fix PR. Must have contents: write and pull-requests: write. Leave empty to use the workflow token.no""
reportWrite an HTML report to this directory path; --no-open is applied automatically in CIno""

no outputs