Skip to content

Commit 8501a5a

Browse files
chore: add .npmrc with supply chain protection (#243)
- save-exact=true: pin exact versions instead of semver ranges - min-release-age=7: quarantine newly published packages for 7 days Ref: axios supply chain attack (axios@1.14.1 / plain-crypto-js@4.2.1) Co-authored-by: Wheeljack <wheeljack@zavi.family>
1 parent 83cc673 commit 8501a5a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.npmrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Supply chain protection
2+
# - save-exact: pin to exact versions instead of semver ranges
3+
# - min-release-age: quarantine newly published packages for 7 days
4+
# (blocks typosquatting & fast-publish supply chain attacks like axios@1.14.1)
5+
save-exact=true
6+
min-release-age=7

0 commit comments

Comments
 (0)