[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116466":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":13,"starSnapshotCount":13,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},116466,"leaked-key-playbooks","krishkhinchi\u002Fleaked-key-playbooks","krishkhinchi","Provides instructions for responding when API keys, passwords, or secret tokens accidentally become public","https:\u002F\u002Fleaked-key-playbooks.vercel.app",null,"TypeScript",63,0,52,3,9,11,48.4,false,"main",true,[23,24,25,26],"api-key-security","credential-leak","cybersecurity","secrets-management","2026-11-16 08:48:13","2026-11-23 14:12:45","# Leaked Key Playbooks\n\n**You leaked a credential. Know exactly what to do next.**\n\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-blue.svg)](LICENSE)\n[![Contributions Welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcontributions-welcome-brightgreen.svg)](CONTRIBUTING.md)\n[![Playbooks](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplaybooks-8-blue.svg)](#supported-providers)\n[![Last Updated](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flast%20updated-2025-blue.svg)](#)\n\nAn open-source, provider-specific incident response knowledge base that helps developers understand, revoke, rotate, investigate, and recover from leaked credentials.\n\n---\n\n## The Problem\n\nDevelopers accidentally expose credentials constantly:\n\n- Pushing `.env` files to public repositories\n- Committing API keys in source code\n- Exposing secrets in CI\u002FCD logs\n- Sharing screenshots containing tokens\n- Leaking credentials through frontend JavaScript\n- Accidentally exposing database connection strings\n\nThe standard advice — **\"revoke and rotate\"** — is dangerously incomplete.\n\nEvery provider behaves differently:\n\n| Behavior | Varies By Provider |\n|---|---|\n| Revocation speed | Immediate vs. propagation delay |\n| Session persistence | Derived tokens may outlive the parent credential |\n| Grace periods | Some providers maintain a window where the old key still works |\n| Audit log depth | Some providers log every API call; others log nothing |\n| Blast radius | One key may expose your entire infrastructure |\n\nWithout provider-specific knowledge, you may think you're safe when you're not.\n\n---\n\n## Our Solution\n\nLeaked Key Playbooks provides structured, evidence-based, provider-specific response instructions. Each playbook covers the full incident response lifecycle:\n\n```\nCredential Exposure\n       │\n       ▼\n  Identify Provider ──► Find Playbook\n                              │\n                    ┌─────────┼─────────┐\n                    ▼         ▼         ▼\n                Revoke    Investigate  Recover\n                    │         │         │\n                    └─────────┴─────────┘\n                              │\n                              ▼\n                    Implement Prevention\n```\n\n---\n\n## Key Features\n\n- **Provider-specific playbooks** — Not generic advice. Exact steps for each provider.\n- **Blast radius documentation** — Understand what each credential can access.\n- **Revocation & rotation instructions** — With provider-specific commands and links.\n- **Grace period documentation** — Know whether the old credential is still active.\n- **Session persistence details** — Understand derived token behavior.\n- **Investigation checklists** — Know exactly what logs to review.\n- **Recovery guidance** — Step-by-step restoration and hardening.\n- **Evidence-backed references** — Every claim links to official documentation.\n- **Verification tracking** — Playbooks include last-verified dates and expire after 180 days.\n\n---\n\n## Supported Providers\n\n| Category | Provider | Status |\n|---|---|---|\n| Cloud Infrastructure | AWS | ✅ Verified |\n| Cloud Infrastructure | Google Cloud | ✅ Verified |\n| Cloud Infrastructure | Microsoft Azure | 🔵 Planned |\n| Cloud Infrastructure | Cloudflare | ✅ Verified |\n| Source Control | GitHub | ✅ Verified |\n| Source Control | GitLab | 🔵 Planned |\n| AI & Developer APIs | OpenAI | ✅ Verified |\n| AI & Developer APIs | Anthropic | 🔵 Planned |\n| Payment & Financial | Stripe | ✅ Verified |\n| Communication | Twilio | ✅ Verified |\n| Communication | SendGrid | 🔵 Planned |\n| Communication | Slack | 🔵 Planned |\n| Database & Storage | Supabase | ✅ Verified |\n| Deployment & Hosting | Vercel | 🔵 Planned |\n| Deployment & Hosting | Railway | 🔵 Planned |\n\n✅ Verified — Playbook available, based on official documentation  \n🔵 Planned — Playbook in progress\n\n---\n\n## Repository Structure\n\n```\nleaked-key-playbooks\u002F\n├── src\u002F\n│   ├── app\u002F\n│   │   ├── page.tsx                    # Landing page\n│   │   ├── playbooks\u002F\n│   │   │   ├── page.tsx                # Playbook explorer\n│   │   │   └── [provider]\u002F\n│   │   │       └── [credential]\u002F\n│   │   │           └── page.tsx        # Individual playbook\n│   │   ├── providers\u002F\n│   │   │   └── page.tsx                # Provider directory\n│   │   ├── response-guide\u002F\n│   │   │   └── page.tsx                # Emergency response guide\n│   │   └── about\u002F\n│   │       └── page.tsx                # About page\n│   ├── components\u002F\n│   │   ├── Navbar.tsx\n│   │   ├── Footer.tsx\n│   │   ├── PlaybookCard.tsx\n│   │   └── ui.tsx                      # Shared UI components\n│   └── lib\u002F\n│       ├── types.ts                    # TypeScript interfaces\n│       ├── playbooks.ts                # Playbook data\n│       └── providers.ts                # Provider data\n├── .github\u002F\n│   ├── ISSUE_TEMPLATE\u002F\n│   │   ├── playbook-issue.md\n│   │   └── new-provider.md\n│   └── PULL_REQUEST_TEMPLATE.md\n├── design.md                           # Design specification\n├── CONTRIBUTING.md\n├── SECURITY.md\n├── CODE_OF_CONDUCT.md\n├── LICENSE\n└── README.md\n```\n\n---\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js 18+\n- npm 9+\n\n### Installation\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fyour-org\u002Fleaked-key-playbooks.git\ncd leaked-key-playbooks\n\nnpm install\nnpm run dev\n```\n\nOpen [http:\u002F\u002Flocalhost:3000](http:\u002F\u002Flocalhost:3000) in your browser.\n\n### Production Build\n\n```bash\nnpm run build\nnpm start\n```\n\n---\n\n## How to Use\n\n1. **Open the website** at [leaked-key-playbooks.vercel.app](https:\u002F\u002Fleaked-key-playbooks.vercel.app) or run locally\n2. **Search for your provider** using the search bar (`\u002F` or `Ctrl+K`)\n3. **Select the credential type** that was exposed\n4. **Read the immediate response steps** — follow them in order\n5. **Use the investigation checklist** to identify unauthorized access\n6. **Follow recovery and prevention guidance** to restore security\n\n---\n\n## Playbook Structure\n\nEach playbook follows a consistent structure:\n\n```typescript\ninterface Playbook {\n  provider: string;           \u002F\u002F \"AWS\"\n  credentialName: string;     \u002F\u002F \"Access Key\"\n  severity: SeverityLevel;    \u002F\u002F \"critical\" | \"high\" | \"medium\" | \"low\"\n  permissions: string[];      \u002F\u002F What the credential can access\n  exposureImpact: string[];   \u002F\u002F Consequences of exposure\n  immediateActions: {         \u002F\u002F Numbered emergency steps\n    order: number;\n    title: string;\n    description: string;\n    command?: string;         \u002F\u002F Copyable CLI command if applicable\n  }[];\n  revocation: string;         \u002F\u002F How to revoke\n  rotation: string;           \u002F\u002F How to rotate\n  gracePeriod: string;        \u002F\u002F Whether old credential stays valid\n  sessionPersistence: string; \u002F\u002F Derived token behavior\n  investigation: string[];    \u002F\u002F What logs to review\n  recovery: string[];         \u002F\u002F Post-incident steps\n  prevention: string[];       \u002F\u002F How to prevent recurrence\n  sources: Source[];          \u002F\u002F Evidence references\n  lastVerified: string;       \u002F\u002F ISO date\n  expiresAt: string;          \u002F\u002F 180 days after lastVerified\n}\n```\n\n---\n\n## Evidence and Verification\n\nEvery factual claim in a playbook must be traceable to one of:\n\n| Evidence Type | Description |\n|---|---|\n| `official-docs` | Official provider documentation |\n| `security-advisory` | Provider security advisory or bulletin |\n| `incident-report` | Documented real-world incident |\n| `reproduction` | Independently reproduced behavior |\n\nPlaybooks expire 180 days after their last verification date. Expired playbooks are marked as stale and flagged for review.\n\n---\n\n## Contributing\n\nContributions from developers, security researchers, DevOps engineers, and incident responders are welcome.\n\n### How to contribute\n\n**Add a new provider playbook:**\n1. Fork the repository\n2. Add the provider to `src\u002Flib\u002Fproviders.ts`\n3. Add the playbook to `src\u002Flib\u002Fplaybooks.ts` following the existing schema\n4. Include sources linking to official documentation\n5. Open a pull request with a description of the evidence used\n\n**Fix an existing playbook:**\n1. Open an issue describing what is incorrect or outdated\n2. Link to the official documentation that contradicts the current content\n3. Submit a pull request with the correction and updated `lastVerified` date\n\n**Report an issue:**\n- Use the [playbook issue template](.github\u002FISSUE_TEMPLATE\u002Fplaybook-issue.md)\n- Do not include real credentials or sensitive incident data in public issues\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for full guidelines.\n\n---\n\n## Security Policy\n\nTo report a security vulnerability in this project, do **not** open a public GitHub issue.\n\nEmail: security@example.com\n\nSee [SECURITY.md](SECURITY.md) for the full security policy.\n\n**Never include real credentials, access tokens, or sensitive incident data in public issues or pull requests.**\n\n---\n\n## Roadmap\n\n- [x] Initial provider playbooks (AWS, GitHub, Stripe, OpenAI, Cloudflare, Supabase, Twilio, GCP)\n- [x] Structured playbook schema with TypeScript types\n- [x] Searchable playbook explorer\n- [x] Provider directory\n- [x] Emergency response guide\n- [x] Evidence and verification tracking\n- [ ] Playbook expiration and stale detection automation\n- [ ] Machine-readable JSON index for tooling integration\n- [ ] GitHub Actions workflow for playbook validation\n- [ ] Integration with secret scanner tools (truffleHog, gitleaks)\n- [ ] Community review system for playbook accuracy\n- [ ] Additional providers: Azure, GitLab, Anthropic, SendGrid, Slack, Vercel\n\n---\n\n## Frequently Asked Questions\n\n**What is a leaked credential?**  \nAny secret — API key, access token, password, webhook secret, database URL — that has been unintentionally exposed to unauthorized parties.\n\n**Is deleting a leaked API key from GitHub enough?**  \nNo. Git history retains the credential. You must revoke it through the provider's official mechanism and purge it from git history using git-filter-repo or BFG Repo Cleaner.\n\n**What is the difference between revocation and rotation?**  \nRevocation disables the exposed credential. Rotation replaces it with a new one. Both steps are usually required.\n\n**Can old sessions remain active after revocation?**  \nYes, depending on the provider. AWS STS temporary credentials, for example, remain valid until their own expiry even after the parent key is deactivated. Each playbook documents this behavior.\n\n**Are the instructions verified?**  \nPlaybooks marked \"Verified\" are based on official provider documentation with a last-verified date. Provider behavior can change — always verify critical steps with official documentation.\n\n**Does this project automatically revoke credentials?**  \nNo. This is an educational reference. It provides instructions for you to follow manually.\n\n---\n\n## Disclaimer\n\nLeaked 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.\n\n---\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details.\n\n---\n\n## Acknowledgements\n\nBuilt by the open-source community. Contributions, corrections, and new playbooks are always welcome.\n","这是一个面向开发者的开源凭证泄露应急响应知识库，提供针对不同云服务和API提供商的结构化、可执行的密钥泄露处置指南。核心功能包括按提供商定制的撤销与轮换步骤、爆破半径分析、会话持久性说明、审计日志检查清单及预防措施建议，所有内容均基于官方文档验证并标注时效性。项目采用TypeScript构建，强调实操性与证据支撑，适用于DevSecOps团队、SRE工程师及日常接触API密钥的开发者在发生.env误提交、代码泄漏、前端硬编码等典型场景时快速响应。",2,"2026-11-24 04:53:36","CREATED_QUERY"]