lfreleng-actions/🛡️ Node.js Dependency Audit

Audits Node.js project dependencies for known vulnerabilities with npm audit

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/node-audit-action@bfd96d8e38bf62d8764737fbefbf74f945377afc # v0.0.1

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

namedescriptionrequireddefault
path_prefixProject directory; must resolve within the workspaceno.
node_versionNode.js version to set up, such as '22', '22.x' or 'lts/*'; characters A-Z a-z 0-9 . * / _ -no22
node_version_fileFile containing the Node.js version, such as '.nvmrc'; takes precedence over node_version; must resolve within the workspaceno""
audit_levelFail threshold severity: 'info', 'low', 'moderate', 'high' or 'critical'nohigh
production_onlyAudit production dependencies only ('true'/'false')nofalse
permit_failReport vulnerabilities at/above the threshold without failing ('true'/'false')nofalse
output_directoryJSON report directory, within workspace or runner tempno.
namedescription
audit_passed'true' when no vulnerabilities at/above the threshold were found
vulnerability_countTotal vulnerabilities reported across all severities
report_pathPath to the JSON audit report