Skip to content
Security
Command

/economic-sim

Quantify a candidate economic finding — compute attack cost vs extractable value and, when possible, reproduce deposit→manipulate→withdraw against a Surfpool mainnet-fork for a real P/L figure.

From plugin
auditor
5315 skills8 agents15 commands
Install
> /plugin marketplace add solanabr/auditor-skill
> /plugin install auditor@auditor

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/economic-sim

Context preview

What this command does when you run it.

Quantify a candidate economic finding — compute attack cost vs extractable value and, when possible, reproduce deposit→manipulate→withdraw against a Surfpool mainnet-fork for a real P/L figure.

Command definition

economic-sim.md
name: auditor:economic-sim
description: Quantify a candidate economic finding — compute attack cost vs extractable value and, when possible, reproduce deposit→manipulate→withdraw against a Surfpool mainnet-fork for a real P/L figure.
argument-hint: "<finding-or-instruction>"
allowed-tools: Read, Grep, Glob, Bash, Task

auditor-skill — Economic Simulation

**Arguments:** $ARGUMENTS

1. Model the attack: capital / setup cost, extractable value, atomicity (single-tx / multi-slot), flash-loanable ceilings per venue. 2. Compute whether profit > cost at any manipulation level (e.g. cost to move spot price 1 / 5 / 10 %). 3. If a Surfpool mainnet-fork is available, reproduce the sequence against forked pool state and record the net P/L. 4. Produce the quantified PoC that Rule 5b requires for High / Critical economic findings — dollar figures, not yes/no.

Ships withauditor

Production-grade security audit for any codebase, powered by AI agents. 20 checklists · 1,413 verification items · 136 known attack vectors · executable PoCs + fix patches A full audit-firm lifecycle (automated + interactive) · Benchmarked against CertiK, SOC

Get the whole plugin

Other commands on auditor.