AuditDeck
# AuditDeck
[](https://github.com/danielneuron/auditdeck/actions/workflows/ci.yml)
[](./LICENSE)
[](https://danielneuron.github.io/auditdeck/)
[](https://glama.ai/mcp/servers/danielneuron/auditdeck)
**Turn any local Git repository into a boardroom-ready Client Codebase Audit & Project Handover PDF in 5 seconds.**
AuditDeck is a **100% local-first, zero-dependency, open-core** CLI & **Model Context Protocol (MCP) server** built for freelance engineers, technical consultants, and agencies delivering client audits, milestone handovers, or M&A technical due diligence.

- **Zero telemetry. Zero cloud uploads.** Client source code and credentials never leave your laptop.
- **Zero runtime dependencies.** Built-in native PDF 1.4 generator (no Puppeteer/Chromium). Works on Linux, macOS, and Windows (Node.js `>= 18`).
---
## Try It in 5 Seconds
```bash
# Preview with realistic demo data
npx github:danielneuron/auditdeck scan --demo
npx github:danielneuron/auditdeck pdf --demo --client "Acme FinTech Pty Ltd" --out handover.pdf
# Audit any real local repository right now
npx github:danielneuron/auditdeck scan .
```
---
## 5-Pillar Technical Audit Engine
1. **Security & Secret Hygiene (30%)**: Detects hardcoded AWS, Stripe live, GitHub, AI API keys, private keys, DB passwords, and committed `.env` files (always masked in output!), plus `.gitignore` and Dockerfile hygiene.
2. **Dependencies & Supply Chain (20%)**: Audits Node.js, Python, Rust, and Go manifests for lockfiles, wildcard/unpinned versions, and runtime `engines` constraints.
3. **Testing, CI/CD & Quality (20%)**: Checks CI workflows (GitHub Actions, GitLab CI, Jenkins, CircleCI), automated test suites, and TypeScript `strict` posture.
4. **Git Bus-Factor & Maintainability (15%)**: Measures commit velocity, active contributors, single-author bus-factor risk, and monolithic source hotspots.
5. **Documentation & Handover Readiness (15%)**: Verifies README depth, `LICENSE` / IP notice, and `.env.example` templates.
---
## Free Open-Source (MIT) vs Pro & Agency
### Free Core (MIT)
- Full 5-pillar local codebase audit & 0–100 Health Scorecard (`A`–`F`)
- Masked secret & `.env` hygiene scanner
- Markdown & JSON audit report exports
- 2-page watermarked PDF preview
- Full local stdio MCP server (`auditdeck mcp`)
### AuditDeck Pro ($29 One-Time) & Agency Team ($69 One-Time) via Polar.sh
> Pays for itself on your very first paid client audit or project handover. No subscriptions, lifetime v1.x updates, 14-day refund guarantee.
- **Unwatermarked, White-Label Branded Client PDF Reports** (your studio/agency header & contact details)
- **Page 3: 30-Day Prioritized Remediation Roadmap & Formal Client Handover Sign-Off Block**
- **Jira / Linear-Ready Findings CSV Export** (formula-injection sanitized)
- **Agency Multi-Repo Portfolio Rollup (`auditdeck merge`)**: Consolidate multiple service repos into one M&A / technical due-diligence PDF dossier (up to 25 team machines).
Unlock Pro, Agency, or the Best-Value Bundle ([preview a real 3-page White-Label Sample Pro PDF](https://danielneuron.github.io/auditdeck/sample-audit-pro.pdf)):
- **[Get AuditDeck Pro — $29 one-time (Solo, up to 3 machines)](https://buy.polar.sh/polar_cl_ZRLokSvuP7MotMoiBE87tZgbO22LNIywhvhKW0RVv95)**
- **[Get Dev CLI & MCP Pro Bundle — $39 one-time (Save $9: AuditDeck Pro + PromptBill Pro)](https://buy.polar.sh/polar_cl_UVB0LzPKWpKwgE16tHFYvTlwOpsRzQN6IyYGT4Y87zn)**
- **[Get AuditDeck Agency — $69 one-time (Team, up to 25 machines)](https://buy.polar.sh/polar_cl_n0PymyNF5am2jVj8kTEUYJI4aA7MWDnLKpZez0tcskm)**
```bash
auditdeck activate ADECK-XXXX-XXXX-XXXX # or ADAGY-XXXX-XXXX-XXXX for Agency
```
---
## MCP Server (Claude Code, Cursor, Windsurf, Cline & Claude Desktop)
Ask your AI coding agent directly:
> *"Audit this repository for security, lockfiles, tests, and Git bus factor, then generate a client handover PDF for Acme FinTech."*
```json
{
"mcpServers": {
"auditdeck": {
"command": "npx",
"args": ["-y", "github:danielneuron/auditdeck", "mcp"]
}
}
}
```
**Exposed MCP Tools (4):** `auditdeck_audit_repo`, `auditdeck_scan_secrets`, `auditdeck_generate_pdf`, `auditdeck_export_report`.
---
## Related Open-Source Tools by DanielNeuron
- **[PromptBill](https://github.com/danielneuron/promptbill)** — Local-first AI coding cost attribution & client pass-through invoice studio for Claude Code, Codex CLI, Gemini CLI, Cline & Roo Code.
## License
MIT — see [LICENSE](./LICENSE).
TDQS
Scored across 4 tools
Each tool has a recognizable primary output (scorecard, masked secret list, PDF file, Markdown/CSV export), so an agent can usually pick correctly. However, auditdeck_audit_repo, auditdeck_generate_pdf, and auditdeck_export_report all run/consume a repository audit, and scan_secrets duplicates the security pillar of the full audit, creating partial overlap that descriptions must resolve.
All four tools share a uniform auditdeck_ prefix with a clear verb_noun pattern (audit_repo, scan_secrets, generate_pdf, export_report). No mixed casing or inconsistent verb styles.
Four tools is on the thin side but each has a distinct role in the audit-to-deliverable pipeline (full audit, targeted secret scan, PDF report, data export). The set is well scoped rather than padded, though it sits near the lower bound of comfortable coverage.
Core workflow (run audit, targeted scan, produce PDF, export findings) is covered, but there is no way to retrieve or compare prior audit runs, configure which pillars run, or fetch just the scorecard without a full audit. These gaps are workable but force redundant re-audits.