You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Add CVE scanner to CI + security-only Renovate fast-track #1498
Compliance baseline requires the manufacturer to ship security patches quickly, especially for internet-facing deployments. Current state:
Renovate is configured with a 30/60/90-day minimumReleaseAge cushion in .github/renovate.json — safe for stability but too slow for CVE patches.
No SAST / dependency-vulnerability scanner runs in CI.
Proposed change
Add a Renovate package rule with matchUpdateTypes: ["security"] (or use vulnerabilityAlerts) with minimumReleaseAge: 0 and automerge: true for patch-level security updates only.
Add a CI job running osv-scanner (or npm audit --audit-level=high) as a blocking step on pull_request and main.
Document the security-update flow and tale upgrade behaviour in docs/security/.
Acceptance criteria
Security advisories open PRs within 24h of disclosure.
CI fails on known high/critical vulns.
Self-hosters can identify security-relevant releases from release notes.
Part of the security compliance baseline. See umbrella plan.
Triaged — keeping open but re-scoping. A scanner already runs in CI: .github/workflows/security.yml has a Trivy job (vuln,secret,misconfig, HIGH/CRITICAL, SARIF upload, weekly schedule) plus bun audit. The gap is that both are non-blocking (exit-code: 0 / continue-on-error: true), and Renovate (.github/renovate.json) has the staged cushions but no security fast-track.
Remaining work:
Make a HIGH/CRITICAL finding fail CI (blocking gate).
Add a Renovate security fast-track (vulnerabilityAlerts / matchUpdateTypes: ["security"]) that bypasses the cushion.
Implemented the gate + Renovate fast-track in #1784. Running the gate against the current tree surfaced a pre-existing HIGH backlog (13 advisories, 0 CRITICAL), so the blocking gate ships at CRITICAL for now and ratchets to HIGH once these are cleared. HIGH remains visible (bun audit summary + Trivy SARIF).
HIGH backlog to remediate before flipping the gate to HIGH
picomatch / tar / lodash / axios are transitive under dev/build tooling — most resolve via a Renovate bump or a lockfile bun update; several of these dev deps (jsdom, vite, vitest, storybook) appear under --prod because they're declared as regular dependencies in their workspace, which is worth correcting separately.
xlsx (SheetJS) has no fixed version on npm — the upstream fix is distributed via the SheetJS CDN. This needs a deliberate decision (migrate to the CDN build, switch libraries, or accept + suppress with justification). It's the one genuine prod item.
Once the table is cleared (fix or justified suppression), flip both gates from critical → high (bun audit --audit-level=high, Trivy severity: HIGH,CRITICAL).
Status update: the core of this shipped in #1784 (merged).
.github/workflows/security.yml now has a bun-audit job — a full-severity report to the job summary plus a blocking gate (bun audit --prod --audit-level=critical with pipefail) — and a trivy-fs job — informational HIGH+CRITICAL SARIF upload plus a separate blocking vuln-only CRITICAL gate (ignore-unfixed).
.github/renovate.json fast-tracks security updates: vulnerabilityAlerts with minimumReleaseAge: null, prCreation: "immediate", and a security label, plus osvVulnerabilityAlerts: true.
The security-update flow is documented in docs/.../security/advisories.md (en/de/fr).
Keeping this open as the tracking issue for the remaining scope: ratcheting the blocking gate from CRITICAL → HIGH once the pre-existing HIGH advisories are cleared. The one genuine prod item is xlsx (SheetJS, pinned 0.18.5, used in convex/node_only/documents/internal_actions.ts), which currently has no fixed npm release — that needs a deliberate migrate/replace/suppress decision. The rest are transitive dev/build tooling.
Re-checked the current advisory state to see whether the gate can ratchet --audit-level=critical → high yet. Not yet — bun audit --prod --audit-level=high still reports prod-tree HIGH advisories, so flipping the gate would fail CI today:
❌ No fixed npm release (SheetJS ships off-registry)
Migrate the two parse call-sites (convex/node_only/documents/internal_actions.tsXLSX.read, lib/utils/file-parsing.ts) off SheetJS, or pin the SheetJS-maintained build + dated .trivyignore with a documented compensating control (admin-only, size-limited, isolated Node action). The hard blocker.
_.template code injection (GHSA-r5fr-rjxr-66jc)
lodash
❌ No patched version (usage-pattern advisory)
Locate the prod importer; confirm _.template is never fed untrusted input; suppress with rationale if confirmed safe.
ReDoS via extglob (GHSA-c2c7-rcm5-vvqj)
picomatch <2.3.2 (transitive)
✅ Fixed in 2.3.2
Workspace override forcing picomatch ≥2.3.2 (mostly dev chains: vite/vitest/storybook/knip/plop). Low-risk.
otelCarrier inline-script (GHSA-2h32-95rg-cppp)
@vitest/browser (dev)
bump
Dev-only; doesn't block the --prod gate but should clear with a vitest bump.
Ratchet sequence: (1) picomatch override, (2) resolve/suppress lodash, (3) xlsx parse-path migration or scoped suppression + compensating control, (4) flip bun audit --prod --audit-level=critical → high and Trivy CRITICAL → HIGH,CRITICAL in .github/workflows/security.yml (one line each) and drop the "see #1498" comments.
Most of (1)/(4) are mechanical; (2)/(3) are the real work and (3) needs spreadsheet-parse validation against a running stack. Leaving open as the tracked ratchet — it can't be a single safe PR while xlsx has no registry fix.
Activity
yannickmonney commentedon May 31, 2026
Triaged — keeping open but re-scoping. A scanner already runs in CI:
.github/workflows/security.ymlhas a Trivy job (vuln,secret,misconfig, HIGH/CRITICAL, SARIF upload, weekly schedule) plusbun audit. The gap is that both are non-blocking (exit-code: 0/continue-on-error: true), and Renovate (.github/renovate.json) has the staged cushions but no security fast-track.Remaining work:
vulnerabilityAlerts/matchUpdateTypes: ["security"]) that bypasses the cushion.Assigned to me.
feat(deps): gate on CRITICAL now, ratchet HIGH after backlog (#1498)
yannickmonney commentedon Jun 1, 2026
Implemented the gate + Renovate fast-track in #1784. Running the gate against the current tree surfaced a pre-existing HIGH backlog (13 advisories, 0 CRITICAL), so the blocking gate ships at CRITICAL for now and ratchets to HIGH once these are cleared. HIGH remains visible (bun audit summary + Trivy SARIF).
HIGH backlog to remediate before flipping the gate to HIGH
tar <7.5.7@tale/ui › jsdom(dev/test)lodash <=4.17.23_.templatecode injection)axios <1.16.0picomatch <2.3.2xlsx <0.19.3@tale/platform › xlsx(prod)Remediation notes
bun update; several of these dev deps (jsdom, vite, vitest, storybook) appear under--prodbecause they're declared as regulardependenciesin their workspace, which is worth correcting separately.Once the table is cleared (fix or justified suppression), flip both gates from
critical→high(bun audit --audit-level=high, Trivyseverity: HIGH,CRITICAL).fix(crawler): bump nltk to 3.9.4 to clear CVE-2025-14009
feat(deps): block CI on high/critical CVEs + Renovate security fast-t…
yannickmonney commentedon Jun 1, 2026
Status update: the core of this shipped in #1784 (merged).
.github/workflows/security.ymlnow has abun-auditjob — a full-severity report to the job summary plus a blocking gate (bun audit --prod --audit-level=criticalwithpipefail) — and atrivy-fsjob — informational HIGH+CRITICAL SARIF upload plus a separate blocking vuln-onlyCRITICALgate (ignore-unfixed)..github/renovate.jsonfast-tracks security updates:vulnerabilityAlertswithminimumReleaseAge: null,prCreation: "immediate", and asecuritylabel, plusosvVulnerabilityAlerts: true.docs/.../security/advisories.md(en/de/fr).Keeping this open as the tracking issue for the remaining scope: ratcheting the blocking gate from CRITICAL → HIGH once the pre-existing HIGH advisories are cleared. The one genuine prod item is
xlsx(SheetJS, pinned0.18.5, used inconvex/node_only/documents/internal_actions.ts), which currently has no fixed npm release — that needs a deliberate migrate/replace/suppress decision. The rest are transitive dev/build tooling.yannickmonney commentedon Jun 2, 2026
Re-checked the current advisory state to see whether the gate can ratchet
--audit-level=critical → highyet. Not yet —bun audit --prod --audit-level=highstill reports prod-tree HIGH advisories, so flipping the gate would fail CI today:GHSA-4r6h-8v6p-xvw6,GHSA-5pgg-2g8v-p4x9)<0.19.3convex/node_only/documents/internal_actions.tsXLSX.read,lib/utils/file-parsing.ts) off SheetJS, or pin the SheetJS-maintained build + dated.trivyignorewith a documented compensating control (admin-only, size-limited, isolated Node action). The hard blocker._.templatecode injection (GHSA-r5fr-rjxr-66jc)_.templateis never fed untrusted input; suppress with rationale if confirmed safe.GHSA-c2c7-rcm5-vvqj)<2.3.2(transitive)picomatch ≥2.3.2(mostly dev chains: vite/vitest/storybook/knip/plop). Low-risk.GHSA-2h32-95rg-cppp)@vitest/browser(dev)--prodgate but should clear with a vitest bump.Ratchet sequence: (1) picomatch override, (2) resolve/suppress lodash, (3) xlsx parse-path migration or scoped suppression + compensating control, (4) flip
bun audit --prod --audit-level=critical → highand TrivyCRITICAL → HIGH,CRITICALin.github/workflows/security.yml(one line each) and drop the "see #1498" comments.Most of (1)/(4) are mechanical; (2)/(3) are the real work and (3) needs spreadsheet-parse validation against a running stack. Leaving open as the tracked ratchet — it can't be a single safe PR while xlsx has no registry fix.
chore(deps): record accept-risk CVE suppressions + document security-…
chore(deps): record accept-risk CVE suppressions + document security-…
feat(deps): ratchet CVE gates from CRITICAL to HIGH