← Back to Leaderboard
Dlintsinghua

lintsinghua/DeepAudit

Self-hosted code audits with deterministic indexing and multi-agent evidence review

View on GitHub ↗
Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 86/100
Maintenance Activity
● Updated yesterday
Latest Release
v4.0.3
Commercial License Check
AGPL-3.0 · Copyleft Warning

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity11/20
DockerSelf-Hosted
Total Stars
★ 7,396
24h Growth
+10
7d Growth
+39
Forks
908

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

lintsinghua/DeepAudit Star History (2025-09-18 - 2026-12-04) ALL-TIME STAR HISTORY (2025-09 – 2026-12) +7.4k in 442d · avg +17/day 7.8k 3.9k 0 2025-09-18: ★ 12025-10-18: ★ 342025-11-15: ★ 8412025-12-13: ★ 9632026-01-10: ★ 3,5372026-02-07: ★ 4,3622026-03-07: ★ 4,9082026-04-04: ★ 5,4302026-05-02: ★ 5,7762026-05-30: ★ 6,1252026-06-27: ★ 6,3962026-07-25: ★ 6,6252026-08-22: ★ 6,8122026-09-19: ★ 6,9912026-10-17: ★ 7,1352026-11-13: ★ 7,2872026-12-04: ★ 7,396 ★ 7.4k 2025-09 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DeepAudit v4 replaces chunk-based RAG, ChromaDB, and LangChain with two layers of code intelligence. The baseline combines Tree-sitter ASTs, SQLite FTS5 search, call graphs, on-demand LSP navigation, and normalized offline SAST signals. Joern CPG and CodeQL are optional additions for deeper cross-file data-flow analysis. The Python backend separates indexing, scanner integration, agent roles, and model runtime under backend/app/services/audit_engine/; the React audit workbench lives under frontend/src/pages/AgentAudit/.

The six-stage engine separates baseline collection, architecture mapping, parallel review, criticism, verification, and reporting. It groups related files into risk-weighted slices and persists checkpoints for interrupted work. A Shared Blackboard carries evidence between stages, while HardGate checks citations against the indexed source. That check guards against invented references, not incorrect security conclusions; independent review and static evidence still matter.

Key Capabilities & Differentiators

Teams can import repositories from GitHub, GitLab, or Gitea, upload a ZIP, or use the narrower snippet and file-by-file modes. Offline scanners include Semgrep, Bandit, and Gitleaks. The workbench exports Markdown, JSON, HTML, and PDF reports with source evidence, proposed remediation diffs, coverage, and token cost. The bilingual UI supports hosted providers including OpenAI, Anthropic, and Gemini, as well as Ollama and custom OpenAI-compatible HTTPS relays with DNS/IP SSRF checks.

On a stratified 274-case sample of OWASP BenchmarkJava v1.2, v4.0.0 detected 132 of 142 positives and flagged none of the 132 negatives. The run took 35m 49s of active time and cost approximately US$2.44, with an 82.8% prompt-cache hit rate. The aggregate 93.0% recall masks uneven results: hashing recall was 53.8%. This is a useful data point for that Java sample and run configuration, not a production false-positive guarantee or a multilingual baseline.

Trade-offs & Limitations

Compared with running Semgrep directly, DeepAudit adds repository context, independent triage, and remediation-oriented reports at the cost of model calls and more services to operate. Compared with maintaining CodeQL queries as the primary workflow, it offers a review workbench that can incorporate CodeQL when needed, but its model-assisted conclusions should not be treated as deterministic query results. Adopt it as a complement to existing checks: incremental PR audits and CI integration are still roadmap items.

Long runs are sensitive to repository scope, scanner selection, model choice, and concurrency. The Java sample consumed 48.2M tokens despite its low reported bill, so do not use that dollar figure as a budget without testing your provider's cache behavior and pricing. Hosted inference reduces local compute needs but can send source context outside the deployment; Ollama gives teams more control over that boundary at the cost of local inference capacity. Review AGPL-3.0 obligations before rolling out a modified network service.

