Skip to content

Commit e2a4fbd

Browse files
committed
fix: narrow osv-scanner ignore to specific ajv vulnerability only
Replace blanket bun.lock ignore with osv-scanner.toml targeting only GHSA-2g4f-4pwh-qvx6 (ajv 6.12.6 ReDoS). Expires 2026-06-01. Other vulnerabilities in bun.lock will now be reported normally.
1 parent 86775cb commit e2a4fbd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.trunk/trunk.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ lint:
2929
paths:
3030
- node_modules/**
3131
- dist/**
32-
- linters: [osv-scanner]
33-
paths:
34-
- bun.lock # ajv 6.12.6 ReDoS (GHSA-2g4f-4pwh-qvx6) — transitive dep, no upgrade available
3532
actions:
3633
disabled:
3734
- trunk-check-pre-push # Disabled in favor of trunk-check-all-pre-push

osv-scanner.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[[IgnoredVulns]]
2+
id = "GHSA-2g4f-4pwh-qvx6"
3+
reason = "ajv 6.12.6 ReDoS via $data option — transitive dep, no upgrade path available"
4+
ignoreUntil = 2026-06-01

0 commit comments

Comments
 (0)