# Dependency vulnerability ignore list for AiSOC CI.
#
# Format: tool|ID|reason|YYYY-MM-DD
#   tool   — pnpm, python, or go
#   ID     — CVE-YYYY-NNNNN, GHSA-xxxx-xxxx-xxxx, GO-YYYY-NNNN, or PYSEC-YYYY-N
#   reason — why this ignore is acceptable (required, no blanks)
#   expiry — date this ignore expires (max 90 days from today)
#
# Example:
# python|CVE-2026-12345|Upstream fix not released; tracked in issue #123|2026-07-15

# ── 2026-09-23 re-triage — the list is now empty ─────────────────────────────
# All 42 entries that stood here were re-verified against OSV and against the
# versions the repo actually resolves, rather than against the claims in their
# own reason strings. Every one of them was resolvable, so none was carried
# forward. Nothing is suppressed today.
#
# The entries were re-checked ahead of the 2026-10-05 ecdsa expiry because
# `load_ignores` fails closed: a lapsed entry aborts `validate-ignores` before
# any ecosystem is scanned, which reds every open PR and leaves `main`
# stale-green. That has happened here before (twelve expired suppressions,
# #650), so the list is re-read on a schedule rather than on a failure.
#
# Recording what was measured, because most of these reason strings had
# quietly stopped being true and re-reading them would have produced another
# round of date bumps rather than fixes:
#
#   • starlette (9 entries) claimed "slack-bot and teams-bot still cap fastapi
#     <0.137, which resolves fastapi 0.136.1 / starlette 1.0.0". Neither cap
#     exists: both pyproject files read fastapi >=0.111,<0.142 and both locks
#     resolve fastapi 0.141.1 with starlette 1.6.0. services/agents resolves
#     starlette 1.3.1. The highest fix among the nine is 1.3.1, so every
#     service was already clean.
#
#   • idna CVE-2026-45409 claimed "only services/slack-bot still resolves
#     3.13". slack-bot resolves 3.20, teams-bot 3.15, agents 3.18; the fix is
#     3.15. (The CVE id is also not a resolvable OSV record — OSV carries this
#     as GHSA-65pc-fj4g-8rjx / PYSEC-2026-215 with the CVE as an alias.)
#
#   • langchain / langgraph (9 entries) claimed pins of langchain <0.4.0,
#     langchain-openai <0.4.0 and langgraph <1.1.0 blocking a "0.3 to 1.x
#     migration". That migration has already happened: the pins read
#     langchain >=1.3.9, langchain-core >=1.2.22, langgraph >=1.0.10,
#     langgraph-checkpoint >=4.1.1, langgraph-sdk >=0.3.15, and the lock
#     resolves 1.4.2 / 1.6.4 / 1.2.12 / 4.2.0 / 0.4.5 respectively.
#     langchain-text-splitters (PYSEC-2026-77) is not in the tree at all.
#
#   • langchain-core (4 entries) claimed the same blocked major bump. The lock
#     resolves 1.6.4; the fixes are 1.2.11 and 1.2.22.
#
#   • weasyprint (3) and anyio (5) claimed they were "pinned by the committed
#     services/agents lock, needs a lock refresh". That lock already carries
#     weasyprint 70.0 and anyio 4.15.1, which are the fixed versions.
#
#   • pydantic-settings claimed "slack-bot/teams-bot still resolve 2.14.1".
#     Both resolve 2.15.0; the fix is 2.14.2.
#
#   • cryptography (3 entries) claimed the fix was "held by the <50 and <49
#     version caps". No such cap exists anywhere — every pin reads <51 — and
#     services/agents resolves 50.0.1, which is the fixed line.
#
#   • aiohttp (3 entries) claimed 3.14.1 awaiting a lock refresh; the locks
#     resolve 3.14.3, which is the fix. h2 claimed 4.3.0; agents resolves
#     4.4.1, which is the fix.
#
#   • image-size (2 pnpm entries) claimed the advisory "reports no patched
#     release (patched_versions "<0.0.0"), so an override has no clean
#     target". GHSA-5p2g-fcmc-qvqq and GHSA-w3rx-r6r6-pgpr both record a
#     vulnerable range of "<= 2.0.2", and npm has published 2.0.3 and 2.0.4;
#     OSV reports both as unaffected. `first_patched_version` being null in
#     the GitHub advisory is not the same claim as no fix existing, and
#     reading it as such kept two high-severity advisories suppressed for a
#     fix that was already on the registry. A pnpm override now pins
#     >=2.0.4 <3, which @docusaurus/mdx-loader's ^2.0.2 range accepts.
#
#   • ecdsa PYSEC-2026-1325 (CVE-2024-23342, Minerva timing attack on P-256)
#     was the one entry whose "no patched version available" was true: OSV
#     records the affected range as introduced at 0 with no fixed event,
#     because upstream states python-ecdsa offers no side-channel resistance
#     and will not fix it. It was also true that ecdsa was unconditional under
#     python-jose. So the dependency was removed instead of re-suppressed:
#     services/api now uses PyJWT, which it already depended on for the OIDC
#     and SAML paths, and python-jose, ecdsa and rsa all leave the tree.
#
# Verification for the empty list: all 20 Python targets were exported exactly
# as `run_pip_audit` does and every resolved pin checked against OSV — zero
# advisories, zero unscanned. `pnpm audit` reports zero advisories with the
# image-size override (two high without it). `govulncheck` reports zero
# findings across all six Go modules.
#
# Add entries back only with a justification that names the version actually
# resolved and the fix that is genuinely out of reach. An expiry is a
# re-review date, not a snooze.

