# proofforge

> A test-driven Solidity auditing skill that identifies and proves smart contract vulnerabilities using Foundry.

proofforge is a paid AI agent skill on Agensi by Oshuhrat, in Web3 & Crypto. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Oshuhrat](https://www.agensi.io/creators/oshuhrat)
- Category: [Web3 & Crypto](https://www.agensi.io/skills/web3-crypto)
- Version: 1.1
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/proofforge
- Tags: web3, security, testing, solidity, foundry, smart-contracts

## About this skill

Stop relying on manual code reviews that miss edge cases. This skill implements a disciplined, test-driven security methodology for Solidity smart contracts. It moves beyond "looks right" audits by forcing every hypothesis to be proven or killed through executed Foundry tests.

### What it does
- **Attack surface mapping** catalogs external functions, trust boundaries, and value flows to identify reachable vectors.
- **Symmetry analysis** detects divergences in round-trip operations, accounting-vs-balance checks, and conservation laws.
- **Hypothesis logging** tracks every potential vulnerability from identification through formal confirmation or refutation.
- **Invariant fuzzing** generates stateful Foundry handlers to stress-test protocol invariants at extreme regimes.
- **Economic validation** calculates real-world profitability, accounting for gas, slippage, and mainnet fork state.

### How it works
1. **Target filtering** assesses TVL and monetization paths to prioritize high-value entry points.
2. **Symmetry stress-testing** applies 0/1/max and extreme reserve ratio values to find rounding and precision errors.
3. **Exploit construction** builds reachable trajectories using only actions available to a real attacker.
4. **Red-to-green verification** applies a fix and reruns tests to ensure the exploit is neutralized, preventing false positives.

### Frameworks & tools
Specifically designed for Solidity smart contract auditing using Foundry (Forge/Cast), Slither, and Aderyn. Optimized for mainnet-forked environments.

### Why this beats prompting it yourself
Generic LLMs often hallucinate vulnerabilities or miss subtle accounting bugs because they don't execute code. This skill enforces a "test-first" protocol that requires mechanical proof, ensuring every reported finding is economically viable and technically reachable.

### Use cases
- **Protocol audits** for new DeFi primitives or complex vault accounting.
- **Bounty hunting** to verify suspected vulnerabilities with concrete proof-of-concept code.
- **Regression testing** by establishing stateful invariants that catch breaking changes during upgrades.
- **Security reviews** of external integrations like oracles, callbacks, and non-standard ERC20 tokens.

### Known limitations
Requires a functional Foundry environment. Does not support non-EVM chains or Vyper. Cannot guarantee 100% coverage of off-chain components or social engineering vectors.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the proofforge skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does Proofforge differ from simply asking a standard LLM to review my code?

Proofforge uses a "test-first" methodology that requires every potential vulnerability to be validated through executable Foundry tests, ensuring that findings are actual reachable exploits rather than LLM hallucinations.

### What technical stack and environments are supported?

The skill is specifically optimized for Solidity smart contracts and requires a local Foundry (Forge/Cast) installation to execute its test-driven security analysis.

### What is included in the Proofforge package?

You will receive the core skill logic, a suite of Foundry-optimized system prompts, and a set of predefined security invariant templates for common DeFi patterns.

### Can this skill identify economic exploits like sandwich attacks or oracle manipulation?

Yes, it is designed for mainnet-forked testing, allowing it to calculate real-world profitability and account for live state, gas costs, and liquidity slippage.

### Are there any specific limitations to the types of contracts it can audit?

While Proofforge excels at logic and accounting bugs, it does not currently support non-EVM chains (like Solana or Move) or off-chain components like front-ends and indexing subgraphs.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
