A comprehensive DAO governance security platform for analyzing and preventing governance capture risks
Anticapture is a data-driven platform that helps DAO communities identify, assess, and mitigate governance capture risks. The platform provides comprehensive security analysis, attack profitability assessments, and real-time governance monitoring for major DAOs including Uniswap, ENS, and Optimism.
- 🛡️ Governance Security Analysis - Multi-dimensional risk assessment and vulnerability monitoring
- 📊 Attack Profitability Assessment - Economic feasibility analysis of potential governance attacks
- 🗳️ Governance Activity Tracking - Proposal lifecycle and voting participation monitoring
- 🪙 Token Distribution Analysis - Voting power concentration and decentralization metrics
- 📈 Resilience Assessment - DAO maturity and security milestone tracking
- ✍️ Community Petition System - Governance improvement proposal collection implement using Snapshot
| Application | Description | Technology |
|---|---|---|
| Dashboard | Frontend interface with DAO analytics and visualizations | Next.js, TypeScript, Tailwind |
| API Gateway | Unified GraphQL API aggregating multiple data sources | GraphQL Mesh |
| Gateful | REST API aggregator for DAO API routes | Hono, OpenAPI |
| Indexer | Blockchain event indexer for real-time governance data | Ponder, PostgreSQL |
| Monitoring | Performance monitoring and metrics | Grafana, Prometheus |
- Node.js 18.14+
- pnpm 10.10.0+
- Docker & Docker Compose
# Clone and install
git clone https://github.com/blockful-io/anticapture.git
cd anticapture
pnpm install
# Start infrastructure
docker-compose up -d
# Run development environment
pnpm dashboard dev # Frontend at http://localhost:3000
pnpm gateway dev # API Gateway at http://localhost:4000
pnpm gateful dev # Gateful REST API at http://localhost:4001
pnpm indexer dev # Indexer API at http://localhost:42069This monorepo uses pnpm workspaces and Turbo for efficient development and builds.
# Application-specific commands
pnpm <app-name> <command>
# Examples
pnpm dashboard build
pnpm indexer start
pnpm gateway test
pnpm gateful testSee individual application READMEs for detailed setup and development instructions.
Anticapture offers MCP tooling for LLM consumption of the API resources; in order to connect to it, use the following configuration snippet (contact the Anticapture team for an API key):
{
"mcpServers": {
"anticapture": {
"type": "http",
"url": "https://anticapture-mcp-server.up.railway.app/",
"headers": {
"Authorization": "Bearer <ANTICAPTURE_MCP_API_KEY>"
}
}
}
}More information on developing and running the MCP locally in the anticapture-client package documentation section "MCP Server".
- Fork the repository
- Create a feature branch (
git checkout -b feature/name) - Make your changes following existing code conventions
- Test your changes
- Submit a pull request
MIT License - see LICENSE file for details.
Built by Blockful