CVE Package Scanning
Scans installed packages against OSV and CISA KEV to flag known-vulnerable and actively-exploited dependencies across ecosystems.
A Local Endpoint Developer Tool
Legion is a local endpoint developer tool that scans your packages for CVEs, flags connections to known-malicious IPs, catches typosquatted and vulnerable AI SDK packages, runs continuously-updated YARA rules, and models a heuristic baseline of the host, then reports the drift. One Rust binary, no runtime dependencies, on Linux and Windows.
A continuously-updated security monitor that watches packages, connections, files, and host state, all on the machine, all open source.
Scans installed packages against OSV and CISA KEV to flag known-vulnerable and actively-exploited dependencies across ecosystems.
Flags outbound connections to known-bad infrastructure using live ThreatFox and AbuseIPDB intelligence.
Detects typosquatted and vulnerable AI SDK packages before they make it into your build.
A dependency-free YARA-compatible engine scans files on Linux and Windows with per-OS, continuously-updated rules.
Fingerprints the host on first launch, then reports drift: new processes, new outbound peers, new packages, and fresh YARA hits.
Pulls and caches CISA KEV and ThreatFox feeds so correlation runs locally and fast, even offline between refreshes.
Quarantine risky packages and print the exact removal command straight from the CLI or dashboard.
Run it your way: a localhost browser dashboard, a scriptable CLI, or a terminal TUI. Same engine, one binary.
A localhost browser dashboard for the full picture, a CLI for automation, and a TUI for the terminal, same engine underneath.

Native builds for every desktop OS. Grab the archive for your platform, extract, and run. No runtime to install.
x86_64 · musl static
x86_64 · MSVC
Each archive contains the legion CLI, the legion-web dashboard, and the TUI. Verify checksums and browse older builds on GitHub Releases.
Legion delegates access control to the operating system and keeps everything on the host.
legion-web binds 127.0.0.1, rejects non-loopback Host headers (DNS-rebinding guard), emits no CORS, sets strict security headers, and rate-limits requests.
No in-app login. Elevation goes through the native prompt (UAC on Windows, polkit on Linux), and the database, config, and rules are created owner-only (0600/0700).
Sensitive actions are written to an audit log, with controls mapped to OWASP Top 10, NIST 800-53, and SOC 2 in COMPLIANCE.md.