About Leaked Key Playbooks

An open-source, provider-specific incident response knowledge base for leaked credentials.

The Problem

Developers accidentally expose credentials constantly — through public git commits, CI/CD logs, screenshots, and misconfigured environments. When this happens, the standard advice is “revoke and rotate.” But that advice is dangerously incomplete.

Every provider has different revocation mechanisms, different session persistence behavior, different audit log systems, and different blast radii. Without provider-specific knowledge, a developer may think they've secured their infrastructure when they haven't.

Our Solution

Leaked Key Playbooks provides structured, evidence-based, provider-specific response instructions. Each playbook covers the full incident response lifecycle: identification, revocation, investigation, and recovery.

Every factual claim is traceable to official provider documentation or independently reproduced behavior. Playbooks include verification dates and expire after 180 days to prevent stale information from causing harm.

“Every credential has a different blast radius. Every provider needs a different response playbook.”

Frequently Asked Questions

What is a leaked credential?

A leaked credential is any secret — API key, access token, password, webhook secret, database URL, or similar — that has been unintentionally exposed to unauthorized parties. This can happen through public git commits, CI/CD logs, screenshots, or compromised machines.

Is deleting a leaked API key from GitHub enough?

No. Deleting a file from a repository does not remove it from git history. Anyone who cloned the repository before deletion may still have the credential. You must revoke the credential through the provider's official mechanism and purge it from git history.

What is the difference between revocation and rotation?

Revocation disables the exposed credential so it can no longer authorize new requests. Rotation replaces it with a new credential. Both steps are usually required — revoke the old credential and rotate to a new one.

Can old sessions remain active after revocation?

Yes, depending on the provider. Some providers issue derived tokens (like AWS STS temporary credentials) that remain valid until their own expiry even after the parent credential is revoked. Each playbook documents the specific session persistence behavior.

Are the instructions verified?

Each playbook includes a verification status and last-verified date. Instructions marked 'Verified' are based on official provider documentation. Provider behavior can change — always verify critical steps with the official provider documentation before acting.

Does this project automatically revoke credentials?

No. This is an educational reference. It provides instructions for you to follow. It does not connect to any provider APIs or automatically take action on your behalf.

Can I contribute a new provider?

Yes. Contributions are welcome. See the Contributing section on GitHub for instructions on how to add a new provider playbook.

Disclaimer

Leaked Key Playbooks is an educational security reference. It does not automatically detect or revoke leaked credentials. Provider behavior may change without notice — always verify critical instructions with official provider documentation before taking action. This project does not replace professional incident response or security advice. Not affiliated with any listed provider.