Skip to content

v0.3.0: GitHub Action, pre-commit, SARIF

Latest

Choose a tag to compare

@LucasYanzy LucasYanzy released this 28 Nov 19:42
· 1 commit to main since this release

Put VeriCode in CI and in front of every commit

GitHub Action. Fails the job on a hardcoded secret, a hallucinated package or a known CVE, and marks each finding on its line in the Security tab:

- id: vericode
  uses: LucasYanzy/vericode@v0.3.0
- if: always()
  uses: github/codeql-action/upload-sarif@v4
  with: { sarif_file: "${{ steps.vericode.outputs.sarif-file }}" }

pre-commit. id: vericode (secrets + dependency checks) or id: vericode-offline (secrets only).

SARIF 2.1.0. --sarif FILE works with GitHub code scanning, GitLab, Azure DevOps and any SARIF viewer. Validated against the OASIS schema; secret values are never written to it.

Also new

  • --no-checks: security checks only (no type-check or tests)
  • npm lookups are much lighter: established packages are settled with npm's downloads API instead of the full document (16 MB for typescript)
  • --no-cve no longer prints "No known vulnerabilities" for a check that didn't run
  • Website with a live "is this package real?" checker: https://lucasyanzy.github.io/vericode/

Full notes: CHANGELOG.md

🤖 Generated with Claude Code