Your code has problems. Blunt Code names them.
Local-first code quality & security scanning for Windows — no cloud, no account, no telemetry.
Website · ▶ Video · Install · Quick start · Features · CLI · Analyzers · Privacy · CI guide · Changelog
▶ Watch the 35-second tour — scan to graded risk board, all on your machine. Direct link
- Twelve analyzers, one app. Ruff, Biome, Gitleaks, Semgrep, SonarQube, OSV Scanner (deep), Trivy (deep), Checkov (deep), the Pentest & Vulnerability Suite (static OWASP patterns + a live DAST probe on pentest scans given
--target), plus built-in secrets, TODO/FIXME, and license detectors — one installer, zeroPATHfights, no global Python/Java/Node. - Everything stays on your machine. Loopback-only server (
127.0.0.1), findings in local SQLite, reports on disk. Offline after the first tool download. - Built for real workflows. Suppress at the source line, gate CI on
--fail-on high+, diff against a baseline, export SARIF — then get back to writing code.
flowchart LR
A["Your folder"] --> B["bluntcode.exe<br>loopback 127.0.0.1"]
B --> C["Analyzers"]
C --> D1["Ruff"]
C --> D2["Biome"]
C --> D3["Semgrep"]
C --> D4["SonarQube"]
C --> D5["Gitleaks"]
C --> D6["Secrets"]
C --> D7["OSV Scanner"]
C --> D8["Trivy"]
C --> D9["Checkov"]
C --> D10["License"]
C --> D11["TODO"]
D1 --> E["Dedup + fingerprint"]
D2 --> E
D3 --> E
D4 --> E
D5 --> E
D6 --> E
D7 --> E
D8 --> E
D9 --> E
D10 --> E
D11 --> E
E --> F[("SQLite<br>local db")]
F --> G["Reports<br>MD · HTML · SARIF · CSV · JSON"]
F --> H["CI gate<br>exit 0 · 1 · 2 · 3 · 4 · 130"]
One-line installer (recommended)
PowerShell (Win+R → powershell):
irm https://github.com/sanketpatel32/Blunt-code/releases/latest/download/install-latest.ps1 | iexCmd (Win+R → cmd):
curl -fsSL -o "%TEMP%\install-bluntcode.cmd" https://github.com/sanketpatel32/Blunt-code/releases/latest/download/install.cmd && "%TEMP%\install-bluntcode.cmd"Installs to %LOCALAPPDATA%\Programs\BluntCode, verifies SHA-256, creates Start Menu shortcut, launches app. No admin.
Options install-latest.ps1 -Version 0.38.0 -Silent -DesktopShortcut -WhatIf -WaitForCloseSeconds 30
Portable ZIP
- Download
BluntCode-0.38.0-windows-amd64.zip+.sha256from Releases - Verify & run:
$pkg='.\BluntCode-0.38.0-windows-amd64.zip'
if((Get-FileHash $pkg -Algorithm SHA256).Hash -ne (Get-Content "$pkg.sha256").Split()[0]){throw 'checksum mismatch'}
Expand-Archive $pkg -DestinationPath .\BluntCode -Force; .\BluntCode\BluntCode*\bluntcode.exe
irm | iexnever saves a.ps1, so ExecutionPolicy doesn't apply. For a saveduninstall.ps1:powershell -ExecutionPolicy Bypass -File .\uninstall.ps1.
From source — Go 1.26+ and Node 18+:
git clone https://github.com/sanketpatel32/Blunt-code.git; cd Blunt-code
.\scripts\build.ps1; .\bluntcode.exe- Launch from Start Menu or
bluntcode.exe→ openshttp://127.0.0.1:<port>automatically - Add workspace → pick a project folder
- Files & paths (optional) → exclude
dist/,vendor/, or add.bluntcodeignoreto commit excludes - Run scan → first run downloads tools, next runs instant; progress bar
finished/total+ live analyzer pills - Inspect → click a finding → source preview with highlight, Copy location/fingerprint
- Export → Markdown / HTML / SARIF / CSV (filters honoured) / JSON — or
Scan history → Prune history --keep 20
Keyboard: g h/w/t/s/a navigate · n add workspace · / search · ? help · Ctrl+K command palette.
| Private by design | Loopback server, zero telemetry (bundled analyzers' telemetry off too), update check opt-in, SQLite at %LOCALAPPDATA%\BluntCode\bluntcode.db |
| Batteries included | Ruff (Python), Biome (JS/TS + React auto-domain), Gitleaks (directory-wide secrets), Semgrep (25-rule security pack), SonarQube (polyglot), OSV Scanner (dependency CVEs, deep), Trivy (CVEs + secrets + Dockerfile/IaC misconfigs, deep), Checkov (Terraform/K8s/CloudFormation policies, deep), in-binary secrets (AWS, GitHub, Slack, JWT, Stripe, OpenAI, Anthropic, Azure) + TODO/FIXME trackers across 40+ file types + license detector (copyleft, conflicts, undeclared) |
| Dashboard that helps | Overview cards, activity feed with severity dots, risk grades A–D (critical×10/high×5/med×2/low×1) with trend, severity bars, stacked history, suppressions panel |
| Workspaces that scale | Tag chips with +N overflow, debounced tag filter, sort by Name / Last scan / Findings, 51→2 queries at 50 workspaces |
| Reports you can use | Sticky filter toolbar, severity-tinted row edges, removable chips, page/page_size toggles (25/50/100/200 rows), hostile-corpus HTML-escaped |
| CI-grade CLI | Profiles, gates, baselines, watch mode — see CLI |
| Tested | 1,100+ automated tests (Go + web) |
What's new in 0.23.x — provenance, coverage-aware baselines, hardened exports
- Auditable scan provenance (IMP-07..16 hardening theme) — scan snapshots record content digests, effective configuration, analyzer/rule/parser versions, and dirty-tree state, so a stored result can be tied to the exact bytes that produced it.
- Coverage-aware baselines — versioned fingerprints separate logical-issue from occurrence identity, and prior-scan comparisons mark findings
not_evaluatedinstead ofFixedwhen the analyzer that would have caught them was disabled, failed, or excluded; incremental cache reuse keys on input digests and tool versions, never mtime alone. - Hardened exports & updates — every exported artifact (HTML, CSV, SARIF, JSON, markdown, baselines) is written atomically with CSV formula-injection neutralization and escaped GitHub workflow commands; managed-tool installs extract to a staged directory, reject zip-slip paths, and swap atomically with rollback.
- Evidence-grade risk & accessibility — risk grades pair with scan coverage and a
completeflag so partial scans can't present an unqualified grade;docs/release-evidence.mdanddocs/accessibility.mdstate exactly what is verified, narrowing the WCAG claim to tested evidence.
Earlier releases shipped coverage-aware gates, the headless CLI, live scan progress, workspace tags, suppression workflows, CSV/SARIF/JSONL exports, and the shadcn/Tailwind UI. See CHANGELOG.md.
Blunt Code includes full headless CLI support for every core capability. Every operation in the web UI can be run from your terminal or CI/CD pipeline, with shared SQLite concurrency so CLI queries never conflict with a running GUI instance.
For exhaustive documentation, see the CLI Reference Manual or visit /cli in the web application.
# Scans & CI Gates
bluntcode scan "C:\my-app" --profile standard --fail-on high+ --format sarif --output audit.sarif
bluntcode scan "C:\my-app" --format github --fail-on high+ # GitHub Actions annotations
bluntcode scan "C:\my-app" --incremental --watch # Continuous local scanning
bluntcode prune "C:\my-app" --keep 20 # Prune historical scans
# Workspace Management
bluntcode workspace list [--json]
bluntcode workspace add . --name my-service
bluntcode workspace show my-service
bluntcode workspace tags my-service --set "backend,security"
bluntcode workspace tree my-service --path src
# Findings Search & Inspection
bluntcode findings search "AWS" --severity critical
bluntcode findings list . --format csv --output findings.csv
bluntcode findings preview <scan-id> <finding-id> --lines 5
# Comprehensive Reports
bluntcode report . --format md # SonarQube-style Markdown
bluntcode report . --format html --output report.html # Self-contained HTML report
bluntcode report . --format sarif --output audit.sarif # OASIS SARIF log
# History & Scans Compare
bluntcode history . --limit 10
bluntcode history compare <baseline-scan-id> <current-scan-id>
# Suppressions (False Positives)
bluntcode suppress list .
bluntcode suppress add . --fingerprint <hash> --reason "Mock secret in tests"
bluntcode suppress remove . --fingerprint <hash>
# Rules & Path Overrides
bluntcode rules list .
bluntcode rules overrides . --set "dist/**,build/**,vendor/**"
bluntcode rules disable . "tests/**"
# Managed Analyzers Toolchain
bluntcode tools list [--json]
bluntcode tools install semgrep
bluntcode tools repair gitleaks
# Dynamic Pentest & DAST Probing
bluntcode pentest probe http://localhost:3000
bluntcode pentest probe https://api.staging.internal --scope full --json
# Statistics, Trends & Risk Scores
bluntcode stats # Global statistics
bluntcode stats . # Workspace summary
bluntcode trends . --limit 15 # Historical severity trendline
bluntcode risk . # Risk score (0-100) and grade (A-D)
# Diagnostics, Updates & Built-in Manual
bluntcode doctor [--fix] # Environment diagnostics & auto-repair
bluntcode update check [--json] # Check for newer releases
bluntcode cli [command] # Interactive built-in command documentationExit codes · 0 completed with full coverage · 1 --fail-on/--max-findings gate tripped · 2 usage error · 3 operational failure or incomplete coverage (failed/timed out/interrupted/degraded analyzers) · 4 cancelled · 130 double Ctrl+C
quality:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Run Blunt Code Security Gate
run: |
bluntcode scan . --profile standard --fail-on high+ --format sarif --output audit.sarif
- name: Upload SARIF to GitHub Security Tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: audit.sarifBlunt Code ships llm.txt / llms.txt (llmstxt.org), bluntcode agent docs, and bluntcode agent scan for zero-overhead, machine-readable JSON integration without opening a browser.
bluntcode llm # cat llm.txt (same as llms.txt)
bluntcode agent docs # same — agent guide to stdout
bluntcode agent scan "C:\my-app" --profile quick --fail-on high+ # forces --json --quiet, progress on stderrllm.txt lives at the repo root and at http://127.0.0.1:<port>/llm.txt when the UI is running, plus embedded in the binary. See llm.txt:1 for full JSON schemas, API endpoints, exit codes, and PowerShell examples.
| Analyzer | Languages | Checks |
|---|---|---|
| Ruff | Python | Lint, style, bugbear, SIM/C4/RET/ARG/PLR in Deep |
| Biome 2.5.6 | JS/TS, React auto-domain | Format, correctness, React hooks |
| Semgrep | Python, JS/TS | 25-rule security pack (injection, deserialization, secrets, postMessage) |
| Gitleaks 8.30.1 | All file types, directory-wide | External secrets scan; honors workspace .gitleaks.toml / .gitleaksignore |
| OSV Scanner 2.5.1 | npm/PyPI/Go/Maven/NuGet/Composer/RubyGems/cargo lockfiles | Known CVEs per pinned dependency (deep profile) |
| Trivy 0.74.0 | Dockerfile, YAML, JSON, TOML | Dependency CVEs + secrets + misconfigurations (deep; first run downloads its vuln DB) |
| Checkov 3.3.16 | Terraform, Dockerfile, K8s, CloudFormation | IaC misconfigurations against 1000+ built-in policies (deep) |
| SonarQube | Polyglot project-wide | Code smells, hotspots, metrics (cold boot ≤10 min, BLUNTCODE_SONAR_STARTUP_TIMEOUT) |
| Secrets (built-in) | 40+ types inc. .env/Dockerfile/YAML |
AWS, GitHub, Slack, JWT, Stripe, OpenAI, Anthropic, Azure |
| TODO (built-in) | Code & config where comments exist | TODO/FIXME/HACK/XXX/BUG with owner TODO(jane): |
| License Scanner (built-in) | LICENSE/COPYING + package.json/pyproject/Cargo/composer | Copyleft (AGPL high, GPL medium), file-vs-manifest conflicts, undeclared workspaces |
| Pentest Suite (built-in) | All file types | Static OWASP Top 10 pattern pass (injection sinks, weak crypto, debug endpoints); dynamic probing runs in pentest scans given --target <url> (dast-probe) or via bluntcode pentest probe |
Profiles · Quick Ruff+Biome · Standard +Gitleaks+Semgrep+SonarQube+Pentest · Deep +OSV+Trivy+Checkov+Ruff extended · Pentest Deep + live DAST probe of --target <url> (static-only without a target)
Ignore at source: // bluntcode:ignore or // bluntcode:ignore secrets.aws-access-key-id reason: test key · or suppress by fingerprint with reason (500 chars) · or .bluntcodeignore patterns (dir/**, **/name, basename, # comments, 1000/64 KiB cap).
┌─────────────┐ ┌────────────────────┐ ┌──────────────┐
│ your disk │◀──▶│ bluntcode.exe │◀──▶│ your browser │
└─────────────┘ │ loopback 127.0.0.1 │ └──────────────┘
└─────────┬──────────┘
✕ cloud · telemetry · accounts — never
%LOCALAPPDATA%\BluntCode
├── bluntcode.db # workspaces, scans, findings (SQLite, PRAGMA quick_check in doctor)
├── reports\ # Markdown reports
├── logs\ # redacted diagnostics
└── tools\ # ruff, biome, semgrep, sonarqube (manifest-hashed)
Loopback only (127.0.0.1), no account, no telemetry. The only outbound requests are tool installs, the Trivy/OSV vulnerability-database downloads on deep scans, and update checks you ask for (automatic checks are opt-in) — every one is listed in docs/privacy.md, and Settings → Offline mode blocks them all. Open folders from Settings → Data folders. Full layout: docs/configuration.md · policy: docs/privacy.md.
| OS | Windows 10 / 11 64-bit (amd64) |
| Rights | Standard user — no admin |
| Network | Online only first run (tools download). Offline after |
| Deps | None — no global Python/Java/Node required |
Cross-building or running pieces on Linux/macOS is possible for development, but full scans, managed analyzers, and the official verify script target Windows — see CONTRIBUTING.md for what to run where and how to interpret Linux go test vs. Windows verification.
- CI · Ignoring findings · Configuration · Architecture · Analyzers · Privacy · Release
PowerShell blocks a saved script
irm | iex doesn't save a file → no policy check. For uninstall.ps1: powershell -ExecutionPolicy Bypass -File .\uninstall.ps1.
First scan slow
Downloads sandboxed tools & warms SonarQube. Next scans use local cache and `--incremental` (hash `SHA-256` per file, persisted, invalidated on analyzer/profile/version change).Offline mode
Settings → Offline mode ON after first scan. Local-only analyzers (built-ins, installed tools) keep running; network-dependent ones are disabled (OSV/Trivy need local DBs, DAST probes loopback only)."Only one process can use the data directory"
SQLite lock. Close other instance or `bluntcode doctor` to inspect.Where are reports?
Settings → Data folders → Reports/Logs/Tools/DB, or `bluntcode config`.cd "$env:LOCALAPPDATA\Programs\BluntCode"
.\uninstall.ps1 # keep DB & reports
.\uninstall.ps1 -RemoveData # full wipeInstaller auto-cleans Start Menu shortcut and refuses while app is running.
.\scripts\verify.ps1 # gofmt + vet + build + tests + web gates
.\scripts\package.ps1 -Version 0.38.0See CONTRIBUTING.md · docs/architecture.md — shadcn tokens live in web/src/tokens.css (--color-paper/ink/accent, --radius-*, --shadow-*), components in web/src/components/ui/*.
MIT — see LICENSE. Third-party analyzers keep their licenses — see THIRD_PARTY_NOTICES.md.
Built for Windows. Audited for hostile corpora, tabular-nums, sticky glass headers, and 0 horizontal scroll at 320px.