# Smart Contract Audit Hunter

> Systematic Solidity auditing workflow for finding, validating, and reporting smart contract vulnerabilities with Foundry PoCs.

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

- Price: $5 (one-time purchase)
- Creator: [Pum482930](https://www.agensi.io/creators/https-x-com-khslak58447)
- Category: [Web3 & Crypto](https://www.agensi.io/skills/web3-crypto)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/smart-contract-audit-hunter
- Tags: trading, solidity, smart-contracts, foundry, evm, security-audit

## About this skill

Smart contract audits often fail when they result in vague lists of theoretical risks rather than actionable, proven vulnerabilities. This skill provides a disciplined, phase-based workflow to transform an unfamiliar Solidity codebase into validated, reproducible findings that meet the standards of top-tier bug bounty platforms and competitive audit contests.

### What it does
- **Systematic Mapping** lists entry points, privileged roles, and value flows to establish a technical map before hunting begins.
- **Invariant Modeling** identifies core system properties that must never be broken, such as share price integrity or withdrawal limits.
- **Vulnerability Triage** applies seven specific gates to every hypothesis to verify reachability, impact, and economic feasibility.
- **Foundry PoC Generation** produces runnable exploit tests that demonstrate concrete losses or state corruption at specific commit hashes.
- **Contest-Ready Reporting** structures findings into formatted reports including root cause analysis, attack paths, and remediation steps.

### How it works
1. **Phase 0 (Intake):** Provide the repo link, commit hash, and audit scope (e.g., Sherlock, Code4rena, or private review).
2. **Phase 1-2 (Mapping):** The skill analyzes inheritance, external dependencies, and trust boundaries to build a threat model.
3. **Phase 3-4 (Review & Triage):** It systematically reviews functions moving value or checking authority, then filters leads through reachability and impact gates.
4. **Phase 5-6 (Prove & Report):** It generates Foundry test code to confirm the bug and writes the final report following industry templates.

### Frameworks & tools
This skill utilizes Solidity and EVM-specific patterns, leveraging Foundry for proof-of-concept testing. It references tools like `slither`, `cloc`, and `forge tree` for codebase mapping and static analysis when available.

### Why this beats prompting it yourself
Generic prompts often hallucinate vulnerabilities or miss subtle integration bugs like read-only reentrancy or L2-specific gas issues. This skill enforces a "disprove your own hypothesis" rule, ensuring you spend time only on high-severity, reachable bugs that actually pay out.

### Use cases
- **Audit Contests:** Generate validated findings for Code4rena, Sherlock, or Codehawks competitions.
- **Bug Bounties:** Triage and report vulnerabilities for active Immunefi or HackenProof programs.
- **Pre-deployment Review:** Perform a final systematic check of internal vault, bridge, or AMM code before launch.
- **Protocol Triage:** Verify if a suspected bug reported by a community member is a valid threat or a duplicate.

### Known limitations
Focuses strictly on Solidity and EVM chains. Vyper, Rust, and ZK circuits are supported conceptually but lack specific checklists. It cannot execute code without a local Foundry environment.

## 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 Smart Contract Audit Hunter 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

### What kind of results should I expect to receive from this skill?

You will receive structured audit reports containing root cause analysis, attack paths, and remediation steps. The skill also generates runnable Foundry proof of concept tests to demonstrate concrete losses or state corruption at specific commit hashes.

### What information do I need to provide to start a security review?

You should provide the repository link or files, the specific commit hash or tag, the target chain, and the audit scope or rules. It is also helpful to clarify if the goal is for a specific contest, a bug bounty submission, or a private review.

### Can this skill audit smart contracts written in languages other than Solidity?

This skill is optimized for Solidity and EVM chains. While it can apply its systematic phases to Vyper, Rust, or ZK circuits conceptually, it lacks specific checklists for those languages and focuses primarily on Ethereum compatible environments.

### How does this approach differ from just asking a standard AI to find bugs?

Unlike generic prompts that might miss subtle integration bugs, this skill enforces a discipline of mapping entry points and invariants first. It requires every hypothesis to pass through seven triage gates to ensure you only focus on high severity, reachable bugs that have been proven with evidence.

### How should I ask my agent to use this skill?

You can prompt your agent to perform a systematic audit of a specific protocol, request a Foundry PoC for a suspected vulnerability, or ask it to triage a bug report for validity and impact. It is also useful for reviewing specific components like bridges, vaults, or oracles before deployment.

### Does this skill require any specific software to be fully effective?

The skill utilizes shell tools for codebase mapping and requires a local Foundry environment to execute the generated exploit tests. If these tools are unavailable, it will still provide the review and PoC code manually while marking them as unverified.

---

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.
