Skip to content

Add lockfile deny-list CI guard#2

Open
HCJefe wants to merge 1 commit into
mainfrom
chore/lockfile-denylist-2026-04-20
Open

Add lockfile deny-list CI guard#2
HCJefe wants to merge 1 commit into
mainfrom
chore/lockfile-denylist-2026-04-20

Conversation

@HCJefe
Copy link
Copy Markdown
Owner

@HCJefe HCJefe commented Apr 20, 2026

What

Adds the lockfile deny-list CI guard that is already live in hank-dashboard, caretrack-dashboard, nerve-center, shcfsp-portal, and tung-dashboard.

Why

On 03/30/2026 the axios npm package was compromised. Versions 1.14.1 and 0.30.4 shipped with a phantom dependency plain-crypto-js@4.2.1 that drops a cross-platform RAT. This CI guard blocks any PR that introduces those versions (or mcp-remote@0.1.0, another known bad version) into the lockfile.

How

Runs on PRs that touch package-lock.json, yarn.lock, or pnpm-lock.yaml, and on push to main. Fails the run with a clear error if any denied version is present. No change to application code.

Per Geoffrey 04/20 supplemental sweep.

Blocks compromised package versions from entering lockfiles:
- axios@1.14.1 and axios@0.30.4 (compromised 03/30/2026)
- plain-crypto-js (phantom dependency, any version)
- mcp-remote@0.1.0

Runs on PRs touching package-lock.json / yarn.lock / pnpm-lock.yaml
and on push to main. Rejects the PR with an actionable error if a
compromised version is present.

Matches the workflow already live in hank-dashboard, caretrack-dashboard,
nerve-center, shcfsp-portal, and tung-dashboard.

Per Geoffrey 04/20 supplemental sweep.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 20, 2026

Warning

Rate limit exceeded

@HCJefe has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 4 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 58 minutes and 4 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 2a46b356-94b8-4404-83fc-8cf0900ac979

📥 Commits

Reviewing files that changed from the base of the PR and between 42ff7bd and fe8337b.

📒 Files selected for processing (1)
  • .github/workflows/lockfile-denylist.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/lockfile-denylist-2026-04-20

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant