Skip to content

npm: ignore scripts#64

Merged
amezin merged 1 commit intomainfrom
npm-ignore-scripts
May 3, 2026
Merged

npm: ignore scripts#64
amezin merged 1 commit intomainfrom
npm-ignore-scripts

Conversation

@amezin
Copy link
Copy Markdown
Member

@amezin amezin commented May 3, 2026

It seems that postinstall scripts are a popular supply chain attack vector. At least once happened with ESLint:

https://security.snyk.io/vuln/SNYK-JS-ESLINTSCOPE-11120

And, at the same time, it seems that they are completely unnecessary.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 3, 2026

Warning

Rate limit exceeded

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

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ 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: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: d2fda430-9eb6-49ea-83e3-478de3b74ff5

📥 Commits

Reviewing files that changed from the base of the PR and between 7010031 and 979465a.

📒 Files selected for processing (1)
  • .npmrc
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch npm-ignore-scripts

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get your free trial and get 200 agent minutes per Slack user (a $50 value).


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
Review rate limit: 0/1 reviews remaining, refill in 43 minutes and 12 seconds.

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

It seems that postinstall scripts are a popular supply chain attack
vector. At least once happened with ESLint:

https://security.snyk.io/vuln/SNYK-JS-ESLINTSCOPE-11120

And, at the same time, it seems that they are completely
unnecessary.
@amezin amezin force-pushed the npm-ignore-scripts branch from b52c2bb to 979465a Compare May 3, 2026 03:18
@amezin amezin marked this pull request as ready for review May 3, 2026 03:33
@amezin amezin merged commit 979465a into main May 3, 2026
22 checks passed
@amezin amezin temporarily deployed to github-pages May 3, 2026 04:19 — with GitHub Actions Inactive
@amezin amezin temporarily deployed to github-pages May 3, 2026 06:33 — with GitHub Actions Inactive
@amezin amezin temporarily deployed to github-pages May 4, 2026 06:48 — with GitHub Actions Inactive
@amezin amezin temporarily deployed to github-pages May 5, 2026 06:25 — with GitHub Actions Inactive
@amezin amezin deleted the npm-ignore-scripts branch May 5, 2026 22:27
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