DAT is a fast, local-first audit engine for codebases: secrets & policy checks, readable reports, and CI-ready outputs—no telemetry, no vendor lock-in.
Author: Outer Void Team, Justadudeinspace
Email: outervoid.blux@gmail.com
- Readable by design — Markdown and JSON/JSONL outputs that humans and CI both love.
- Local & reproducible — runs entirely on your machine; deterministic reports.
- CI/CD and Docker friendly — first-class snippets below.
- Secrets & credential patterns, policy rules, merge-marker detection
- Formats:
md,json,jsonl, optionalpdfexport - Full-context Markdown (optionally includes code blocks with masked secrets)
- LRC bridge (Local Repo Compiler) — write
.lrc-audit.jsonnext to your build metadata for downstream packaging and provenance.
git clone https://github.com/Outer-Void/dat.git
cd dat
chmod +x dat install_deps.sh
./install_deps.sh
./dat # default Markdown report in artifacts/report.md# or run bootstrap direct
dat # default report.md generates audit report with main files code base print output (Entire project codebase located within a single document)Make sure you’re using a venv,
install_deps.shshould create/activate first; the script supports it. Permissions errors?chmod +x dat install_deps.sh.
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
RUN chmod +x dat install_deps.sh
ENTRYPOINT ["./dat"]Build/run:
docker build -t dat .
docker run -v "$PWD":/scan dat /scan --deep --json report.jsonBasic:
./dat # scan current repo → report.md
./dat --json report.json # machine-readable
./dat --jsonl report.jsonl # streaming-friendly linesSigned/verbose runs and combined outputs:
./dat --deep --pdf audit.pdf --json scan.json --sign --verboseGenerate custom output location and doc type:
# From working Dir
dat -o /path/to/custom_label.md# From any Dir
dat /path/to/project/ -o /path/to/custom_label.pdf# From working Dir
dat -o /path/to/custom_label.json--report <path>/--json <path>/--jsonl <path>for output selection- Markdown can include full code context with masking when configured (default on).
- name: Install DAT
run: |
git clone https://github.com/Outer-Void/dat.git
cd dat
./install_deps.sh
- name: Security Scan
run: |
cd dat
./dat --safe --json security-report.jsonLRC is the Local Repo Compiler — DAT can emit an audit next to your LRC build metadata for downstream tooling.
# Example: produce .lrc-audit.json with scan + findings + summary
./dat --from-lrcUnder the hood DAT loads .lrc-build.json and merges it with integration config, then writes .lrc-audit.json (metadata, scan, findings, summary, build context).
Repo link: LRC — Local Repo Compiler → Outer-Void/lrc
There was an older README line implying “License & Regulatory Compliance.” That was incorrect; this section corrects it.
- Markdown (
report.md) — human-readable, can include per-file code sections with masked secrets. - JSON/JSONL — structured for pipelines; validated in tests via
--report. - PDF — printable report (requires
reportlab).
- Permissions:
chmod +x dat install_deps.sh bootstrap.sh - Missing deps:
pip install --force-reinstall -r requirements.txt(Linux may needlibmagic). - Termux:
termux-setup-storageand clone into~/storage/sharedif needed.
- No outbound connections; deterministic local outputs.
- Optional signing (
--sign) and append-only audit logs are supported.
- TUI explorer, richer rule packs, baseline diffs, repair suggestions.
(See docs/ROADMAP.md for the living plan.)
MIT — see LICENSE.
