chore(deps): resolve high audit findings
Upgrade direct dependencies and pin patched transitive versions so the high-severity pnpm audit gate passes. Document the dev-only brace-expansion exception and the separate Mongoose type-migration follow-up.
This commit is contained in:
1 parent
ca786fd80a
commit
2bac89d3dc
5 files changed
+1730
-1646
No files matched your search
@@ -0,0 +1,32 @@
|
||||
# Dependency Audit Exceptions
|
||||
|
||||
## GHSA-mh99-v99m-4gvg
|
||||
|
||||
- Package: `brace-expansion`
|
||||
- Scope: development tooling only (`eslint`, `jest`, and `@nestjs/cli` through
|
||||
`minimatch`/`glob`)
|
||||
- Production exposure: none; `pnpm audit --prod --audit-level high` reports no
|
||||
high or critical findings
|
||||
- Reason: the only patched release is `brace-expansion@5.0.8`, whose CommonJS
|
||||
API is incompatible with the affected `minimatch@3` and `minimatch@9`
|
||||
consumers
|
||||
- Mitigation: repository-controlled glob patterns are trusted; no
|
||||
attacker-controlled input is passed to these development tools
|
||||
- Review date: 2026-08-25
|
||||
- Removal condition: remove the audit exception once the upstream toolchain
|
||||
supports `brace-expansion@5.0.8` or publishes compatible patched releases
|
||||
|
||||
## Tracked remediation
|
||||
|
||||
### GHSA-664h-wqgq-64gw
|
||||
|
||||
- Package: `mongoose@9.4.1`
|
||||
- Severity: moderate
|
||||
- Patched version: `>=9.7.2`
|
||||
- Status: not ignored; it remains visible in a full audit and does not fail the
|
||||
high-severity CI gate
|
||||
- Upgrade blocker: Mongoose 9.7.x tightens create and query types and currently
|
||||
causes API compilation failures across the model layer
|
||||
- Next action: migrate the affected model create/query types, then upgrade
|
||||
Mongoose in a dedicated change
|
||||
- Review date: 2026-08-25
|
||||
Reference in new issue
Block a user