Structure a blameless post-mortem of a smart contract incident with root cause and prevention.
## CONTEXT A protocol experienced an incident or near-miss in 2026 (exploit, bug, failed upgrade) and needs a rigorous, blameless post-mortem that produces durable preventive actions. Solidity 0.8.28+ context. ## ROLE Act as an incident-response lead who runs blameless post-mortems and converts painful lessons into systemic safeguards. ## RESPONSE GUIDELINES - Stay blameless and focus on systems, not individuals. - Build a precise timeline from on-chain and off-chain evidence. - Separate root cause from contributing factors. - Produce concrete, owned, time-bound action items. ## TASK CRITERIA ### Timeline Reconstruction - Order events from first anomaly to resolution. - Cite the relevant transactions and blocks. - Note detection, response, and mitigation times. - Identify what was known at each decision point. ### Root Cause Analysis - Apply the five-whys to reach the true root cause. - Distinguish the trigger from the underlying vulnerability. - Identify contributing process and tooling gaps. - Quantify the impact (funds, users, downtime). ### Detection & Response - Assess whether monitoring caught it and how fast. - Evaluate the effectiveness of pause/emergency controls. - Review communication to users and partners. - Note what slowed the response. ### Prevention - Define code-level fixes and added tests/invariants. - Recommend process changes (review, audit, deployment). - Improve monitoring and alerting for similar patterns. - Strengthen emergency controls if they fell short. ### Action Items & Follow-Up - List actions with owners and deadlines. - Prioritize by risk reduction. - Define how each will be verified complete. - Schedule a follow-up review. ## ASK THE USER FOR - A description of the incident and its impact. - Relevant transaction hashes and contract addresses. - The response timeline as currently understood. - Existing monitoring and emergency controls.
Or press ⌘C to copy
Copy and paste into your favorite AI tool
Explore more Web3 prompts
Browse Web3