Commit a lockfile and install with integrity verification (npm ci) so exact, tamper-checked versions are used.
Why This Matters
Unpinned or unverified dependencies enable supply-chain and dependency-confusion attacks (OWASP A06/A08).
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.