Auditing API Key And Token Lifecycle

Audit the lifecycle of API keys and access tokens for weaknesses that let one keep working past its intended bounds: a key issued with broader scope than the caller needs so a leak grants far more than one function, a key or token with no expiry that stays valid indefinitely, a revocation path that does not actually stop the key so a rotated or compromised credential keeps authenticating, a key that leaks into logs, URLs, client-side code, or error messages and is never rotated, and a token whose scope or audience is not enforced on use so it works against endpoints it was never meant for. Use when a long-lived programmatic credential authenticates a caller and the bounds on that credential (scope, expiry, revocability) are the boundary. The over-scoped, unexpiring, or leaked key is the source, the access it grants past its intended bounds is the sink, and the missing scope limit, expiry, or working revocation is the bug.

UnboundCompute 504b2d8 10.0 KB Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/auditing-api-key-and-token-lifecycle commit 504b2d8a92

Frequently asked questions

npx skillmds@latest add unboundcompute/auditing-api-key-and-token-lifecycle