Local repository forensics for structure, hotspots, risks, dependencies, and suspicious code patterns.
Download: Windows · macOS · Linux · Run from source · Report an issue
📹 Demo GIF coming in the next release. See the screenshot above for the current UI.
- Repository structure and language mix
- Large files and code hotspots
- TODO/FIXME-style findings and suspicious-pattern signals
- Dependency and cycle signals
- Git repository context
- Exportable JSON reports
| Tool | What it does better | Where BLACKBOX differs |
|---|---|---|
| SonarQube | Deep language-aware analysis, quality gates, and history over time. Runs as a server with a database. | BLACKBOX understands far less about your code. It gives a first read of an unfamiliar repository in one scan, with nothing to install or host. |
| Code Climate | A hosted service wired to your Git host that tracks maintainability on every pull request. | BLACKBOX is a one-off local look, not continuous tracking, and your code never leaves your machine. |
semgrep |
Syntax-aware pattern rules with a large community registry, built for CI. | BLACKBOX's secret and pattern signals are regular expressions: expect more false positives and more misses. Use semgrep when findings need to be trusted. |
cloc |
Accurate code, comment and blank line counts for hundreds of languages. | BLACKBOX's line counts are raw line totals. It adds what cloc does not attempt: hotspots ranked by complexity, Git churn and inbound imports, plus import cycles. |
These are great tools, and each goes deeper than BLACKBOX in its own area. The difference is operational, not technical: BLACKBOX is a single portable download, needs no account, no server, no Docker, and no configuration to start, and keeps nothing on disk unless you export a report. If you already use one of the tools above and it works for you, keep using it. BLACKBOX exists for the first ten minutes with a repository you do not know yet, with zero setup and no cloud dependency.
Depot (in development) brings these tools together in one app — shared workspace context, an event bus that connects them, and a unified session timeline.
Depot · Switchyard · Needle · Relay · Pulse · BLACKBOX · Forge
| Platform | File |
|---|---|
| Windows 10/11 (x64) | BLACKBOX-Windows-x64.exe — portable, no installer |
| macOS (Apple Silicon) | BLACKBOX-macOS-arm64.zip — unzip and move to Applications |
| Linux (x86_64) | BLACKBOX-Linux-x86_64.tar.gz — extract and run ./BLACKBOX |
Each release is built from the tagged source by GitHub Actions and carries a SHA256SUMS.txt. The builds are not yet code-signed, so on first launch Windows SmartScreen may ask you to confirm ("More info" → "Run anyway"), and macOS may need you to Control-click the app and choose Open.
Status: beta. BLACKBOX does what this README describes and is covered by CI on Windows, macOS and Linux, but it is young: expect rough edges, and please report them.
Requirements: Python 3.10+ with Tk support.
pyw blackbox_desktop.pywThe application uses Python's standard library at runtime.
powershell -ExecutionPolicy Bypass -File .\build-windows.ps1Output:
dist\BLACKBOX.exe
Scanning happens locally. BLACKBOX does not require an account, backend, or source-code upload.
BLACKBOX is a first-pass forensic view, not a compiler-grade static analyzer. Findings are investigation signals rather than proof that code is unsafe or defective.
- Every push runs tests/compile checks and builds a Windows executable artifact.
- Tags matching
v*build the executable again, compute SHA256, and publish both files to GitHub Releases. - See CHANGELOG.md for release history.
See CONTRIBUTING.md and docs/ARCHITECTURE.md. Security reports: SECURITY.md.
MIT
