You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SECURITY] Encrypt org credentials at rest (BYOK storage) #60
Org credentials are stored as plaintext JSON at {org_id}/config/credentials.json via OrgConfig.save() → storage.put_json().
SECURITY_GUARANTEES.md claims credentials are encrypted at rest and references an ENCRYPT_CREDENTIALS flag, but no encryption code exists in the Python codebase.
Impact
A storage bucket compromise, backup leak, or overly broad IAM policy exposes all tenant API keys (Anthropic, GitHub, cloud providers, Jira, PagerDuty, etc.) in one shot.
Proposed solution
Add envelope encryption before writing credentials (KMS-backed or app-level master key)
Optionally support read-through from AWS Secrets Manager, GCP Secret Manager, or HashiCorp Vault instead of object storage
Align SECURITY_GUARANTEES.md with actual implementation
Add tests verifying ciphertext at rest and that status/logs never expose secret values
Activity