https://github.com/tintinweb/vscode-chonky
๐ฃ Chonky - A Superhuman LLM Auditing Agent for Solidity
https://github.com/tintinweb/vscode-chonky
agentic-ai security solidity vscode-extension
Last synced: 3 months ago
JSON representation
๐ฃ Chonky - A Superhuman LLM Auditing Agent for Solidity
- Host: GitHub
- URL: https://github.com/tintinweb/vscode-chonky
- Owner: tintinweb
- License: other
- Created: 2025-07-24T12:17:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-08-07T17:42:43.000Z (5 months ago)
- Last Synced: 2025-08-18T23:02:48.608Z (5 months ago)
- Topics: agentic-ai, security, solidity, vscode-extension
- Homepage: https://marketplace.visualstudio.com/items?itemName=tintinweb.chonky
- Size: 8.55 MB
- Stars: 12
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฃ Chonky - A Superhuman LLM Auditing Agent for Solidity
Chonky is a VS Code extension that transforms GitHub Copilot into a specialized smart contract security auditing agent.

**Your AI-Powered Smart Contract Auditing Assistant**
[](https://github.com/tintinweb/vscode-chonky)
[](LICENSE)
[](https://github.com/sponsors/tintinweb)
---
**VS Code Marketplace:**
- [
tintinweb.chonky ](https://marketplace.visualstudio.com/items?itemName=tintinweb.chonky)
- `#> ext tintinweb.chonky`
**TLDR;**
- Agent Augmented Auditing
- Automated Scoping
- Automated In-Depth Security Analysis
- Agentic Tooling for Deep Smart Contract Insights
- Extending Agent capabilities with General Purpose LLM Tooling
- Your Smart Contract Auditing Side-Kick!
**Extends GitHub/Copilot Model Capabilities**
## ๐ Quick Start Guide

### ๐ฌ Use Chonky's Tools in Copilots Agentic Mode
Open Copilot Chat โ switch to `Agent` mode โ Ask the agent
```typescript
// list availabler tools
List chonky available llm tools
```
### ๐ฌ Chat with Chonky
Use `Agent` mode for day-to-day use. The agent will decide when to invoke any of Chonky's tools. Use the **@chonky** chat participant for specialized operations.
### ๐ Scope Solidity Projects
Generate comprehensive project scoping reports
### ๐ค Agent Automated Audits
Run comprehensive automated security analysis
```
**@chonky** #autoaudit Full security scan
```
### ๐ฏ Custom Chat Modes
Specialized chat modes for different audit phases
### ๐ Discover Tools
Explore all available features for your tier
### ๐ Agentic Auditor Prompt Template
Pre-prompt your action with our agentic security auditor template.
## โก Early Access / Sponsors / Professional
### โฅ๏ธ Sign In for Early Access Features (Sponsors)
[Sponsor](https://github.com/sponsors/tintinweb) and get Early Access to **experimental** future features ๐. Ping me if you run into any problems ๐ค.
### โกโก Custom Agentic Workflows
Ready-to-go **Scoping**/**Auditing** workflows, easy to extend and customize.
```
**@chonky** ...
```
### โกโก Access to a comprehensive list of Security Primers
Get access to our curated list of Solidity security primers to augment and automate your security auditing.
```
**@chonky** ...
```
---
## ๐ What's New in v0.6.6
### โจ Highlights
- ๐ง **Improved .chonky Directory Discovery**
- ๐ **Flexible File Placement Support**
### ๐ Improvements
- โธ Fixed discovery of files in .chonky root directory (e.g., .chonky/xxx.workflow.md)
- โธ Simplified validation logic for better file placement flexibility
- โธ Enhanced workspace resource detection
---
## ๐ What's New in v0.6.5
### โจ Highlights
- ๐ **Auto-Discovery of .chonky Workspace Folders**
- ๐ฏ **Repository Filtering with repositoryId**
- ๐ **Pattern-Based Resource Discovery**
- ๐ **Enhanced Discovery Output**
### ๐ New Features
- โธ Automatic workspace .chonky folder detection for project-specific security resources
- โธ Repository filtering for targeted primer/workflow discovery
- โธ Flexible file extension matching (*.primer.md, *.workflow.md, tools/*.yml)
- โธ Repository information display in discovery results
### ๐ Improvements
- โธ Better project-specific security resource management
- โธ Enhanced filtering capabilities for large repositories
- โธ More intuitive workspace-based resource organization
---
## ๐ What's New in v0.6.5
### โจ Highlights
- ๐จ **Enhanced Visual Code Annotation System**
- ๐ฏ **Accurate Line Targeting with Code Validation**
- ๐ก๏ธ **Advanced Security-Focused Decorations**
- โจ **Custom Styling with Full Validation**
---
## ๐ What's New in v0.6.0
### โจ Highlights
- ๐ **Advanced Security Analysis Features**
- ๐ก๏ธ **Enhanced AI-Powered Vulnerability Detection**
- โก **Improved Tier-Based Feature Access**
### ๐ New Features
- โธ Security primer discovery and loading system
- โธ Workflow repository with pre-built analysis templates
- โธ Tool configuration repository access
- โธ Interactive Solidity REPL (Chisel) integration
- โธ Comprehensive differential analysis orchestrator
- โธ AI-powered function similarity detection
- โธ Advanced vulnerability database search
- โธ MetaMask Snap security analysis
- โธ Multi-language scoping (Go, Rust, Solidity)
- โธ Etherscan and Sourcify integration
- โธ Semgrep static analysis integration
### ๐ Improvements
- โธ Faster contract analysis
- โธ Improved tooltip experience
- โธ Enhanced sponsorship integration
---
## ๐ ๏ธ Feature Catalog
### ๐ Base Features (21 tools)
*Available to everyone*
| Feature | Description |
|---------|-------------|
| ๐น **Chonky Chat Participant** | AI-powered **@chonky** chat participant for intelligent assistance |
| ๐น **Solidity Metrics & Scoping** | Comprehensive project analysis and scoping reports |
| ๐น **Contract Structure Analysis** | Deep dive into contract architecture and patterns |
| ๐น **Inheritance Tree Analysis** | Visualize and analyze inheritance relationships |
| ๐น **Contract Flattening** | Flatten complex contract hierarchies |
| ๐น **Access Control Analysis** | Identify permission patterns and vulnerabilities |
| ๐น **Storage Layout Analysis** | Optimize storage packing and layout |
| ๐น **Deployable Contract Discovery** | Find contracts ready for deployment |
| ๐น **Import Dependency Analysis** | Map external dependencies and risks |
| ๐น **External Calls Analysis** | Map and analyze all external interactions |
| ๐น **ERC Compliance Checker** | Verify token standard implementations |
| ๐น **Semgrep Security Analysis** | Advanced static analysis with custom rules |
| ๐น **Surya Visualization Suite** | Generate graphs and visual contract analysis |
| ๐น **Solhint Code Quality** | Automated code quality and style checks |
| ๐น **JSON Processing Tools** | Advanced JSON parsing and analysis |
| ๐น **DateTime Utilities** | Timestamp and date manipulation tools |
| ๐น **Memory Store** | Persistent data storage across sessions |
| ๐น **Available Tools Discovery** | Explore all available Chonky capabilities |
| ๐น **Workspace File Search** | Intelligent file discovery and search |
| ๐น **Workspace Integration** | Auto-discovery of .chonky folders with pattern-based resource matching |
| ๐น **Editor Decorator Tool** | Advanced visual code annotation with accurate line targeting and custom styling |
| ๐น **Diagnostic View Manager** | Read and create VS Code diagnostics with code snippet validation |
### โก Early Access Features (12 tools)
*Available earlier to sponsors*
> ๐ก **Support development to get early access** - [Become a Sponsor](https://github.com/sponsors/tintinweb)
| Feature | Description |
|---------|-------------|
| ๐ธ **Custom Chat Modes** | Specialized chat modes for auditing workflows and scoping |
| ๐ธ **Solidity REPL (Chisel)** | Interactive Solidity execution environment |
| ๐ธ **Reentrancy Detection** | Comprehensive reentrancy vulnerability analysis |
| ๐ธ **Oracle Risk Analysis** | Identify oracle manipulation vulnerabilities |
| ๐ธ **Event Pattern Analysis** | Verify event emission completeness |
| ๐ธ **Function Similarity Detector** | AI-powered function pattern matching |
| ๐ธ **Inconsistency Reporter** | Find security pattern discrepancies |
| ๐ธ **Differential Analysis Orchestrator** | Comprehensive security pattern comparison |
| ๐ธ **Smart Contract Invariants** | Verify contract invariant properties |
| ๐ธ **Function Analysis Engine** | Deep function behavior and pattern analysis |
| ๐ธ **Contract Call Graph Generator** | Advanced interaction flow visualization |
| ๐ธ **Function Path Tracer** | Execution path analysis with wildcard selectors |
### โก Professional Features (12 tools)
*For security teams and researchers*
> ๐ **Professional tools for advanced security research** - [Upgrade to Professional](https://github.com/sponsors/tintinweb)
| Feature | Description |
|---------|-------------|
| โก **Security Primer Discovery** | Discover and search security analysis primers |
| โก **Security Primer Loading** | Load comprehensive security primers for AI analysis |
| โก **Workflow Repository Access** | Access pre-built security analysis workflows |
| โก **Tool Repository Access** | Access security tool configurations and templates |
| โก **Vulnerability Database Search** | Query Solodit for known vulnerabilities |
| โก **Diligence Vulnerability Database** | Access ConsenSys Diligence research database |
| โก **Go Codebase Scoping** | Security analysis for Go blockchain projects |
| โก **Rust Codebase Scoping** | Security analysis for Rust blockchain projects |
| โก **MetaMask Snap Analysis** | Comprehensive MetaMask Snap security review |
| โก **Etherscan Integration** | On-chain contract verification and analysis |
| โก **Sourcify Integration** | Source code verification and metadata analysis |
| โก **Public Codebase Search** | Search GitHub for similar contract patterns |
---
## ๐ Documentation
### Getting Started
1. **Install the Extension**: Search for "Chonky" in VS Code Extensions
2. **Start Chatting**: Use `@chonky` in any chat window (`ask` Mode)
3. **Discover Tools**: Switch to Copilot `Agentic` Mode, ask about Chonky's available tools in natural language
4. **Scope Your Project**: In `Agentic` or Scoping Mode, ask to scope the project
### Chat Modes
Chonky supports specialized chat modes for different agentic workflows:
- `Scoping` - Project scoping and analysis
- `Audit` - Security auditing workflows
### Tool Categories
- **๐ Security Analysis**: Access control, reentrancy, external calls, oracle analysis
- **๐๏ธ Contract Structure**: Structure analysis, imports, inheritance, flattening
- **๐ Code Quality**: Events, ERC compliance, functions, invariants
- **๐ External Services**: Etherscan, Sourcify, vulnerability databases
- **๐ ๏ธ Utilities**: Surya graphs, Solhint, scoping, memory store
---
## ๐ฏ Use Cases
### Security Auditors
- Comprehensive vulnerability detection
- Automated pattern analysis
- AI-assisted code review
- Integration with external databases
### Development Teams
- Project scoping and metrics
- Code quality assurance
- ERC standard compliance
- Continuous security monitoring
### Security Researchers
- Advanced vulnerability research
- Pattern similarity detection
- Multi-language analysis
- Custom primer development
---
## ๐ง Installation
### VS Code Marketplace
1. Open VS Code
2. Go to Extensions (Ctrl+Shift+X)
3. Search for "Chonky"
4. Click Install
### Manual Installation
1. Download the latest `.vsix` file from releases
2. Open VS Code
3. Run `Extensions: Install from VSIX...`
4. Select the downloaded file
---
## ๐ค Contributing
We welcome contributions! Here's how you can help:
1. **Report Bugs**: Open an issue with detailed information
2. **Feature Requests**: Suggest new features or improvements
3. **Documentation**: Help improve our docs
4. **Sponsorship**: Support development through GitHub Sponsors
### Development Setup
```bash
git clone https://github.com/tintinweb/vscode-chonky.git
cd chonky
npm install
npm run compile
```
---
## ๐ Support Development
Chonky is developed and maintained by passionate security researchers. Your support helps us:
- ๐ฌ **Research new vulnerabilities**
- ๐ ๏ธ **Develop advanced tools**
- ๐ **Create educational content**
- ๐ **Keep tools free for everyone**
[](https://github.com/sponsors/tintinweb)
### Sponsorship Tiers
- **๐น Base**: Core features for everyone
- **๐ธ Early Access (see [Sponsor page](https://github.com/sponsors/tintinweb))**: Early access to new features
- **โก Professional (contact me)**: Advanced research tools
---
## ๐ License & Credits
Created by [tintinweb](https://github.com/tintinweb) - Security researcher and smart contract auditor with 7+ years in Blockchain security.
---
## ๐ Support & Community
- **GitHub Issues**: [Report bugs and request features](https://github.com/tintinweb/vscode-chonky/issues)
- **Twitter**: [@tintinweb](https://twitter.com/nicht_tintin)
- **Website**: [Visit our website](https://tintinweb.github.io/portfolio/)
---
**Made with โฅ๏ธ by the security community**
[๐ Home](https://github.com/tintinweb/vscode-chonky) โข [๐ Docs](https://github.com/tintinweb/vscode-chonky/wiki) โข [๐ Sponsor](https://github.com/sponsors/tintinweb)





