Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
md | Signature key source | Fetch JWKS once at startup or cache it with a TTL; fetching per request adds an upstream to every call and a new failure mode | | `sub` shape | Treat it as an opaque string; casting to int breaks the day the provider issues UUIDs | - Access tokens short (minutes), refresh tokens long and revocable. Revocation needs state — a deny list in Redis keyed by `jti`, or a `token_version` column compared on each request; a stateless JWT cannot be un-issued. - Symmetric (HS256) is fine when the same service signs and verifies; asymmetric (RS256/EdDSA) once anything else must verify, so the private key never leaves the issuer. ## Passwords
