Open
Conversation
9e67f0b to
3333e10
Compare
Rovasch
reviewed
Mar 31, 2026
.npmrc
Outdated
| minimum-release-age=10080 | ||
|
|
||
| # Prevent running scripts during installation to avoid potential security risks | ||
| ignore-scripts=true |
Contributor
There was a problem hiding this comment.
Volgens mij is die ignore-scripts niet per se nodig, gezien de postinstall al geblokt is, weet niet of er eigen scripts runnen, die block je nu ook.
Contributor
Author
There was a problem hiding this comment.
U are right, ik heb hem weg gehaald :D voor pnpm is dat al beter.
Wel nog voor npm nodig. maargoed brave is geen npm meer
This was referenced Mar 31, 2026
9f583bd to
2a35e2a
Compare
YvetteNikolov
approved these changes
Apr 1, 2026
Rovasch
approved these changes
Apr 1, 2026
SimonvanWijhe
approved these changes
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wat is er veranderd
.npmrckrijgt een paar security instellingen om het risico op supply chain aanvallen te verkleinen.Waarom
Er was recent een aanval op het
axiosnpm pakket waarbij compromised versies een Remote Access Trojan installeerden:https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan
Op HackerNews kwam een goede tip voorbij:
https://news.ycombinator.com/item?id=47582632
Met een minimum release age blokkeer je pakketten die net gepubliceerd zijn. Hiermee voorkom je dat jij toevallig net pnpm update draait, terwijl 30 minuten geleden een package gehackt is. Als een breach niet binnen 7 dagen ontdekt word, hebben we een groter probleem haha :P
Gecombineerd met
ignore-scripts=truehaal je al een hoop risico weg.