Scanr
Open, privacy-first, self-hostable DevSecOps runtime.
π Vision
Scanr is a multi-engine security framework built for teams that need deterministic security checks without SaaS lock-in.
It is designed around:
- sovereignty
- offline capability
- transparent local execution
- engine-first extensibility
- deterministic CI enforcement
π§± Architecture
scanr-engine Unified engine contracts and finding model
scanr-sca Software composition analysis engine (production-ready)
scanr-cli CLI + TUI interface
scanr-container Container engine (planned)
scanr-iac IaC engine (planned)
scanr-sast SAST engine (planned)
scanr-secrets Secret scanning engine (planned)
scanr-server Self-hosted control plane (future)
scanr-dashboard Web UI (future)
β What Works Today (v0.1.1)
- Node, Python, and Rust dependency parsing
- OSV vulnerability matching with CVE + severity data
- remediation suggestions and upgrade guidance
- baseline tracking (
.scanr/baseline.json) - project-local OSV cache (
.scanr/cache) with offline/refresh modes - policy enforcement in CI via
scanr.toml - deterministic exit codes (
0,1,2,3,4) - CycloneDX SBOM generation and SBOM diff
- SARIF + JSON + raw JSON structured outputs
- Node dependency path tracing (
scanr trace <package>) - full-screen TUI with scan controls
π¦ Install Channels
# NPM
# BUN (uses npm package)
# Homebrew
# Cargo (from source workspace)
# Curl installer
|
π οΈ Run From Source (Clone + Test Locally)
# 1) Clone
# 2) Build release workspace
# 3) Run without installing (dev run)
# 4) Install local CLI binary for testing (overwrites old local install)
# 5) Verify installed CLI
Optional validation:
β‘ Quick Start
# interactive UI
# core scanning
# caching and baseline
# investigation + sbom
πΊοΈ Release Timeline
| Version | Theme | Highlights |
|---|---|---|
v0.1.0 |
Foundation | CLI skeleton, SCA scanning, OSV integration, recommendations, CI policy, SBOM, SARIF/JSON, TUI, distribution setup |
v0.1.1 |
Enterprise hardening | Baseline/security debt tracking, OSV cache + offline mode, dependency tracing, license compliance, engine abstraction (scanr-engine) |
π Product Timeline
| Phase | Version | Status | Outcome |
|---|---|---|---|
| Foundation | v0.1.0 |
Completed | Built Scanr CLI + SCA core, CI mode, SBOM, SARIF/JSON outputs, install channels |
| Hardening | v0.1.1 |
Completed | Added baseline, cache/offline, tracing, license enforcement, and engine abstraction |
| Multi-Engine Expansion | v0.2.x |
Planned | Add container engine, then IaC/secrets/SAST engines on the same contract |
| Security OS Layer | v1.x |
Planned | Self-hosted server, dashboard, org policy management, and governance workflows |
β Phase Checklist (From Roadmap)
- Phase 1: Engine Stabilization - SCA engine complete (
scanr-sca) - Phase 1: Engine Stabilization - Container engine (
scanr-container) - Phase 1: Engine Stabilization - IaC engine (
scanr-iac) - Phase 1: Engine Stabilization - Secrets engine (
scanr-secrets) - Phase 1: Engine Stabilization - SAST engine (
scanr-sast) - Phase 2: Local Security Suite - CLI + TUI foundation complete
- Phase 2: Local Security Suite - Multi-engine invocation UX
- Phase 3: Security OS -
scanr-server(self-hosted control plane) - Phase 3: Security OS -
scanr-dashboard(web UI) - Phase 3: Security OS - SCM/GitHub integration + org governance
β Feature Timeline (What Is Done)
v0.1.0 delivered
- CLI command system (
scan,sbom,tracefoundations) - dependency parsing for Node/Python/Rust
- OSV vulnerability lookup with remediation hints
- risk summary and CI policy checks
- CycloneDX SBOM generation and SBOM diff
- JSON/SARIF/raw JSON outputs
- interactive TUI experience
- packaging for npm/bun/homebrew/cargo/curl
v0.1.1 delivered
- baseline save/status/compare workflow
- security debt delta behavior in CI with baseline mode
- project-local OSV cache with TTL
- offline mode and forced refresh mode
- Node dependency path tracing
- license policy enforcement with dedicated exit semantics
- refactor to
scanr-engine+scanr-scaarchitecture
π§ Workspace
F:\Scanr
βββ crates/
β βββ scanr-engine/
β βββ scanr-sca/
β βββ scanr-cli/
βββ installers/
βββ docs/
βββ Cargo.toml
βββ mkdocs.yml
π Docs
- Documentation index
- Installation
- Scanr CLI
- Scanr SCA
- Output formats
- CI policy
- Baseline
- Cache
- SBOM
- TUI
- Changelog
Run docs locally: