Skip to content
المشاريع

حول

DeepAudit: فريق قرصنة بالذكاء الاصطناعي متاح للجميع، يجعل البحث عن الثغرات في متناول الجميع. يتيح للمبتدئين النشر والتشغيل بنقرة واحدة، والتدقيق التعاوني المستقل متعدد الوكلاء، والتحقق الآلي من PoC داخل بيئة اختبار معزولة. يدعم النشر الخاص باستخدام Ollama، وإنشاء التقارير بنقرة واحدة، كما يدعم الخوادم الوسيطة. لنجعل الأمن أقل تكلفة والتدقيق أقل تعقيدًا. فريق القرصنة بالذكاء الاصطناعي الخاص بك، يضع البحث عن الثغرات في متناول الجميع. نشر بنقرة واحدة للمبتدئين، وتدقيق مستقل متعدد الوكلاء، والتحقق الآلي من PoC داخل بيئة اختبار معزولة.

التعلّم والتعليم

كيف تُقاس هذه الأرقام

7,398 نجمة908 التفرعات +8 خلال 24 ساعة

ما يمكنك فعله

  • 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

النمو المقاس للنجوم

خلال 24 ساعة
+٨
خلال 7 أيام
+٣٥
خلال 15 يومًا
+٧٠
خلال شهر
+١٢٧

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

DeepAudit - Your AI Security Audit Team, Making Vulnerability Discovery Accessible 🦸‍♂️

DeepAudit Logo

Version License: AGPL-3.0 React TypeScript FastAPI Python

Stars Forks

English | 简体中文 | 日本語

DeepAudit Demo

📰 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 is master; all deployment commands and docs below target master (see v4.0.0 Release Notes).

📸 Screenshots

🤖 Agent Audit Entry

Agent Audit Entry

Quick access to Multi-Agent deep audit from the homepage

Audit Flow Logs

Audit Flow Logs
Real-time visibility into agent reasoning and execution
Smart Dashboard

Smart Dashboard
Understand the overall security posture of a project at a glance
Instant Analysis

Instant Analysis
Paste code or upload files and get results in seconds
Project Management

Project Management
Import from GitHub/GitLab/Gitea and manage multiple projects together

📊 Professional Reports

