-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathaudit-ci.jsonc
More file actions
40 lines (38 loc) · 1.84 KB
/
Copy pathaudit-ci.jsonc
File metadata and controls
40 lines (38 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
// CI dependency-vulnerability gate (replaces a bare `npm audit`).
// Fails the build on moderate+ advisories, EXCEPT entries explicitly
// allowlisted below. Keep this list tiny and always paired with a reason +
// removal condition so it never becomes a silent dumping ground.
"moderate": true,
"allowlist": [
// GHSA-gv7w-rqvm-qjhr — esbuild "missing binary integrity verification"
// (high). Reaches us ONLY transitively through vite@6 (a devDependency:
// @vitejs/plugin-react, vitest, @tailwindcss/vite, vite-plugin-pwa). It is
// build-time tooling and never ships in the produced app binary.
// The patched esbuild (>=0.28.1) is only pulled by vite@8; a bare override
// breaks our production build (esbuild 0.28 drops down-leveling of certain
// destructuring to our legacy browser target). REMOVE this entry once the
// vite 6 -> 8 upgrade lands. See issue #264.
"GHSA-gv7w-rqvm-qjhr",
// GHSA-vmh5-mc38-953g, GHSA-pr7r-676h-xcf6, GHSA-p88m-4jfj-68fv,
// GHSA-vxpw-j846-p89q, GHSA-hm92-r4w5-c3mj, GHSA-35p6-xmwp-9g52,
// GHSA-g8m3-5g58-fq7m — undici advisories (high/moderate).
// undici is Node.js's built-in HTTP client, pulled transitively by
// devDependencies (@tauri-apps/api, esbuild, vite, vitest, sentry,
// @uiw/react-md-editor). It NEVER ships in the produced app binary.
// The root-level undici is managed by the Node.js release cycle;
// bumping @tauri-apps/api or vite to pull a patched undici is the
// real fix. See issue #330.
"GHSA-vmh5-mc38-953g",
"GHSA-pr7r-676h-xcf6",
"GHSA-p88m-4jfj-68fv",
"GHSA-vxpw-j846-p89q",
"GHSA-hm92-r4w5-c3mj",
"GHSA-35p6-xmwp-9g52",
"GHSA-g8m3-5g58-fq7m",
// GHSA-4x5r-pxfx-6jf8 — @babel/core arbitrary file read via
// sourceMappingURL. Transitive devDependency of vite/test infra.
// Never shipped in the app binary.
"GHSA-4x5r-pxfx-6jf8"
]
}