# ── 2026-11-01 — image-size: the retire condition fired, so the entries go ──
# Two image-size entries stood here (GHSA-5p2g-fcmc-qvqq, GHSA-w3rx-r6r6-pgpr),
# suppressed on 2026-09-24 because apps/mobile resolved 1.2.1 through metro and
# "every metro release through the current latest (0.87.1) still declares
# image-size ^1.0.2". That block ended with its own retire condition: "Retire
# these when metro adopts image-size >= 2.0.3."
#
# It has. Measured rather than assumed, against what the lockfiles resolve:
# apps/mobile/pnpm-lock.yaml now resolves image-size 2.0.4 and the metro entry
# beside it declares `image-size: 2.0.4`; the root lockfile resolves 2.0.4 too.
# Both advisories record first_patched_version 2.0.3 and a vulnerable range
# topping out at 2.0.2, so neither tree is affected any more.
#
# Deleted rather than re-dated: the condition the text named has fired, and the
# honest end state for an advisory the tree has actually moved past is no entry
# at all. A suppression kept past its own stated condition records a false
# reason, which is worse than no suppression.

# ── 2026-11-01 — node-forge: resolved past the advisory, entries removed ──
# GHSA-86w9-cpqp-85rv (and its alias CVE-2026-85393, suppressed separately on
# 2026-10-06) covered node-forge RSA PKCS#1 v1.5 signature verification. Both
# were suppressed as "no patched version exists upstream", which was true when
# written: the advisory still records first_patched_version null.
#
# The tree moved anyway. apps/mobile/pnpm-lock.yaml now resolves node-forge
# 1.4.2 and npm's latest is 1.4.2, while the advisory's vulnerable range is
# `<= 1.4.0`. A release outside the affected range is not the same thing as a
# "first patched version", which is why reading that null field alone would
# have kept this suppressed indefinitely — the same misreading the image-size
# entries were corrected for on 2026-09-23. node-forge is absent from the root
# lockfile entirely.
#
# Both ids deleted. Nothing is suppressed for node-forge.

# ── 2026-11-01 — http-cache-semantics: a patched release exists and ships ──
# GHSA-ch52-4w7c-c8xp was suppressed as "No patched version exists: npm's
# latest http-cache-semantics is 4.2.0 and the advisory affects <=4.2.0".
# That is no longer true. npm's latest is 4.3.0, this repo's own pnpm
# `overrides` table already forces `>=4.3.0 <5`, and the root lockfile
# resolves 4.3.0 — outside the advisory's `<= 4.2.0` range.
#
# So the residual risk this entry described does not exist: the fix is not
# merely available, it is already what installs. Deleted.
pnpm|GHSA-vfj7-8cjw-p6xm|No patched version exists: npm's latest braces is 3.0.3 and the advisory affects <=3.0.3. Stack-exhaustion DoS (CWE-674) triggered by expanding a deeply nested glob pattern. Reached only transitively through chokidar and micromatch, which are build tooling; neither is a direct dependency of any package here, and the patterns they expand come from this repository's own build configuration rather than from user input. No runtime route accepts a glob.|2026-12-31

# ── 2026-10-06 security-bump PR — unfixable-upstream carry-forward ──────────
# Verbatim from OSV on 2026-10-06: both advisories have NO first_patched_version.
# braces is a transitive dev/test-tree dep (jest/micromatch lineage); the repo
# pins overrides but there is nothing to override TO yet.
pnpm|CVE-2026-93687|braces <=3.0.3; OSV GHSA-vfj7-8cjw-p6xm shows no patched release (current is newest); transitive test-tree dep; re-check monthly|2027-01-04
pnpm|CVE-2026-97058|sprintf-js: GHSA-hp3w-g68c-fv3c affects <=1.1.3 with first_patched_version null, and npm's latest IS 1.1.3, so no fixed release exists to move to. Both lockfiles resolve 1.0.3, transitive via js-yaml in jest/build tooling and fed only this repo's own format strings. Re-check monthly: delete when a release above 1.1.3 ships|2027-01-04
# A node-forge entry stood here under the CVE alias (CVE-2026-85393) alongside
# the GHSA form further up, both carried as "no patched release". Removed
# 2026-11-01 for the reason recorded against GHSA-86w9-cpqp-85rv above:
# apps/mobile resolves 1.4.2 and the advisory's range stops at 1.4.0.
#
# Worth keeping as a shape: one advisory held two entries under two ids, so a
# sweep that fixes the GHSA form and stops leaves the CVE form suppressing the
# same thing. braces has the same duplication (GHSA-vfj7-8cjw-p6xm and
# CVE-2026-93687) and both are deliberately retained, because that one really
# does still resolve inside its vulnerable range.

# ── 2026-11-17 ────────────────────────────────────────────────────────────────
pnpm|GHSA-fc5q-39xc-vjpf|picomatch ReDoS via repeated extglobs; no patched version exists (range <= 4.0.7, first_patched null). Every consumer in this lockfile is build/test/lint tooling (vite, vitest, jest, tsup, eslint, rollup-pluginutils, sucrase, chokidar/readdirp watchers) whose glob patterns are repo-authored config, never attacker input, and none ships in a runtime image. Re-check for an upstream patch at expiry.|2027-02-14

# ── 2026-12-01 — tar: the only patched release is an incompatible rewrite ────
# The fix-by-override was tried first and measured: #2164 forced tar 8.0.4
# into apps/mobile and both mobile platform builds broke the same day —
# tar 8 is an explicit rewrite ("Migration from version 7": promises only,
# extract() reads `input` or `file`) and @expo/cli's extractNpmTarballAsync
# calls the v7 API, dying with "TypeError: extract needs input or file".
# tar 8 also drops node <22 while this repo supports >=20.0.0.
pnpm|GHSA-25mm-r35j-6hgm|tar 7.5.24 (OSV: the whole 7.x line >=7.5.22 is affected, patched only in the 8.0.0 rewrite), apps/mobile only, reached solely through @expo/cli (Expo dev server/CLI). Sync extraction hangs after a failing entry — DoS-class, local dev tooling fed registry tarballs, not attacker input; apps/mobile is excluded from pnpm-workspace.yaml and built by no Dockerfile, so nothing ships. Forcing tar 8 was measured to break both mobile platform builds (#2164, reverted) and its node >=22 floor exceeds the repo's supported >=20.0.0. Retire when a patched 7.x ships, the Expo SDK reaches a CLI without node-tar (@expo/cli >=58 replaced tar with multitars), or the repo node floor moves to 22.|2027-02-28

# The same wave published sixteen more advisories against tar's 7.x line on
# 2026-12-01/02, landing in tranches (CVE-2026-140234 through -140252, one
# coordinated batch): symlink-containment bypasses, PAX header parsing and
# injection defects, an async-extraction deadlock, a resource-exhaustion
# entry and a crash-on-zstd-magic entry. Every one records the incompatible
# 8.x rewrite as its only patch (first_patched 8.0.0, one 8.0.2; no 7.x
# release followed, and 7.x looks closed: five 8.0.x releases have shipped
# since 7.5.24). Same single copy, same basis as the entry above: tar 7.5.24
# in apps/mobile only, reached solely through @expo/cli, which feeds it
# npm-registry template tarballs during prebuild — the same trust domain as
# every installed devDependency — never attacker-controlled archives;
# nothing ships. The escape/forgery classes would need a malicious registry
# tarball, which already implies a supply-chain compromise senior to this
# defect. Retire all seventeen entries together (same conditions, same
# expiry). This list is the complete set affecting tar 7.5.24 in the GitHub
# advisory DB as of 2026-12-02T04:00Z (queried via
# /advisories?ecosystem=npm&affects=tar@7.5.24).
pnpm|GHSA-mhqm-9wj8-w7r4|tar <8.0.0 symlink containment bypass via nested symlink + '..' (lexical linkpath check); patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-jmj2-9c5q-vw73|tar >=7.5.5 <8.0.0 symlink linkpath containment bypass via entry paths ending in '/.'; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-hqgx-p3r3-2cfg|tar <8.0.0 SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-gvrf-jx37-rjv5|tar <8.0.0 lexical symlink linkpath escape check: '..' after an in-archive symlink creates symlinks outside the extraction directory; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-6wwr-g865-f46r|tar >=7.5.22 <8.0.0 nested symlink target can escape the extraction root; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-4pf9-5fpx-xmr6|tar >=7.5.5 <8.0.0 symlink target escapes the extraction directory through an in-archive symlink chain; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-3wwj-8j6r-q339|tar >=7.5.5 <8.0.0 chained-symlink containment bypass lets tar.x() create links resolving outside the extraction directory (regression since 7.5.5); patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-98v3-7xjr-fg83|tar >=7.5.22 <8.0.0 async extraction deadlocks permanently when an entry's linkpath is a hierarchical relative of its own path — DoS-class like the hang above; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-wpwg-r92p-fjjh|tar <8.0.0 incomplete NUL-byte truncation in ustar/GNU/PAX names causes name differentials and async crashes; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-rgjp-p5j7-w36x|tar >=7.5.0 <8.0.0 parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-qv2w-fc3h-pm27|tar <8.0.0 archive framing differential from PAX size applied to GNU/PAX meta entries via ReadEntry and related size/precedence inconsistencies; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-mpg7-vg3p-wc3m|tar <8.0.0 newline injection in PAX extended-header records enables entry-attribute forgery (path overwrite; the advisory's RCE scenario is npm postinstall on Windows — this copy is macOS/Linux dev tooling extracting registry template tarballs); patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile only via @expo/cli, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-ffhw-4r4q-5cwv|tar <8.0.0 global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-7c32-79xj-j3jp|tar <8.0.2 small archive exhausts memory or CPU through path-reservation bookkeeping — DoS-class; the only patch line is 8.x (8.0.2). Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-72fp-85cc-g945|tar >=7.5.22 <8.0.0 crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd — DoS-class; patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
pnpm|GHSA-p96f-8xj2-g85p|tar >=7.0.0 <8.0.0 ReadEntry pending PAX size reapplication permits metadata-body file smuggling (moderate; suppressed to keep the audit at zero findings and retire the whole tar-7.x wave as one unit); patched only in 8.0.0. Same copy and basis as GHSA-25mm-r35j-6hgm above: apps/mobile dev tooling via @expo/cli extracting registry template tarballs, nothing ships; tar 8 breaks @expo/cli's v7 extract call and needs node >=22 vs the repo's >=20. Retire with the entry above.|2027-02-28
