spectrawl
spectrawl copied to clipboard
Auth storage hardening: optional encryption-at-rest for cookies/OAuth tokens in SQLite
In sandbox tests, auth data is persisted in SQLite (cookies.db) with token/cookie material stored as plain DB fields.
Request
Add optional encryption-at-rest for sensitive auth fields:
- oauth_token
- oauth_refresh
- cookies
- credentials
Suggested approach
- passphrase/key via env var
- encrypt/decrypt sensitive columns in app layer
- document key rotation and backup behavior
- fallback to plaintext mode only when explicitly configured
Why
Greatly reduces blast radius if disk/filesystem is compromised.
Version
- spectrawl v0.3.20