Skip to content

Docs for OpenSSF Best Practices silver - #137

Open
benandez wants to merge 2 commits into
mainfrom
claude/silver-docs
Open

benandez wants to merge 2 commits into
mainfrom
claude/silver-docs

Conversation

@benandez

@benandez benandez commented Dec 5, 2026

Copy link
Copy Markdown
Member

Covers the documentation criteria for the silver badge (project 17506).

File Silver criteria
GOVERNANCE.md (new) governance, roles_responsibilities, access_continuity
docs/ASSURANCE.md (new) assurance_case, implement_secure_design
SECURITY.md vulnerability_response_process, vulnerability_report_credit (drops "one-person project")
CONTRIBUTING.md coding_standards, test_policy_mandated, tests_documented_added

Please check before merging: the roles table and decision rules in GOVERNANCE.md are a draft from CODEOWNERS and repo permissions; @James-Chapman's role is a guess. The SECURITY.md targets (14-day acknowledgement, 60-day fix) are new commitments.

Remaining silver criteria (coverage 80%, repeatable build, rustfmt enforcement, …) are tracked in separate issues.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FypgCXfhkickDXEjD4C99f

GOVERNANCE.md (decisions, roles, continuity), docs/ASSURANCE.md (assurance
case), SECURITY.md response process and reporter credit, CONTRIBUTING.md
coding standards and mandatory test policy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCXfhkickDXEjD4C99f
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 56 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ba76cb75-fc2b-46ef-9d85-44160a819978
Commits

Reviewing files that changed from the base of the PR and between 5a5e67e and 2f760ae.

Files selected for processing: 5

  • CONTRIBUTING.md
  • GOVERNANCE.md
  • SECURITY.md
  • docs/ASSURANCE.md
  • docs/RELEASING.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Jeremy8776 Jeremy8776 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request changes: mostly accurate, but five points to fix first. Checked against the branch, the repo settings and the code.

Should fix

1. Continuity claims more than is true today (GOVERNANCE.md, Continuity)
"Veil must keep going if any one person stops", but the UCSLabs organisation has one admin (benandez). Jeremy8776 and James-Chapman have write access only. If that one person stopped, nobody could change settings, secrets or branch protection. #141 tracks a second owner. Until it is done, please name the gap here and link #141, or access_continuity is not really met.

2. Who decides a release is unclear

  • GOVERNANCE says the organisation owner decides releases.
  • It also says every maintainer can tag a release.
  • docs/RELEASING.md:86 says publishing "needs the maintainer's authorization".

Please make these one rule. The release environment has no required reviewers, so the settings enforce none of them.

3. "256-bit keys" is misleading (docs/ASSURANCE.md, weaknesses table)
The MLS suite is MLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 (crates/veil-group/src/provider.rs:41): the 128-bit security level. ChaCha20's key is 256-bit, but X25519 and Ed25519 are 128-bit level. The cited evidence (ARCHITECTURE §5.1) does not mention key length. Suggest naming the suite and saying "128-bit security level", which still meets crypto_keylength.

4. "Only the maintainers see the report" (SECURITY.md)
As far as I know, private vulnerability reports are visible to repository admins and security managers. Maintainers with write access only may not see them. Either give the maintainers the security manager role, or change the wording.

5. Decisions for the maintainers
The lead maintainer role, James-Chapman's role, and the new 14-day acknowledgement and 60-day fix targets are public commitments. Jeremy is checking these separately.

Minor

  • docs/ASSURANCE.md: "No unsafe code outside the documented FFI modules". The Android launcher has an exception too (TRANSPARENCY.md §5 lists it), so the sentence should cover it.
  • CONTRIBUTING.md coding standards: CI does not enforce rustfmt yet (#140), and nothing checks Python for PEP 8. Say "follows" rather than "as applied by" until it does.

Checked and fine

  • Every linked file and workflow exists: CODEOWNERS, docs/adr/, fuzz/ (frame, app-message, UPnP targets), fuzz.yml, audit.yml, codeql.yml, zizmor.yml, deny.toml, release-key.pub.
  • The ARCHITECTURE §5.1 and §5.2 anchors, the ROADMAP data-ownership anchor and the TRANSPARENCY section numbers (2, 5, 6, 7) are right.
  • Workspace unsafe_code = "forbid"; CI runs clippy on all targets with RUSTFLAGS: -D warnings.
  • Signing happens only on version tags, through the release environment, with a federated Azure credential and no client secret.
  • CODEOWNERS requests review without requiring it, matching "asks the right maintainer".

Not built or run; docs only.


@Jeremy8776 had the idea. Claude Code had the keyboard.

Continuity names the one-owner gap (#141); one release rule across
GOVERNANCE and RELEASING; MLS suite and 128-bit level; who sees private
reports; unsafe exceptions include the Android launcher; rustfmt and
PEP 8 are followed, not enforced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benandez

benandez commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Thanks @Jeremy8776, addressed in 2f760ae:

  1. Continuity: now says Veil aims to keep going. It names the one-owner gap and links Silver: add a second UCSLabs organisation owner #141.
  2. Release rule: one rule now. Any maintainer may cut, tag and publish by following RELEASING.md. The org owner sets release, signing and supply-chain policy and can stop a release. RELEASING.md's publish line points back to GOVERNANCE. Required reviewers on the release environment would be a settings change, not part of this PR.
  3. Crypto: names MLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 at the 128-bit security level.
  4. Private reports: now "repository admins and security managers".
  5. Roles and the 14/60-day targets: left for you to confirm.

Minor: the unsafe-code line now covers the Android launcher. CONTRIBUTING says rustfmt is not yet enforced (#140) and that PEP 8 is not checked.

🤖 Generated with Claude Code

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@benandez
benandez requested a review from Jeremy8776 December 5, 2026 22:34

@Jeremy8776 Jeremy8776 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review of 2f760ae: the review points are fixed. Two things are left before approval.

Fixed

  1. Continuity: now says Veil "aims" to keep going, names the one-owner gap and links #141.
  2. Release rule: one rule. Any maintainer may cut, tag and publish, and the org owner sets policy and can stop a release. docs/RELEASING.md now points back to GOVERNANCE.
  3. Crypto: names MLS_128_DHKEMX25519_CHACHA20POLY1305_SHA256_Ed25519 at the 128-bit security level.
  4. SECURITY.md: now says "repository admins and security managers".
  • Minor: the Android launcher exception is covered, and rustfmt and PEP 8 now say "follows" with "not enforced".

Still open

  • Point 5: the lead maintainer role, James-Chapman's role, and the 14-day and 60-day targets. Jeremy is still checking these.
  • CI: build (macos-15) shows as failed, but the job was cancelled by hand. It needs a re-run.

Nit

  • docs/RELEASING.md: the edited paragraph is no longer wrapped to the file's line length.

Docs only; not built or run.


@Jeremy8776 had the idea. Claude Code had the keyboard.

This branch has not been deployed

No deployments
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