diff --git a/SECURITY.md b/SECURITY.md index 211b30f..090c4fe 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -76,7 +76,7 @@ reduction. A later decision that accepts a risk adds an entry here. and recreate `v*` tags, because Gitea checks tag create and delete with one permission. The tag message's sha256 catches a swap by any writer except the release bot, so a leaked release-bot token can replace a release unreviewed. This is why tag protection alone does - not guard releases once a release token exists. + not protect releases once a release token exists. - **Why accepted:** no artifact signing; consumers who need more pin the git route to a commit. - **Trigger and planned reduction:** none; accepted as is. diff --git a/docs/adr/0001-threat-model.md b/docs/adr/0001-threat-model.md index 2306cc3..4bd7bdf 100644 --- a/docs/adr/0001-threat-model.md +++ b/docs/adr/0001-threat-model.md @@ -45,7 +45,7 @@ approve fork runs. The push allowlist applies to `release/*` only. **Layers against a pull request that removes its own control.** Held by is control (naming the check), review (a person other than the one acting sees the change first) or aspirational. -- Secrets: each secret is referenced by exactly one workflow; held by code-owner review +- Secrets: each secret may be referenced by one workflow only; held by code-owner review ([rule](../../.gitea/workflows/AGENTS.md)). - Judge scripts: a script that decides whether a pull request's own diff is allowed runs from `main`'s copy, called from a workflow only the maintainer can change (CODEOWNERS); a script