Our Story

About Counterscarp

Built and maintained by David Cooper — CCIE #14019, U.S. Air Force veteran, and network security engineer with 20+ years of infrastructure and protocol experience — with contributions from the security community.

The Origin

Why We Built This

In March 2023, Euler Finance lost $197 million to a flash loan attack. The vulnerability — a missing health check in a donation function — was detectable with static analysis. Every tool in the standard auditor toolkit had been run on that codebase. None of them caught it.

That's not a failure of effort. It's a failure of tooling. Slither doesn't understand cross-contract flash loan paths. Semgrep doesn't know the historical context of similar exploits. Aderyn doesn't generate a PoC you can hand to a developer and say "this is what an attacker would do."

Counterscarp was built to close those gaps — not by replacing existing tools, but by orchestrating all of them together, adding AI-powered intelligence on top, and delivering output that's actually useful to both auditors and developers.

$3.2B+
Lost to exploits in 2024
21
Integrated analyzers
940+
Tests passing
29
EVM heuristic rules
MIT
Open source — free forever
Mission

Securing the Decentralized Future

Professional-grade smart contract security should not cost $50,000 and take 6 weeks. We're changing that.

Principle 01

Security First, Always

We surface everything and give you the tools to suppress noise. Configurable exclusions, per-rule suppression, and transparent severity scoring.

Principle 02

Radically Open Source

Security tools must be transparent. Our MIT license means anyone can inspect, audit, and improve the code. We believe the security community is stronger when we build in the open.

Principle 03

Actionable Intelligence

A finding without context is noise. Every vulnerability Counterscarp detects comes with severity scoring, historical exploit context, and concrete remediation code — not just a line number.

Principle 04

Community Driven

The threat landscape evolves daily. We actively incorporate findings from Code4rena, Immunefi, and Solodit into our knowledge base, and welcome community contributions to detection patterns.

Principle 05

Developer Experience Matters

Security tools should be fast, clear, and integrate seamlessly into existing workflows. One command. Readable output. CI/CD ready. No configuration hell. If it's painful to use, it won't get used.

Principle 06

Democratize Security

A solo developer building a DeFi protocol deserves the same security analysis as a $100M protocol with a dedicated audit budget. Counterscarp is free, and that's intentional.

Under the Hood

The Technology Stack

Counterscarp is built on a carefully chosen stack of best-in-class open source tools, AI models, and custom-built analyzers.

Py
Python 3.9+
Core engine & CLI (3.10, 3.11, 3.12)
FA
FastAPI
REST API & web interface (Cloud App)
Sl
Slither
EVM static analysis
Ad
Aderyn
Rust-based static analysis
My
Mythril
Symbolic execution
Md
Medusa
Property-based fuzzing
Fo
Foundry
Test generation & PoC
D3
D3.js
Attack graph visualization
LLM
LLM Integration
AI Audit Copilot
RAG
RAG Engine
Knowledge retrieval
Gi
Git Integration
Time-travel scanner
SR
SARIF
CI/CD output format
Development History

Project Timeline

March 2023 — Catalyst
Euler Finance Exploit — $197M Lost
The Euler Finance flash loan attack exposes critical gaps in existing security tooling. A detectable vulnerability slips past every tool in the standard auditor toolkit. The need for a unified platform that orchestrates multiple analyzers becomes clear.
2024 — Research & Architecture
Designing the Orchestration Layer
Research phase — evaluating existing tools (Slither, Mythril, Aderyn, Medusa), designing the multi-analyzer orchestration architecture, prototyping the heuristic rule framework, and studying real-world exploit patterns from Code4rena, Immunefi, and Solodit.
April 2026 — Rapid Development & Launch
Counterscarp Engine Ships
Intensive focused build. Counterscarp Engine launches as a complete EVM security platform in a concentrated development sprint:
Core Platform
Engine & Analysis
Core Python engine with 29 EVM heuristic rules. Slither, Aderyn, Mythril, and Medusa integration. Foundry fuzz testing support. Solana/Anchor security analyzer with 35 Rust security patterns. 940+ tests passing. MIT licensed and open source.
Visualization & Intelligence
Attack Graphs & AI Copilot
D3.js attack path visualization mapping multi-contract attack chains. AI Audit Copilot with RAG framework and curated vulnerability knowledge base. LLM-powered remediation guidance.
Automation & Output
CI/CD & Exploit PoC Generator
CI/CD Pipeline Generator supporting GitHub Actions, GitLab CI, Azure Pipelines, and Jenkins. Exploit PoC Generator producing working Foundry test cases for detected vulnerabilities. 5 output formats (Markdown, HTML, PDF, SARIF, JSON).
Commercialization
Webapp, Stripe & PAYG Launch
Webapp launch at app.counterscarp.io. Stripe-integrated pricing with PAYG credit packs. Community, Developer, Pro, Team, and Enterprise tiers. Current version: v5.1.1.
Next — Roadmap
RAG Expansion & Team Features
Expanding RAG knowledge base to 500+ curated entries. Team collaboration workspace, scheduled scans, API access, and enterprise reporting. Get started.
Intelligence Sources

Where Our Knowledge Comes From

The AI Copilot's RAG framework draws from authoritative sources in smart contract security. The curated knowledge base is actively growing.

Code4rena

Audit contest findings, severity classifications, and judge decisions from the leading competitive audit platform. Target source for ongoing RAG index expansion.

Immunefi

Bug bounty reports and post-mortems from the largest Web3 security platform. Key reference source for real-world vulnerability patterns.

Solodit

Aggregated smart contract audit findings with semantic search, enabling cross-reference of similar vulnerabilities across protocols.

Academic Research

Peer-reviewed papers on EVM security, formal verification, and smart contract vulnerability classification from IEEE, ACM, and arXiv.

Get Involved

Join the Security Community

Counterscarp is open source and community-driven. Contribute detection patterns, report bugs, or just use it on your next audit.

View Documentation Get in Touch