lintsinghua/DeepAudit
À propos
DeepAudit : une équipe de hackers IA pour tous, qui rend la recherche de vulnérabilités accessible à chacun. Les débutants peuvent la déployer et l’exécuter en un clic, avec un audit collaboratif autonome et une vérification automatisée des PoC en sandbox. Le déploiement privé avec Ollama, la génération de rapports en un clic et les services de relais sont pris en charge.
Apprentissage et éducationWhat you can do
- Deterministic Code Intelligence - Tree-sitter AST, SQLite FTS5, call graph, and on-demand LSP navigation, with optional Joern CPG or CodeQL cross-file data-flow analysis - Agent
- 6-Phase Adversarial Multi-Agent Engine - HardGate validates every citation against actual source; Critic and Verifier assess evidence independently via a Shared Blackboard - Agent
- Full-Repo Coalescing & Checkpoints - Groups related files by risk, supports target/exclude scopes, and persists slice/review checkpoints for automatic retry or one-click resume - Agent
- Four Report Formats - Export findings with evidence chains, remediation diffs, coverage, and cost in Markdown / JSON / HTML / PDF - Agent
Progression mesurée des étoiles
- in 24h
- +8
- in 7 days
- +35
- in 15 days
- +70
- in 1 month
- +127
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalDeepAudit - Your AI Security Audit Team, Making Vulnerability Discovery Accessible 🦸♂️
📰 News
[!IMPORTANT] 2026-11-30 | DeepAudit v4.0.0 Released — Complete Architecture Rebuild
Details: Benchmark Evaluation
| OWASP Score | Recall (TPR) | False Positive Rate (FPR) | Precision | F1 Score | Perfect CWE Categories | Runtime / Cost |
|---|---|---|---|---|---|---|
| 93.0% | 93.0% (132/142) | 0.0% (0/132) | 100.0% | 96.4% | 8 / 11 at 100% | 35m 49s · ~US$2.44 |
- Ground-Up Architecture Rebuild (Replacing RAG with Deterministic Code Intelligence): Fully retires the legacy chunk-based RAG / ChromaDB / LangChain pipeline in favor of two-layer deterministic code intelligence (Tree-sitter AST, SQLite FTS5, call graph, on-demand LSP, offline SAST, plus optional Joern CPG / CodeQL) and a 6-phase adversarial multi-agent engine (
Baseline → Architect → Parallel Hunt → Critic → Verifier → Report), paired with HardGate source validation, a Shared Blackboard, incremental checkpoint resume, and Markdown / JSON / HTML / PDF export. - Bilingual UI & Expanded LLM Ecosystem: Full English / Chinese UI support with one-click language switching, plus 20 major LLM providers and SSRF-protected custom OpenAI-compatible relays.
- Default Branch Switch: Starting with
v4.0.0, the default branch ismaster; all deployment commands and docs below targetmaster(see v4.0.0 Release Notes).
📸 Screenshots
🤖 Agent Audit Entry

Quick access to Multi-Agent deep audit from the homepage
Audit Flow Logs![]() Real-time visibility into agent reasoning and execution |
Smart Dashboard![]() Understand the overall security posture of a project at a glance |
Instant Analysis![]() Paste code or upload files and get results in seconds |
Project Management![]() Import from GitHub/GitLab/Gitea and manage multiple projects together |
📊 Professional Reports

