A local-first personal finance app
[AI] Add npm minimal age gate for supply-chain defense (#8011)
Matiss Janis Aboltins773c46f68e77
diff --git a/.yarnrc.yml b/.yarnrc.ymlindex eae8da740d..597597bbc3 100644--- a/.yarnrc.yml+++ b/.yarnrc.yml@@ -11,3 +11,8 @@ yarnPath: .yarn/releases/yarn-4.13.0.cjs# Secure default: don't run postinstall scripts.# If a new package requires them, add it to dependenciesMeta in package.json.enableScripts: false++# Supply-chain defense: don't install package versions published less than 3+# days ago, giving the community time to catch compromised releases. Trusted+# packages that need immediate updates can be listed in npmPreapprovedPackages.+npmMinimalAgeGate: '3d'diff --git a/upcoming-release-notes/8011.md b/upcoming-release-notes/8011.mdnew file mode 100644index 0000000000..120a7e8c3e--- /dev/null+++ b/upcoming-release-notes/8011.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [MatissJanis]+---++Add a 3-day minimum age gate for npm dependencies to harden against supply-chain attacks