Repository navigation
Security policy, incident runbook and CI security scans - #189
Merged
Merged
Conversation
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
marked this pull request as ready for review
October 23, 2026 14:35
This was referenced Oct 23, 2026
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
osv-scanner.toml
patches/extract-zip@2.0.1.patchBumped instead of ignored: storybook
^10.6.2(resolved 10.6.3),@vitest/mocker4.1.12,ip-address10.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, andgh 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.ymlsetsinclude-hidden-files: trueand fails unlesshttps://varve.studio/.well-known/security.txtreturns 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 frommaster;release.ymlwill refuse anything else.javascript-typescript,actions,rust, source-only), cargo-deny on both Cargo workspaces, gitleaks against.gitleaks.toml, OSV-Scanner onpnpm-lock.yamland bothCargo.lockfiles, dependency review on pull requests. cargo-deny and OSV-Scanner also run weekly.deny.tomlandosv-scanner.tomlallowlist remaining lockfile findings with reasons. They do not weakenscripts/security/dependency-advisories.mjs.stable.json, andrelease-manifest.jsonwere 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-denygitleaks / gitleaksOSV-Scanner / OSV-ScannerDependency review / Dependency reviewDependency review / Dependency reviewis pull_request-only; it will not run onmasterpushes.Do not mark the existing CI / Release / Release Candidate jobs differently because of this PR.
Test plan
node scripts/security/workflow-policy.mjsnode scripts/pin-github-actions.mjs --checkand--verifycargo-deny checkonCargo.tomlandapps/desktop/src-tauri/Cargo.tomlgitleaks detect --no-git --config .gitleaks.tomlosv-scanneron the three lockfiles withosv-scanner.tomlpnpm exec vitest run apps/website/src/test/security-txt.test.ts@varve/websitetypecheck via pre-push@varve/uiunit suite after the Storybook bumppnpm --filter @varve/website buildwritesdist/.well-known/security.txtpnpm audit:docs,pnpm audit:emoji, secret-scan, contacts auditcontact.spec.tsis deferred to remote certificationpnpm verify:planselected website and UI lanes plus format/lint/audits, and also flagged a full-suite escalation becausescripts/pin-github-actions.mjsis validation infrastructure and the lockfile changed. I did not runpnpm verify:full.Checklist
git commit -s) once DCO is active — see CONTRIBUTING.md