Make the security pass and stability-reviewer check a new secret's docs for its reach

This commit is contained in:
2026-11-27 19:59:58 +01:00
parent 7a6d03a4f5
commit af0bcc9cb9
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -112,6 +112,7 @@ Every PR gets at least this sweep.
- Injection: SQL via raw/concatenated queries, shell/command, XSS via unescaped output.
- Does every new read and write path authorize access?
- Secrets: none hardcoded; none leaked into logs, error responses, or stack traces; PII sanitized before logging.
- A new secret or token: the doc beside it states what the credential can reach, such as the other repositories or tenants its owning account can use, not only what the change uses it for. A doc that says "nothing wider" without naming the account's reach is 🟡.
- Mass assignment/over-posting on model-bound input; uploaded files and paths validated (traversal); user-supplied URLs constrained (SSRF).
- Crypto: vetted primitives only, constant-time comparison for secrets, CSPRNG for tokens.