vuln.mlab.sh SBOM scan
Version updated for https://github.com/mlab-sh/vuln-scan-action to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automates the scanning of dependency lockfiles in a repository for known CVEs using vuln.mlab.sh. It automatically detects common lockfile types and checks each package against OSV and Sonatype OSS Index, providing detailed vulnerability reports in the job summary. The action can fail the build based on a specified severity threshold or report vulnerabilities without failing, with outputs for total vulnerabilities, vulnerable packages, and failure status.
What’s Changed
First public release. 🎉
Scan your lockfiles for known CVEs in CI/CD, powered by vuln.mlab.sh.
Features
- Auto-detects lockfiles:
Cargo.lock,package-lock.json,npm-shrinkwrap.json,composer.lock,Gemfile.lock,go.sum,requirements.txt,mise.lock. - Server-side parsing + scan against OSV & Sonatype OSS Index — no local install, no database.
- Severity threshold with
fail-on(any·critical·high·medium·low·none). soft-failmode to report without failing the build.- Job summary table + inline annotations on vulnerable dependencies.
- Outputs:
total,vulnerable-packages,failed. - Optional API token (
token:) for 25 scans/hour (vs 8/hour anonymous).
Usage
- uses: mlab-sh/vuln-scan-action@v1
with:
fail-on: high
token: ${{ secrets.VULN_MLAB_TOKEN }}
See the README for all inputs.