Make the security pass and stability-reviewer check a new secret's docs for its reach
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user