Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(security): describe the real dependency pins

Yudhi Armyndharisea59295374cb
diff --git a/docs/04-security-design.md b/docs/04-security-design.md
index 46b40bfe0..ad8aa9183 100644
--- a/docs/04-security-design.md
+++ b/docs/04-security-design.md
@@ -782,18 +782,7 @@ jobs:
### Allowed/Blocked Packages
-```json
-// package.json
-{
- "overrides": {
- // Force specific version for security fix
- "lodash": "^4.17.21"
- },
- "scripts": {
- "preinstall": "npx npm-force-resolutions"
- }
-}
-```
+Security pins for transitive dependencies live in the `overrides` field of `package.json` (for example `"multer": "2.4.0"` and `"tar": "^7.5.21"`), and the `audit` CI job gates regressions through `npm run check:audit` (see above). No install hook fetches an unpinned package: `postinstall` runs `npm ci` against the dashboard lockfile and the repository's own patch scripts.
### Vulnerability Response Matrix