Skip to content

Commit 0eea12a

Browse files
authored
chore(ci): ignore GHSA-848j-6mx2-7j84 with better-npm-audit (#292)
Add better-npm-audit for fine-grained CVE exceptions in npm audit. Ignore GHSA-848j-6mx2-7j84 (elliptic, CVSS 2.9) - dev dependency only with no attack vector and no fix available. The vulnerability allows deriving secret keys if an attacker obtains both a faulty AND correct ECDSA signature for identical inputs (CVSS: 2.9 Low). **No attack vector exists** for this extension because: - Extension doesn't perform ECDSA signing operations - `elliptic` is a transitive dependency of browser polyfills (`node-stdlib-browser → crypto-browserify`) - No cryptographic signing functionality is exposed - No patched version is available
1 parent 3f44449 commit 0eea12a

4 files changed

Lines changed: 285 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,5 @@ jobs:
233233
run: npm ci --prefer-offline --no-audit
234234

235235
- name: Run audit for all dependencies
236-
run: npm audit
236+
# Uses better-npm-audit with .nsprc exceptions file
237+
run: npx better-npm-audit audit

.nsprc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"GHSA-848j-6mx2-7j84": {
3+
"notes": "CVE-2025-14505: elliptic ECDSA signature corruption can lead to private key recovery if attacker obtains both faulty and correct signatures for identical inputs. Accepted risk: dev-only transitive dependency (node-stdlib-browser -> crypto-browserify -> browserify-sign), not used for signing in this project, no fix available.",
4+
"expiry": "2026-04-08"
5+
}
6+
}

package-lock.json

Lines changed: 276 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2751,6 +2751,7 @@
27512751
"acorn": "^8.9.0",
27522752
"autoprefixer": "^10.4.21",
27532753
"bare-events": "^2.8.1",
2754+
"better-npm-audit": "^3.11.0",
27542755
"buffer": "^6.0.3",
27552756
"bufferutil": "^4.0.6",
27562757
"chai": "^4.3.10",

0 commit comments

Comments
 (0)