Hardware & Deployment Guide

The self-hosted path uses Docker Compose with prebuilt production images or a checkout for local builds. The supplied Compose excerpt uses PostgreSQL 15 Alpine, persists database data in a named volume, and binds the published database port to loopback. Before first start, set unique bootstrap administrator credentials and a persistent SECRET_KEY; model credentials can be configured after sign-in. Full offline SAST requires the relevant modular images on the backend Docker host. Self-hosting the workbench does not make inference local: Ollama is the local option, while hosted endpoints and relays shift inference outside the deployment.

Source development requires Python 3.11+, Node.js 20+, PostgreSQL 15+, and Docker. The documented startup also brings up Redis and Adminer, then applies database migrations with Alembic. v4.0.0 introduced the rebuilt engine and moved the default branch to master; v4.0.1 followed with provider connectivity, bilingual UI, and security and stability refinements.

Code indexing: Tree-sitter ASTs, SQLite FTS5, call graphs, and on-demand LSP replace chunk-based retrieval in v4.
Source evidence: HardGate checks citations against the code; a Shared Blackboard carries evidence between review stages.
Analysis depth: Offline SAST supplies baseline signals; Joern CPG or CodeQL can add cross-file data-flow analysis.
Long-running jobs: Audit scope controls and persisted slice and review checkpoints support resuming interrupted work.
Model backends: Hosted providers, OpenAI-compatible HTTPS relays with DNS/IP SSRF checks, and local Ollama.
Reporting: Markdown, JSON, HTML, and PDF exports include source evidence, proposed fixes, coverage, and token cost.
Best For

AppSec and DevSecOps teams auditing repositories they own or are authorized to review, especially when findings need cross-file evidence and actionable remediation reports.

Skip If

You primarily need a fast, model-free merge gate, turnkey incremental PR audits, or accuracy already validated across your production languages and codebases.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v4.0.3 (2026-12-03) shipped after this reviewMethodology

Quick Start & Installation

DockerSelf-Hosted
# 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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
DeepAudit ★7.4k+39PythonAGPL-3.0Self-hosted code audits with deterministic indexing and multi-agent evidence rev
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
OpenHands94.8k+374TypeScriptMITSelf-hosted control plane for coding agents across local, remote, and cloud back
daily_stock_analysis75.9k+870PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/lintsinghua/DeepAudit.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

lintsinghua/DeepAudit Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about DeepAudit

How does DeepAudit connect static analysis to code review?

DeepAudit normalizes offline SAST signals and ties them to indexed files, symbols, and call paths. HardGate checks source citations, while separate review stages assess whether the cited evidence supports the finding. JSON export provides a handoff to downstream tooling; incremental pull-request audits and CI integration remain roadmap items.

How should I size the host, and do I need a GPU?

With a hosted model, inference runs at the provider, but the host still handles indexing, Postgres, and Docker-based scanning. Size that host for repository size, enabled analyzers, and concurrent jobs. With Ollama, also budget for local inference: memory and VRAM needs depend on the model, quantization, context length, and concurrency. There is no single hardware minimum established here.

Can we self-host DeepAudit for commercial use?

AGPL-3.0 permits commercial use. If users interact with a modified version over a network, the license generally requires offering them the corresponding source of that version; distribution can trigger separate obligations. Review modifications, distribution, and third-party component terms before rollout. Manage source-code confidentiality separately by checking where the configured model endpoint and any relay process requests.

When is DeepAudit preferable to running Semgrep or CodeQL directly?

Use Semgrep or CodeQL directly when a reproducible rule or query is sufficient and model latency or cost is unwelcome. DeepAudit is a better fit when reviewers need cross-file context, source-backed triage, and reports that include remediation guidance. CodeQL can also serve as an optional analysis layer in DeepAudit, so adopting the workbench does not require replacing it.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining lintsinghua/DeepAudit? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature lintsinghua/DeepAudit on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare