Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,5 @@ Questions for the lab go to Dr Jodie Rummer (`@JodieRummer`) on GitHub: label th
| 2026-11 | v0.2.4: French Polynesia school holidays as a busy-day proxy (#25: archived 2013–17 orders + Ministry open data); lighter scatter plots, compressed pages and ETag revalidation (#76); keyboard-readable charts and reduced motion (#32). |
| 2026-11 | v0.2.5: sex ratio by nursery and season with a binomial mixed model (#117); a Statistics line under every chart with a trend or difference (#119); moon finding tested (#118); adjusted season test on the overview (#120); lab questions go to Jodie Rummer on GitHub. |
| 2026-11 | v0.2.6: offshore chlorophyll-a (#23); apparent survival with a Cormack–Jolly–Seber model (#42); nursery month × hour temperature calendars (#127); scar transitions (#126); measurement coverage and the catch model's sample selection (#123); catch-model fit diagnostics (#125); conditions on fieldwork nights vs their months (#124); scrollable tables keyboard-reachable (#150); sitemap, llms.txt, humans.txt (#140, #141, #143); GA4 on production hosts (#145); fixture fits the catch model in CI (#153). IMPORTER_VERSION 9: caches rebuild. |

- Security scans (#144): use Snyk CLI >=1.1308.3 with `test --all-projects --dev` for the pnpm 12 multi-document lockfile. Remaining upstream advisories and mitigations are tracked in docs/dev/SNYK-144.md.
41 changes: 41 additions & 0 deletions docs/dev/SNYK-144.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Snyk dependency review — 4 November 2026

For #144, scanned the locked application and development dependencies with:

```sh
npx --yes snyk@1.1308.3 test --all-projects --dev
```

Use this CLI version or newer: 1.1304.0 cannot parse pnpm 12's multi-document
lockfile. The workspace configuration requires `--all-projects`.

The baseline reported 7 advisories / 37 vulnerable paths across 338 dependencies.
After fixes, Snyk reported 5 advisories / 19 paths across 289 dependencies.
These are dependency-graph findings, not proof that an attack is reachable.
No ignore policy was added. Snyk also printed an account monthly-test-limit warning
at the end of both scans; the figures above came from the returned project results.

## Fixed

- [esbuild insecure download](https://security.snyk.io/vuln/SNYK-JS-ESBUILD-17750822):
override vulnerable transitive versions to 0.28.1, including Drizzle Kit's old
loader chain. The reported attack involves the Deno installer and registry
configuration; the app builds with Node/pnpm.
- [minimatch resource consumption](https://security.snyk.io/vuln/SNYK-JS-MINIMATCH-22111072):
override versions below 11.0.1. This crosses a major version for some tooling
consumers, so lint, build and tests must pass before retaining the override.
- [Leaflet HTML injection](https://security.snyk.io/vuln/SNYK-JS-LEAFLET-16427276):
map tooltips now receive a DOM element populated with `textContent`. Popups
already construct DOM elements with `textContent`. Layer-control names are
application-authored constants; keep them trusted or escape them before reuse.

## Remaining upstream advisories

| Package | Snyk advisory | Exposure and follow-up |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| deepmerge 4.3.1 | [19964053](https://security.snyk.io/vuln/SNYK-JS-DEEPMERGE-19964053) | Build-tool configuration through the Svelte plugin; no published fixed release. Do not merge untrusted configuration. Upgrade when upstream supplies a fix. |
| leaflet 1.9.4 | [16427276](https://security.snyk.io/vuln/SNYK-JS-LEAFLET-16427276) | Browser runtime; no fixed release. Text-node mitigation above does not remove the dependency advisory. |
| uri-js 4.4.1 | [19963961](https://security.snyk.io/vuln/SNYK-JS-URIJS-19963961), [19963963](https://security.snyk.io/vuln/SNYK-JS-URIJS-19963963), [20341609](https://security.snyk.io/vuln/SNYK-JS-URIJS-20341609) | ESLint/Ajv development tooling; no fixed release. No direct application import. Upgrade the consuming tools when a compatible fix is available. |

The remaining findings are retained visibly rather than suppressed. This review
covers open-source dependencies, not a Snyk Code or container-image scan.
Loading
Loading