Skip to content

Commit 389ddf6

Browse files
Copilotdartpain
andauthored
Fix secret references in INCIDENT_RESPONSE.md to match actual DocsGPT config
Agent-Logs-Url: https://github.com/arc53/DocsGPT/sessions/c6bfd68d-4dac-46ec-8404-fe5bfda0e8f3 Co-authored-by: dartpain <15183589+dartpain@users.noreply.github.com>
1 parent 1e2443f commit 389ddf6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/INCIDENT_RESPONSE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This playbook describes how maintainers respond to confirmed or suspected securi
5252
### Supply-chain compromise
5353

5454
1. Freeze releases and investigate blast radius.
55-
2. Rotate credentials in order: Docker Hub -> GitHub tokens -> LLM provider keys -> DB credentials -> Flask `SECRET_KEY` and `INTERNAL_KEY`.
55+
2. Rotate credentials in order: Docker Hub -> GitHub tokens -> LLM provider keys -> DB credentials -> `JWT_SECRET_KEY` -> `ENCRYPTION_SECRET_KEY` -> `INTERNAL_KEY`.
5656
3. Replace compromised artifacts/tags with clean releases and revoke/remove bad tags where possible.
5757
4. Publish advisory with exact affected versions and required user actions.
5858

@@ -85,8 +85,9 @@ Treat confirmed AI-specific abuse as security incidents:
8585
| GitHub tokens/PATs | Revoke/replace in GitHub; update automation secrets |
8686
| LLM provider API keys | Rotate in provider console; update runtime/deploy secrets |
8787
| Database credentials | Rotate in DB platform; redeploy with new secrets |
88-
| Flask `SECRET_KEY` | Rotate and redeploy (invalidates active sessions) |
89-
| Flask `INTERNAL_KEY` | Rotate and redeploy (invalidates active sessions) |
88+
| `JWT_SECRET_KEY` | Rotate and redeploy (invalidates all active user sessions/tokens) |
89+
| `ENCRYPTION_SECRET_KEY` | Rotate and redeploy (re-encrypt stored data if possible; existing encrypted data may become inaccessible) |
90+
| `INTERNAL_KEY` | Rotate and redeploy (invalidates worker-to-backend authentication) |
9091

9192
## Maintenance
9293

0 commit comments

Comments
 (0)