← All finding types

lockfile_integrity_changed

CWE-494

Lockfile Integrity Changed — a PullGuard finding type. Findings of this type appear in the PR comment, Step Summary, SARIF (GitHub Security tab / IDE viewers), and the HTML report, each with severity, location, and the remediation guidance below.

How to fix

Regenerate the lockfile entry with the package manager instead of editing it low effort

# Let npm write the integrity it verifies:
rm -rf node_modules && npm install <package>@<version>
git diff package-lock.json   # the integrity must be a sha512 from the registry

Documentation →

Triage

This finding judges the change itself against its base branch, so a committed baseline, delta mode and a .pullguardignore entry do not remove it (it is an always-surfaced security finding). If the change is intended, merge it after review; the next change is compared against the new base. A reviewed false-positive override (status: false_positive with a reason) keeps it visible and stops it blocking.