Agent audit reports support Markdown / JSON / HTML / PDF (the screenshot shows file-by-file mode, not an Agent-mode report)
🏆 CVE Vulnerability Discoveries
DeepAudit (Closed-Source Edition) has identified 55 vulnerabilities with CVE IDs, including 6 in OpenClaw 🦞
Across 17 well-known open-source projects
OpenClaw 🦞 Vulnerability Research Results
The internal preview edition of DeepAudit performed a deep security audit on OpenClaw and has discovered 6 security vulnerabilities, all officially confirmed and published as GitHub Security Advisories (GHSA). Findings cover command injection, signature verification bypass, remote code execution, credential exposure, resource exhaustion, and information disclosure, including multiple High-severity issues.
| CVE ID | GHSA ID | Project | Popularity | Vulnerability Type | CVSS |
|---|---|---|---|---|---|
| CVE-2026-32974 | GHSA-g353-mgv3-8pcj | OpenClaw | Signature Verification Bypass | 8.6 | |
| CVE-2026-32920 | GHSA-99qw-6mr3-36qr | OpenClaw | Code Execution | 8.4 | |
| CVE-2026-33575 | GHSA-7h7g-x2px-94hj | OpenClaw | Credential Exposure | 7.5 | |
| CVE-2026-32917 | GHSA-g2f6-pwvx-r275 | OpenClaw | Command Injection | 9.8 | |
| CVE-2026-32980 | GHSA-jq3f-vjww-8rq7 | OpenClaw | Resource Exhaustion | 7.5 | |
| CVE-2026-32982 | GHSA-xwcj-hwhf-h378 | OpenClaw | Information Disclosure | 7.5 |
| CVE ID | Project | Popularity | Vulnerability Type | CVSS |
|---|---|---|---|---|
| CVE-2026-1884 | Zentao PMS | SSRF | 5.1 | |
| CVE-2025-13789 | Zentao PMS | SSRF | 5.3 | |
| CVE-2025-13787 | Zentao PMS | Privilege Escalation | 9.1 | |
| CVE-2025-64428 | Dataease | JNDI Injection | 9.8 | |
| CVE-2025-13246 | Modulithshop | SQL Injection | 6.3 | |
| CVE-2025-64163 | Dataease | SSRF | 9.8 | |
| CVE-2025-64164 | Dataease | JNDI Injection | 9.8 | |
| CVE-2025-11581 | PowerJob | Privilege Escalation | 7.5 | |
| CVE-2025-11580 | PowerJob | Privilege Escalation | 5.3 | |
| CVE-2025-10771 | Jimureport | Deserialization | 9.8 | |
| CVE-2025-10770 | Jimureport | Deserialization | 6.5 | |
| CVE-2025-10769 | H2o-3 | Deserialization | 9.8 | |
| CVE-2025-10768 | H2o-3 | Deserialization | 9.8 | |
| CVE-2025-58045 | Dataease | JNDI Injection | 9.8 | |
| CVE-2025-10423 | Newbee-mall | Guessable Captcha | 3.7 | |
| CVE-2025-10422 | Newbee-mall | Privilege Escalation | 4.3 | |
| CVE-2025-9835 | Mall | Privilege Escalation | 4.3 | |
| CVE-2025-9737 | O2oa | XSS | 5.4 | |
| CVE-2025-9736 | O2oa | XSS | 5.4 | |
| CVE-2025-9735 | O2oa | XSS | 5.4 | |
| CVE-2025-9734 | O2oa | XSS | 5.4 | |
| CVE-2025-9719 | O2oa | XSS | 5.4 | |
| CVE-2025-9718 | O2oa | XSS | 5.4 | |
| CVE-2025-9717 | O2oa | XSS | 5.4 | |
| CVE-2025-9716 | O2oa | XSS | 5.4 | |
| CVE-2025-9715 | O2oa | XSS | 5.4 | |
| CVE-2025-9683 | O2oa | XSS | 5.4 | |
| CVE-2025-9682 | O2oa | XSS | 5.4 | |
| CVE-2025-9681 | O2oa | XSS | 5.4 | |
| CVE-2025-9680 | O2oa | XSS | 5.4 | |
| CVE-2025-9659 | O2oa | XSS | 5.4 | |
| CVE-2025-9658 | O2oa | XSS | 5.4 | |
| CVE-2025-9657 | O2oa | XSS | 5.4 | |
| CVE-2025-9655 | O2oa | XSS | 5.4 | |
| CVE-2025-9646 | O2oa | XSS | 5.4 | |
| CVE-2025-9602 | RockOA | Database Backdoor | 6.5 | |
| CVE-2025-9514 | Mall | Privilege Escalation | 3.7 | |
| CVE-2025-9264 | Xxl-job | Privilege Escalation | 5.4 | |
| CVE-2025-9263 | Xxl-job | Privilege Escalation | 4.3 | |
| CVE-2025-9241 | Eladmin | CSV/XLSX Injection | 7.5 | |
| CVE-2025-9240 | Eladmin | Sensitive Information Disclosure | 4.3 | |
| CVE-2025-9239 | Eladmin | Hardcoded Credentials | 3.7 | |
| CVE-2025-8974 | Litemall | Hardcoded Credentials | 9.8 | |
| CVE-2025-8852 | Wukong CRM | Sensitive Information Disclosure | 4.3 | |
| CVE-2025-8840 | JshERP | Privilege Escalation | 5.4 | |
| CVE-2025-8839 | JshERP | Privilege Escalation | 8.8 | |
| CVE-2025-8764 | Litemall | XSS | 5.4 | |
| CVE-2025-8753 | Litemall | Arbitrary File Deletion | 5.4 | |
| CVE-2025-8708 | White-Jotter | Deserialization | 7.5 |
The vulnerabilities above were discovered with DeepAudit by DeepAudit team members @lintsinghua and @ez-lbz.
If you discover vulnerabilities using DeepAudit, you are welcome to share them in Issue #135 to enrich this list.
📊 Benchmark Evaluation
OWASP BenchmarkJava v1.2 — 274 cases (Macro Youden's J: 93.0% · TPR: 93.0% · FPR: 0.0% · Precision: 100.0% · F1: 96.4% · 8/11 CWE categories at 100.0%)
| Category | CWE | TP | FN | FP | TN | TPR | FPR | Score |
|---|---|---|---|---|---|---|---|---|
ldapi |
CWE-90 | 3 | 0 | 0 | 3 | 100.0% | 0.0% | 100.0% |
pathtraver |
CWE-22 | 13 | 0 | 0 | 13 | 100.0% | 0.0% | 100.0% |
securecookie |
CWE-614 | 4 | 0 | 0 | 3 | 100.0% | 0.0% | 100.0% |
sqli |
CWE-89 | 27 | 0 | 0 | 23 | 100.0% | 0.0% | 100.0% |
trustbound |
CWE-501 | 8 | 0 | 0 | 4 | 100.0% | 0.0% | 100.0% |
weakrand |
CWE-330 | 22 | 0 | 0 | 27 | 100.0% | 0.0% | 100.0% |
xpathi |
CWE-643 | 1 | 0 | 0 | 2 | 100.0% | 0.0% | 100.0% |
xss |
CWE-79 | 25 | 0 | 0 | 21 | 100.0% | 0.0% | 100.0% |
cmdi |
CWE-78 | 12 | 1 | 0 | 13 | 92.3% | 0.0% | 92.3% |
crypto |
CWE-327 | 10 | 3 | 0 | 12 | 76.9% | 0.0% | 76.9% |
hash |
CWE-328 | 7 | 6 | 0 | 11 | 53.8% | 0.0% | 53.8% |
| Overall (macro / micro) | 132 | 10 | 0 | 132 | 93.0% | 0.0% | 93.0% |
Sample and scoring. Hamilton's largest-remainder method selected a leak-free 10% stratified sample of OWASP BenchmarkJava v1.2 (274 of 2,740 cases,
seed=42), with 142 ground-truth positives and 132 negatives. All ground-truth.xmlmetadata,expectedresults-1.2.csv, and webapp hints were stripped while retaininghelpers/andpom.xml. Each category scoresTPR − FPR; overall score averages the 11 categories equally (Macro Youden's J), while counts, recall, FPR, precision, and F1 pool all cases. OWASP BenchmarkRun conditions. DeepAudit v4.0.0 ran end to end with the
standardengine,max_concurrency=12, and both Critic and Verifier enabled. It completed 35/35 slices, triaged 207/207 SAST signals, and finished 313/313 sub-agents in 35m 49s of active time, using 48.2M tokens at an 82.8% prompt cache hit rate (~US$2.44 via OpenRouter withdeepseek/deepseek-v4.1-flash-1017).
⚡ Overview & Core Capabilities
DeepAudit v4.0.0 connects static scanner signals to the exact files, symbols, and cross-file call paths that prove or refute them. Import a Git repository or ZIP archive to index the codebase deterministically, schedule risk-weighted audit slices, and validate every candidate finding through independent review and verification.
| Capability | How DeepAudit v4.0.0 Delivers It | Mode |
|---|---|---|
| Deterministic Code Intelligence | Tree-sitter AST, SQLite FTS5, call graph, and on-demand LSP navigation, with optional Joern CPG or CodeQL cross-file data-flow analysis | Agent |
| 6-Phase Adversarial Multi-Agent Engine | HardGate validates every citation against actual source; Critic and Verifier assess evidence independently via a Shared Blackboard | Agent |
| Full-Repo Coalescing & Checkpoints | Groups related files by risk, supports target/exclude scopes, and persists slice/review checkpoints for automatic retry or one-click resume | Agent |
| Four Report Formats | Export findings with evidence chains, remediation diffs, coverage, and cost in Markdown / JSON / HTML / PDF | Agent |
| Project Management | GitHub / GitLab / Gitea import, ZIP upload, multi-project workspace, 10+ programming languages | General |
| Instant Analysis & File-by-File Scan | Paste snippets for second-level checks, or run targeted file-by-file scans for small codebases | General |
| Five-Dimensional Inspection & What-Why-How | Bug / Security / Performance / Style / Maintainability with exact location, root cause, and remediation advice | General |
| Audit Rules & Prompt Templates | Built-in OWASP Top 10 and custom rule sets; visual bilingual prompt template management | General |
| Runtime Configuration & Bilingual UI | Configure 20+ LLM providers, custom relays, and local Ollama in the browser with no restart; full EN / ZH interface | General |
🏗️ System Architecture
Architecture Diagram
🔄 Audit Workflow
| Phase | Work and Output |
|---|---|
| 1. Baseline | CodeIndex builds a Tree-sitter AST index, SQLite FTS5 search index, and call graph. The Docker sandbox runs available offline SAST tools by language (Semgrep, Bandit, Gitleaks, OSV-Scanner, Gosec, Cppcheck, PHPStan), with optional Joern CPG or CodeQL. |
| 2. Architect | Maps external entrypoints and defenses (access checks, validators), records the project taint specification, and proposes high-priority slices along cross-file call chains. |
| 3. Parallel Hunt | Coalesces slices by risk to cover 100% of identified security-relevant files and SAST signals in scope. Parallel Hunters submit evidence via submit_candidate_finding and complete_slice, validated by HardGate, and sweep variants with custom rules. |
| 4. Critic | Reviews candidates in a fresh context, eliminates false positives, and calibrates severity. Candidates in the same file are reviewed sequentially to prevent conflicting duplicate rejections. |
| 5. Verifier | Independently runs a sandbox regression test (Tier B) or substantiates a traceable cross-file static evidence chain (Tier C), producing remediation guidance and a minimal fix diff. |
| 6. Report | Summarizes security score, slice coverage, and token cost, exporting Markdown / JSON / HTML (escaped) / PDF (WeasyPrint). |
🛡️ Supported Vulnerability Types
|
|
📂 Project Structure
DeepAudit/
├── backend/app/services/
│ ├── audit_engine/
│ │ ├── agents/ # Roles and slice planning
│ │ ├── blackboard/ # Shared state and HardGate validation
│ │ ├── intelligence/ # Code index, LSP, and Layer B
│ │ ├── runtime/ # Model calls, tool protocol, and events
│ │ ├── sandbox/ # Task containers and image routing
│ │ ├── sast/ # Offline scanners and signal normalization
│ │ └── tools/ # Role-scoped audit tools
│ └── llm/ # 20+ provider adapters, routing, and caching
├── frontend/src/pages/AgentAudit/ # V3 terminal workbench
├── docker/sandbox/ # Modular sandbox images
└── docs/ # User, developer, and operator guides
Further reading: System Architecture · Audit Engine Internals · Agent Audit Guide
🔌 Supported LLM Platforms
|
International & Aggregators
OpenAI · Anthropic Claude · Google Gemini |
China Platforms
DeepSeek (V4-Pro / V4.1-Flash) |
Local & Custom Relays
Ollama (DeepSeek / Qwen / GLM / Llama) |
OpenRouter and compatible flagship endpoints support native reasoning effort and prompt caching (80%–92% observed cache hit rates, 82.8% on the Java benchmark). Use the model ID served by your endpoint. See LLM Provider Configuration.
🚀 Quick Start
Option 1: One-Line Docker Deployment (Recommended)
Launch with prebuilt images without cloning the repository. Before the first start, export the following in the shell running Compose:
BOOTSTRAP_ADMIN_EMAILandBOOTSTRAP_ADMIN_PASSWORD: an unused email and a unique password (12–72 UTF-8 bytes). See Administrator Initialization when upgrading legacy demo accounts.SECRET_KEY: generate once viaopenssl rand -hex 32, save it securely, and reuse the same value on every restart. See Signing Key Setup.LLM_PROVIDER,LLM_MODEL, andLLM_API_KEY(optional — can also be configured in the browser after signing in). For full offline SAST, prepare the Modular Sandbox Images on the backend Docker host.
# Global (GHCR)
curl -fsSL https://raw.githubusercontent.com/lintsinghua/DeepAudit/master/docker-compose.prod.yml | docker compose -f - up -d
# China-Accelerated Mirror (Nanjing University GHCR Mirror: ghcr.nju.edu.cn)
curl -fsSL https://raw.githubusercontent.com/lintsinghua/DeepAudit/master/docker-compose.prod.cn.yml | docker compose -f - up -d
China mirror details & optional Docker registry acceleration (click to expand)
Mirror support is provided by the Nanjing University Open Source Mirror Station. Manual image pulls if needed:
docker pull ghcr.nju.edu.cn/lintsinghua/deepaudit-frontend:latest
docker pull ghcr.nju.edu.cn/lintsinghua/deepaudit-backend:latest
docker pull ghcr.nju.edu.cn/lintsinghua/deepaudit-sandbox:latest
To configure Docker daemon registry mirrors (/etc/docker/daemon.json on Linux/macOS, or Docker Desktop → Settings → Docker Engine on Windows):
{
"registry-mirrors": [
"https://docker.1ms.run",
"https://dockerproxy.com",
"https://hub.rat.dev"
]
}
Restart Docker afterward (sudo systemctl restart docker on Linux, or restart Docker Desktop on macOS/Windows).
Once started, open http://localhost:3000 to sign in.
Option 2: Clone and Deploy
Best for custom configuration or modifying the stack:
# 1. Clone the repository
git clone --branch master https://github.com/lintsinghua/DeepAudit.git && cd DeepAudit
# 2. Configure environment variables
cp backend/env.example backend/.env
# Fill in SECRET_KEY, BOOTSTRAP_ADMIN_*, and your LLM API key in backend/.env
# 3. Start all services (first start builds the sandbox image and may take a few minutes)
docker compose up -d
Option 3: Local Source Development
Requirements: Python 3.11+, Node.js 20+, PostgreSQL 15+, and Docker (for the sandbox).
# 1. Start infrastructure services
docker compose up -d redis db adminer
# 2. Start the backend
cd backend
cp env.example .env # Configure SECRET_KEY and BOOTSTRAP_ADMIN_*
uv sync && source .venv/bin/activate
alembic upgrade head
uvicorn app.main:app --reload
# 3. Start the frontend (in a new terminal)
cd frontend
cp .env.example .env
pnpm install && pnpm dev
# 4. Build the base sandbox image (from repository root; language extensions optional)
bash docker/sandbox/build.sh base
🦖 Roadmap
- Deterministic code indexing, offline SAST, and optional Layer B (Joern / CodeQL)
- 6-phase adversarial multi-agent engine, HardGate, and Shared Blackboard
- Full-repo coalescing, checkpoint resume, V3 workbench, and four-format reports
- Full EN / ZH UI localization and 20+ LLM providers with SSRF-safe custom relays
- Incremental PR audits and CI integration
- Auto-Fix PRs with minimal patches
- Full multi-language benchmark evaluation suite
- MCP tool integration
🤝 Contributing & Community
Contributions of all kinds — issues, pull requests, and documentation improvements — are warmly welcomed. Please read CONTRIBUTING.md before getting started.
📬 Contact the Author
Technical discussions, feature suggestions, custom deployments, code auditing services, and collaborations are welcome.
| Channel | Details |
|---|---|
| [email protected] | |
| GitHub | @lintsinghua |
📈 Project Popularity
📄 License
Open-sourced under the AGPL-3.0 License.
Acknowledgements
- Backend & Models — FastAPI, LiteLLM
- Code Analysis — Tree-sitter, Semgrep, Bandit, Gitleaks, OSV-Scanner, ast-grep, Joern, CodeQL
- Reporting & Frontend — WeasyPrint, React, Vite, Radix UI, TailwindCSS, shadcn/ui
⚠️ Security, Compliance & Disclaimer
- Authorized Use Only: DeepAudit is intended strictly for cybersecurity research, education, and authorized security assessments. Unauthorized vulnerability testing, penetration testing, or illegal use is strictly prohibited.
- Code Privacy: When using cloud LLM providers or relays, analyzed code snippets are sent to the configured provider endpoint. Use local models (such as Ollama) for sensitive or proprietary codebases, and comply with applicable data-protection laws.
- Responsible Disclosure: Report any discovered security vulnerabilities responsibly through legitimate channels and never exploit them unlawfully.
- Disclaimer: Users bear full legal responsibility for their actions; the author assumes no liability for any direct or indirect damages arising from use of this project. For full policies, see DISCLAIMER.md and SECURITY.md.
Explorer des projets similaires
Chargement…



