Skip to content

Security policy, incident runbook and CI security scans - #189

Merged
K-Arthur merged 6 commits into
masterfrom
cursor/security-policy-and-scans
Oct 23, 2026
Merged

K-Arthur merged 6 commits into
masterfrom
cursor/security-policy-and-scans

Conversation

@K-Arthur

@K-Arthur K-Arthur commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Allowlisted advisories

Review these before merging. They silence the new scanners only. They do not change scripts/security/dependency-advisories.mjs. Remaining OSV ignores expire on 2027-01-21.

deny.toml

ID Package Reason
RUSTSEC-2024-0436 paste Unmaintained; no compatible replacement in the image / little_exif / rav1e graph
RUSTSEC-2024-0370 proc-macro-error Unmaintained; pulled by glib-macros / gtk3-macros, no replacement
RUSTSEC-2026-0206 rustybuzz Unmaintained; varve-print has no harfrust migration yet
RUSTSEC-2026-0192 ttf-parser Unmaintained; pulled by rustybuzz and varve-print
RUSTSEC-2026-0371 zbus_names Unmaintained; desktop zbus stack, no compatible bump
RUSTSEC-2026-0370 zvariant Unmaintained; same zbus desktop stack
RUSTSEC-2026-0372 zvariant_derive Unmaintained; same zbus desktop stack

osv-scanner.toml

ID Package Reason ignoreUntil
RUSTSEC-2024-0436 paste Unmaintained; no fixed version in the resolved graph 2027-01-21
RUSTSEC-2026-0206 rustybuzz 0.20.1 No published fix; already a visible warning in the advisory gate 2027-01-21
RUSTSEC-2026-0192 ttf-parser 0.25.1 No published fix; pulled by rustybuzz 2027-01-21
GHSA-wrw7-89jp-8q8g glib 0.18.x VariantStrIter unsoundness (RUSTSEC-2024-0429). gtk-rs 0.18 pinned by Tauri 2.11 2027-01-21
RUSTSEC-2024-0370 proc-macro-error Unmaintained; pulled by glib-macros / gtk3-macros 2027-01-21
RUSTSEC-2026-0371 zbus_names 4.3.4 No published fix; desktop zbus stack 2027-01-21
RUSTSEC-2026-0370 zvariant 5.14.0 No published fix; same zbus/zvariant desktop stack 2027-01-21
RUSTSEC-2026-0372 zvariant_derive 5.14.0 No published fix; same zbus/zvariant desktop stack 2027-01-21
GHSA-vfj7-8cjw-p6xm braces 3.0.3 No published fix. Website build graph; documented local mitigation 2027-01-21
GHSA-7pqw-9j4j-h8q3 extract-zip 2.0.1 No patched npm release. Dev-only; contained by patches/extract-zip@2.0.1.patch 2027-01-21
GHSA-jmr9-qjv8-65gv extract-zip 2.0.1 Same finding as GHSA-7pqw-9j4j-h8q3 2027-01-21
GHSA-rj75-hqrm-r3gf postcss-selector-parser 6.1.4 Tailwind 3 / website build tooling on trusted sources 2027-01-21
GHSA-r4xh-jqrq-34v2 smol-toml 1.7.1 Knip/WDIO tooling on repo-controlled config. Production Astro already uses 1.9.0 2027-01-21

Bumped instead of ignored: storybook ^10.6.2 (resolved 10.6.3), @vitest/mocker 4.1.12, ip-address 10.7.4.

Summary

Publishes a vulnerability-reporting policy with stated response times, an RFC 9116 security.txt, a solo-maintainer incident runbook, and light CI security scans. Existing advisory, secret-scan, and workflow-policy gates are unchanged.

  • SECURITY.md: report by email to security@varve.studio or GitHub private vulnerability reporting. Ack in 3 business days, triage and CVSS in 7 days. Fix targets: critical 7 days, high 30 days, others the next release. Coordinated disclosure, 90 days by default. Supported: latest 0.5.x only during public beta. Advisories plus CHANGELOG. Release verify via SHA-256, SBOM, and gh attestation verify <file> --repo varvedesign/varve. Releases through 0.5.1 use --repo K-Arthur/varve.
  • apps/website/public/.well-known/security.txt: copied by the Astro build. website-deploy.yml sets include-hidden-files: true and fails unless https://varve.studio/.well-known/security.txt returns 200.
  • docs/security/incident-runbook.md: intake, severity, hotfix path (prepare on the hotfix branch, true merge to master, tag the hotfix commit), updater-feed rule, advisory and post-incident templates. A critical hotfix still needs Release Candidate certification and a tag reachable from master; release.yml will refuse anything else.
  • CI: CodeQL (javascript-typescript, actions, rust, source-only), cargo-deny on both Cargo workspaces, gitleaks against .gitleaks.toml, OSV-Scanner on pnpm-lock.yaml and both Cargo.lock files, dependency review on pull requests. cargo-deny and OSV-Scanner also run weekly.
  • zizmor was not added. This repo's workflows are not quiet under it.
  • deny.toml and osv-scanner.toml allowlist remaining lockfile findings with reasons. They do not weaken scripts/security/dependency-advisories.mjs.
  • LICENSE, FUNDING.yml, stable.json, and release-manifest.json were not touched.

