# Security incident response

> What to patch, rotate and verify after a disclosure or a provider incident.

- Canonical: https://starkslab.com/learn/incident-response
- Notes: 3 · Updated: 2026-11-20

## Read in this order

1. [PHP Security After PHP2Shell: What Happened, What to Patch, What to Verify](https://starkslab.com/notes/php-security-php2shell-patch-verification.md): A dated account of the October 2026 PHP vulnerabilities, the role of AI-assisted research, the first fixed releases and the evidence needed to show patched runtimes reached running applications. (Guide; documented; 2026-11-20)
2. [API Key Rotation After the Railway Incident: My Apps Still Had the Old Keys](https://starkslab.com/notes/api-key-rotation-railway-security-incident-recovery.md): On 21 October 2026, app-hosting platform Railway disclosed a security incident and advised users to replace credentials. I did—but parts of my web application and background jobs still had the old keys. Here is what I changed to get those replacements into the software that needed them. (Guide; tested; 2026-10-28)
3. [How to Rotate API Keys: A Checklist for Application Recovery](https://starkslab.com/notes/rotate-api-keys-checklist.md): To rotate an application's API key, you need to update every program that uses it and check the results. This checklist includes a non-secret tracking register, a routine rotation sequence and a separate path for urgent exposure. (Checklist; tested; 2026-10-29)

## Tools in these notes

- [Infisical](https://starkslab.com/tools/infisical.md)
- [Railway](https://starkslab.com/tools/railway.md)

---

Starkslab index for agents: https://starkslab.com/llms.txt lists every page with its Markdown link.
