
Aletheore
Evidence-grounded repo audit CLI with MCP server and AI Shield
Replaces —

Who it's for
Aletheore's scanner checks for secrets and runs dependency vulnerability lookups against PyPI and npm in one pass. aletheore query secrets lists findings from the evidence file without re-scanning; the GitHub Action posts new and resolved findings to each PR. No code leaves the host.
Teams that only need dependency scanning and are comfortable with cloud-based SCA tools. Aletheore's local-first approach adds value when code upload is not an option, or when ownership and architecture context alongside findings matters.
The MCP server lets Cursor, Claude Code, and other MCP-compatible agents query ownership, dependents, endpoints, and candidate tests from the same evidence file the CLI uses. Before changing a function, the agent can locate its definition, inspect its references, and identify candidate tests without loading raw repository files.
Teams not yet using MCP-compatible coding agents. The CLI and dashboard are still useful for one-off audits, but the MCP value only appears when an agent is active in the same repository.
aletheore scan and aletheore dashboard give a dependency graph, ownership map, and hotspot list in one pass on any supported language. The AIRview module graph shows import relationships interactively. aletheore query ownership <file> names contributors by commit count.
Teams already maintaining a curated architecture diagram in a separate tool. Aletheore's dependency graph is generated from live imports, not from a diagram, so it replaces the gap rather than the existing diagram.
The Aletheore GitHub Action scans both refs on each pull request and posts new secrets and vulnerability findings as PR comments with no AI call. Installing the hosted GitHub App adds a free tier of AI-assisted review comments on top. The Action config is a single YAML step and can gate merges on fail-on-new-secrets.
Projects that already have CodeQL, Dependabot, and GitHub Secret Scanning configured. Aletheore adds the ownership-and-context layer, but the basic secrets and vulnerability coverage overlaps with existing GHAS tooling.
The problem
Most repository audit tools work at a distance: they scan your code from the cloud, return an alert tied to a package name or file path, and leave you to work backward from there. You get a warning that a secret may be exposed, but no ownership history to know who to contact and no dependency map to know what else the exposure touches. The same gap opens in code review: an AI reviewer can spot a potential bug but cannot tell you which module it propagates to or which tests might catch it, because those links live in the codebase, not the diff. The problem compounds when AI coding agents enter the picture. An agent making changes across a repository has no structured way to understand what a function touches, who owns a file, or what a new import introduces to the dependency graph. Agents today either work from raw file dumps that waste context budget, or they guess at impact and hope the CI catches the rest.
How it works
The scanner resolves each finding to a specific file, line, symbol, the Git owner for that file (by commit history), and the last commit that touched it. A secrets finding does not just name the file: it names the person who last committed there and the commit SHA. This chain is stored in air.json and readable by the CLI, dashboard, and MCP server.
After running aletheore scan, any MCP-compatible coding agent (Cursor, Claude Code, VS Code, Kiro, Opencode, and others) can query the evidence file for symbol definitions, import dependents, ownership, endpoints, and related tests without loading raw files. The setup command is aletheore mcp-install . --target cursor.
Shield adds a pre-commit hook and Claude Code hooks that save a checkpoint before each agent edit, then report new dependencies, signature changes, new secrets, and import cycles at the end of a turn. aletheore shield undo restores the last checkpoint without touching your branches or stash. No model call is involved.
The Aletheore GitHub Action scans both the base and head refs and reports new and resolved secrets, dependency vulnerabilities, and layer-convention violations as a PR comment. It runs aletheore scan and aletheore diff rather than an AI audit, keeping the CI step deterministic. Example config: fail-on-new-secrets: true.
The dependency graph covers Python, JavaScript, TypeScript, Go, Rust, Java, and Kotlin, with language-specific resolution limits documented in the CLI reference. On real repositories, Aletheore scanned Django at 3,038 modules with 9,479 dependency edges and the Kubernetes source at 17,499 modules with 59,174 dependency edges.
Features
- File-to-commit evidence chain on every finding
- MCP server for coding agents
- Shield: checkpoint and guard for AI-written changes
- GitHub Action for PR security diffs
- Multi-language dependency graph
How to install
Install the CLI with pipx; Python 3.11 or later is required.
pipx install aletheore
aletheore scan .
aletheore query hotspots
aletheore dashboard .Recommended for this setup
Strengths
- Local-first with no source upload: The deterministic scanner writes evidence to .aletheore/air.json on disk and never sends source code to Aletheore's servers. Registry lookups during vulnerability checks send only package names to PyPI and npm, not file paths or versions. For teams with IP or compliance concerns, this is the operative difference from cloud-only audit APIs. Set ALETHEORE_SHIELD_OFFLINE=1 to disable registry lookups for air-gapped use.
- AI agents get structured evidence, not raw files: The MCP server exposes repository evidence (symbols, dependents, owners, endpoints, secrets) as structured queries rather than dumping raw file contents into the agent's context. Aletheore's own measurement of a self-scan showed 47.2% fewer tokens and 53.8% smaller on-disk compared to uncompressed air.json, using its TOON format.
- Deterministic scanner with no LLM in the scan path: Tree-sitter and git history build the evidence file; no model call is made during aletheore scan. AI reasoning in audit reports runs only over what the scanner can prove exists. Scan results are reproducible and can be diffed between commits without worrying about nondeterministic model output affecting the baseline.
- AGPL-3.0 CLI on PyPI with an active release cadence: The CLI is licensed under AGPL-3.0 and available on PyPI. The repository was created in July 2026 and pushed as recently as November 2026 with CI passing. The GitHub Action can be pinned to a release SHA for teams that require reproducible CI steps.
Trade-offs
- Requires Python 3.11 or later and pipx: The CLI installs through pipx and needs Python 3.11, 3.12, 3.13, or 3.14 on the host. Teams without an existing Python environment need to install both before the first scan. No Docker image is documented as the primary install path, so containerized setups require building a custom image. The GitHub Action handles its own environment and does not require a local Python install.
- Hosted PR review and monitoring features are on paid plans: Free AI reviews through the hosted GitHub App are globally rate-limited and subject to availability. PR review comments, managed audits, AIRview architecture pages, AI-marked symbol documentation, and live endpoint monitoring with source context depend on a paid plan. The local CLI, GitHub Action, and self-hosted MCP server have no paid dependency.
- AGPL-3.0 applies to service redistribution: Teams can run Aletheore internally for any purpose, including commercial team use. AGPL-3.0 requires publishing source changes if you run a modified version as a hosted service to external users; running the unmodified CLI and GitHub App integration has no such restriction.
Tech stack
FAQ
No. The local scan runs entirely on your machine using Tree-sitter and git history to build air.json. No source is sent to Aletheore's servers. During scanning, registry lookups send only package names to PyPI and npm, not file paths or versions. Set ALETHEORE_SHIELD_OFFLINE=1 or set registry_lookups: false in .aletheore/shield/config.json to disable registry lookups for fully offline operation.
The dependency graph covers Python, JavaScript, TypeScript, Go, Rust, Java, and Kotlin, with language-specific resolution limits documented in the CLI reference. Static analysis supports additional languages beyond the dependency graph. Aletheore successfully scanned the Kubernetes source (Go, 17,499 modules, 59,174 dependency edges) and the Linux kernel (C and C++, 94,849 files, 50,000 commits analyzed).
After running aletheore scan, aletheore mcp-install . --target <client> writes the client configuration so the agent can launch the MCP server. Supported targets include Cursor, Claude Code, VS Code, Kiro, Opencode, Antigravity, Codex CLI, and Claude Desktop; run aletheore mcp-install --help for the current list. The server exposes queries for symbols, dependents, owners, endpoints, secrets, and hotspots without loading raw files into the agent's context.
The CLI is AGPL-3.0 licensed and free on PyPI. Local scanning, the dashboard, MCP server, Shield, and the GitHub Action are all available without an Aletheore account or paid plan. The hosted GitHub App adds PR review comments, managed audits, AIRview architecture pages, AI-generated documentation, and live endpoint monitoring; free AI reviews through the app are globally rate-limited, and full access requires a paid plan.
Shield is a local safety net for AI-written code changes. It hooks into Claude Code and Git pre-commit events to save a checkpoint before each agent edit, then reports new dependencies, signature changes, new secrets, and import cycles at the end of a turn. aletheore shield undo restores the last checkpoint without touching your branches or stash. Unlike a linter, Shield does not run rules against code style; it tracks what an AI agent changed and surfaces the structural consequences.