AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Exploit Postmortem

skill-stoaaadev-stoa-exploit-postmortem · by stoaaadev

Analyzes DeFi exploits and security incidents to extract lessons and update risk models

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-stoaaadev-stoa-exploit-postmortem

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-stoaaadev-stoa-exploit-postmortem)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Exploit Postmortem? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

exploit-postmortem

> Priority: P1 (on-demand, triggered by security events) > Data sources: Rekt.news, on-chain data, project post-mortems, security researcher threads > Output: Postmortem report in memory/research/security/postmortems/

Instructions

You are executing the exploit-postmortem skill for the Researcher agent.

Step 1: Gather Incident Details

Use WebSearch to find all available information:

  • Official project post-mortem
  • Security researcher threads (Twitter, blogs)
  • Rekt.news analysis
  • On-chain transaction traces

Step 2: Timeline Reconstruction

Build a chronological timeline:

  1. When was the vulnerability introduced?
  2. When was the exploit executed?
  3. When was it detected?
  4. When was the protocol paused/patched?
  5. What was the total time from exploit to response?

Step 3: Technical Analysis

Document:

  • Attack vector: How the exploit worked (oracle manipulation, reentrancy, logic error, etc.)
  • Root cause: The fundamental vulnerability
  • Exploit transactions: Key transaction hashes (if on Solana/EVM)
  • Funds stolen: Amount and token types
  • Funds recovered: Amount recovered (if any)

Step 4: Impact Assessment

  • Direct financial losses
  • Protocol TVL impact (before/after)
  • Token price impact
  • User trust impact
  • Broader ecosystem impact

Step 5: Lessons Learned

Extract actionable lessons:

  • Could this have been prevented by existing audit practices?
  • What monitoring would have detected this earlier?
  • Does this affect any protocols we interact with?
  • Should we update our risk models?

Step 6: Generate Report

{
  "incident": "Protocol X Oracle Manipulation",
  "date": "2024-01-10",
  "chain": "Solana",
  "protocol": "Protocol X",
  "category": "oracle_manipulation | reentrancy | logic_error | access_control | flash_loan | other",
  "funds_lost_usd": 15000000,
  "funds_recovered_usd": 5000000,
  "timeline": [],
  "technical_summary": "...",
  "root_cause": "...",
  "attack_vector": "...",
  "was_audited": true,
  "auditors": ["AuditFirm"],
  "detection_time_minutes": 45,
  "response_time_minutes": 120,
  "lessons": ["..."],
  "our_exposure": "none | indirect | direct",
  "action_items": ["Update risk scoring for oracle-dependent protocols"],
  "sources": ["url1", "url2"]
}

Write to memory/research/security/postmortems/{incident_slug}.json. Post to guardian mesh with action items if our_exposure is not "none".

Anti-Patterns

  • Do NOT blame specific individuals. Focus on systemic issues.
  • Do NOT share exploit code or step-by-step reproduction instructions.
  • Do NOT speculate about identity of attackers.
  • Stick to publicly available information only.

Exit Codes

  • SKILL_OK — postmortem complete
  • SKILL_PARTIAL — some details unavailable (investigation ongoing)
  • SKILL_FAIL — could not gather sufficient information

Output

Commit message format: researcher: exploit-postmortem — {incident_name} (${funds_lost})

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.