Skip to content

Commit 70f3515

Browse files
committed
chore: add trustPolicy to npmrc for security
Add trustPolicy=no-downgrade to prevent package downgrade attacks.
1 parent 540e801 commit 70f3515

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.npmrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ ignore-scripts=true
44
# Suppress pnpm workspace warnings
55
link-workspace-packages=false
66
loglevel=error
7-
prefer-workspace-packages=false
7+
prefer-workspace-packages=false
8+
9+
# Trust policy - prevent downgrade attacks
10+
trustPolicy=no-downgrade

0 commit comments

Comments
 (0)