Audit Report

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 Stars Signature Verification Bypass 8.6
CVE-2026-32920 GHSA-99qw-6mr3-36qr OpenClaw Stars Code Execution 8.4
CVE-2026-33575 GHSA-7h7g-x2px-94hj OpenClaw Stars Credential Exposure 7.5
CVE-2026-32917 GHSA-g2f6-pwvx-r275 OpenClaw Stars Command Injection 9.8
CVE-2026-32980 GHSA-jq3f-vjww-8rq7 OpenClaw Stars Resource Exhaustion 7.5
CVE-2026-32982 GHSA-xwcj-hwhf-h378 OpenClaw Stars Information Disclosure 7.5
CVE ID Project Popularity Vulnerability Type CVSS
CVE-2026-1884 Zentao PMS Stars SSRF 5.1
CVE-2025-13789 Zentao PMS Stars SSRF 5.3
CVE-2025-13787 Zentao PMS Stars Privilege Escalation 9.1
CVE-2025-64428 Dataease Stars JNDI Injection 9.8
CVE-2025-13246 Modulithshop Stars SQL Injection 6.3
CVE-2025-64163 Dataease Stars SSRF 9.8
CVE-2025-64164 Dataease Stars JNDI Injection 9.8
CVE-2025-11581 PowerJob Stars Privilege Escalation 7.5
CVE-2025-11580 PowerJob Stars Privilege Escalation 5.3
CVE-2025-10771 Jimureport Stars Deserialization 9.8
CVE-2025-10770 Jimureport Stars Deserialization 6.5
CVE-2025-10769 H2o-3 Stars Deserialization 9.8
CVE-2025-10768 H2o-3 Stars Deserialization 9.8
CVE-2025-58045 Dataease Stars JNDI Injection 9.8
CVE-2025-10423 Newbee-mall Stars Guessable Captcha 3.7
CVE-2025-10422 Newbee-mall Stars Privilege Escalation 4.3
CVE-2025-9835 Mall Stars Privilege Escalation 4.3
CVE-2025-9737 O2oa Stars XSS 5.4
CVE-2025-9736 O2oa Stars XSS 5.4
CVE-2025-9735 O2oa Stars XSS 5.4
CVE-2025-9734 O2oa Stars XSS 5.4
CVE-2025-9719 O2oa Stars XSS 5.4
CVE-2025-9718 O2oa Stars XSS 5.4
CVE-2025-9717 O2oa Stars XSS 5.4
CVE-2025-9716 O2oa Stars XSS 5.4
CVE-2025-9715 O2oa Stars XSS 5.4
CVE-2025-9683 O2oa Stars XSS 5.4
CVE-2025-9682 O2oa Stars XSS 5.4
CVE-2025-9681 O2oa Stars XSS 5.4
CVE-2025-9680 O2oa Stars XSS 5.4
CVE-2025-9659 O2oa Stars XSS 5.4
CVE-2025-9658 O2oa Stars XSS 5.4
CVE-2025-9657 O2oa Stars XSS 5.4
CVE-2025-9655 O2oa Stars XSS 5.4
CVE-2025-9646 O2oa Stars XSS 5.4
CVE-2025-9602 RockOA Stars Database Backdoor 6.5
CVE-2025-9514 Mall Stars Privilege Escalation 3.7
CVE-2025-9264 Xxl-job Stars Privilege Escalation 5.4
CVE-2025-9263 Xxl-job Stars Privilege Escalation 4.3
CVE-2025-9241 Eladmin Stars CSV/XLSX Injection 7.5
CVE-2025-9240 Eladmin Stars Sensitive Information Disclosure 4.3
CVE-2025-9239 Eladmin Stars Hardcoded Credentials 3.7
CVE-2025-8974 Litemall Stars Hardcoded Credentials 9.8
CVE-2025-8852 Wukong CRM Stars Sensitive Information Disclosure 4.3
CVE-2025-8840 JshERP Stars Privilege Escalation 5.4
CVE-2025-8839 JshERP Stars Privilege Escalation 8.8
CVE-2025-8764 Litemall Stars XSS 5.4
CVE-2025-8753 Litemall Stars Arbitrary File Deletion 5.4
CVE-2025-8708 White-Jotter Stars Deserialization 7.5

View the full CVE list

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 .xml metadata, expectedresults-1.2.csv, and webapp hints were stripped while retaining helpers/ and pom.xml. Each category scores TPR − FPR; overall score averages the 11 categories equally (Macro Youden's J), while counts, recall, FPR, precision, and F1 pool all cases. OWASP Benchmark

Run conditions. DeepAudit v4.0.0 ran end to end with the standard engine, 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 with deepseek/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

DeepAudit v4.0.0 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

Vulnerability Type Description
sql_injection SQL injection
xss Cross-site scripting
command_injection Command injection
path_traversal Path traversal
ssrf Server-side request forgery
xxe XML external entity injection
Vulnerability Type Description
insecure_deserialization Insecure deserialization
hardcoded_secret Hardcoded secrets
weak_crypto Weak cryptography
authentication_bypass Authentication bypass
authorization_bypass Authorization bypass
idor Insecure direct object reference

📂 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
xAI · Mistral AI · Azure OpenAI
OpenRouter (multi-model & Auto Router)
SiliconFlow · Groq · Together AI · Fireworks AI

China Platforms

DeepSeek (V4-Pro / V4.1-Flash)
Tongyi Qwen (Qwen4-Max / Qwen3.8)
Zhipu GLM (GLM-5.4 / GLM-5.3)
Moonshot Kimi · Baidu Wenxin · MiniMax · Doubao

Local & Custom Relays

Ollama (DeepSeek / Qwen / GLM / Llama)
Source code stays on-premises
OpenAI-Compatible Relays
Public HTTPS with DNS/IP SSRF protection

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_EMAIL and BOOTSTRAP_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 via openssl rand -hex 32, save it securely, and reuse the same value on every restart. See Signing Key Setup.
  • LLM_PROVIDER, LLM_MODEL, and LLM_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 [email protected]
GitHub @lintsinghua

📈 Project Popularity

Star History Chart

📄 License

Open-sourced under the AGPL-3.0 License.

Acknowledgements


⚠️ 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.

Made by lintsinghua

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…