Required checks to mark

Do not enable these until this draft is reviewed. These are the exact check names GitHub is already showing on this PR:

  • CodeQL / Analyze (javascript-typescript)
  • CodeQL / Analyze (actions)
  • CodeQL / Analyze (rust)
  • cargo-deny / cargo-deny
  • gitleaks / gitleaks
  • OSV-Scanner / OSV-Scanner
  • Dependency review / Dependency review

Dependency review / Dependency review is pull_request-only; it will not run on master pushes.

Do not mark the existing CI / Release / Release Candidate jobs differently because of this PR.

Test plan

  • node scripts/security/workflow-policy.mjs
  • node scripts/pin-github-actions.mjs --check and --verify
  • cargo-deny check on Cargo.toml and apps/desktop/src-tauri/Cargo.toml
  • gitleaks detect --no-git --config .gitleaks.toml
  • osv-scanner on the three lockfiles with osv-scanner.toml
  • pnpm exec vitest run apps/website/src/test/security-txt.test.ts
  • Website unit suite and @varve/website typecheck via pre-push
  • @varve/ui unit suite after the Storybook bump
  • pnpm --filter @varve/website build writes dist/.well-known/security.txt
  • pnpm audit:docs, pnpm audit:emoji, secret-scan, contacts audit
  • Hosted CI on this PR (CodeQL / cargo-deny / gitleaks / OSV / dependency review)
  • Website E2E contact.spec.ts is deferred to remote certification

pnpm verify:plan selected website and UI lanes plus format/lint/audits, and also flagged a full-suite escalation because scripts/pin-github-actions.mjs is validation infrastructure and the lockfile changed. I did not run pnpm verify:full.

Checklist

  • Affected website checks and the new scanners pass locally
  • Documentation updated
  • Commit(s) are signed off (git commit -s) once DCO is active — see CONTRIBUTING.md
Open in Web Open in Cursor 

State vulnerability response times, publish RFC 9116 security.txt,
add a solo-maintainer incident runbook, and introduce light CodeQL,
cargo-deny, gitleaks, OSV-Scanner, and dependency-review workflows.
security@varve.studio is not a verified mailbox yet. Point the new
policy, security.txt, runbook, and changelog at hello@varve.studio.
Match CONTACTS.security. security@varve.studio is one of the seven
official role addresses.
Include hidden files in the Pages artifact so /.well-known/security.txt
is published, and fail the deploy unless the live URL returns 200.
Remove the unused Astro route. Bump storybook, @vitest/mocker, and
ip-address instead of ignoring them. Attestation docs use --repo only.
actionlint/shellcheck flagged SC2034 on the retry loop. The loop
variable is unused; rename it to _.
The open-file fixture used an undecodable schemaVersion 1 blob with a
shared document id, so openFile refused the second file. Encode real
documents with distinct ids. Abort the collection-list fetch when
remote icon consent is withdrawn.
@K-Arthur
K-Arthur marked this pull request as ready for review October 23, 2026 14:35
@K-Arthur
K-Arthur merged commit e114771 into master Oct 23, 2026
57 checks passed
@K-Arthur
K-Arthur deleted the cursor/security-policy-and-scans branch October 23, 2026 14:35
cursor Bot pushed a commit that referenced this pull request Oct 23, 2026
Resolve the two conflicts from #189 (e114771): keep both Security
changelog entries, and keep master's openFileDedupe helper
(DocumentCodec.encode(createDocument(name))) plus this branch's
watchdog and loadHome changes.
cursor Bot pushed a commit that referenced this pull request Oct 23, 2026
Bring in #186, #189, #192, and #194 so the file-scope work sits on current master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants