Install Skarn.
Install Skarn, register a free license, and run your first scan from your own machine. The free tier includes the full local product, and the scan makes no network call by default.
Skarn 0.19.0 - macOS, Linux, and Windows, on x86_64 and ARM64.
Install Skarn
Pick your platform or package manager. The tap, the npm packages, the binaries, and the image are public - installing needs no account.
Install with Homebrew
Update
Use the fully-qualified name; since Homebrew 6.0 that trusts the one formula and installs in a single command. The macOS binaries are Developer ID signed and Apple-notarized. No Homebrew? Download the standalone binary.
Install (PowerShell)
The script resolves to the installer published with the latest tagged release, verifies the binary against the checksum GitHub computed for it, and adds skarn.exe to your PATH. Windows binaries are not yet Authenticode-signed, so a first run may show a SmartScreen prompt (choose "More info" then "Run anyway"). Or download skarn.exe and put it on your PATH.
Try it without installing
Install globally
npm ships the prebuilt binary for your platform, pinned by integrity hash - no build step and no postinstall download. skarn assess needs no account; skarn check needs the free license from step 2.
Pull the image
First scan
A multi-arch distroless image (linux/amd64 and arm64) carrying the same static binary, for CI and containerized agents. It is cosign-signed (Sigstore keyless) with an SPDX SBOM and SLSA build provenance, and pulling needs no login. Mount whichever session stores you want scanned; Containers and CI covers the full pattern.
Register and add your license
skarn assess and the recall commands run with no account. skarn check, the repeatable scriptable scan, uses a free license issued at getskarn.com/free after a one-time email confirmation and verified offline.
A paid Team or Enterprise token installs the same way and unlocks the org features. A lapsed paid license degrades to the registered free tier and keeps scanning.
Run your first scan
Scan every AI coding session on the machine and print a redacted risk summary: what leaked, how bad, and what to rotate first. No configuration, no network call, and nothing written to your session files.
Then wire the real-time guard with skarn setup, confirm it with skarn doctor, and browse the scan, the attack chains, and your session history with skarn serve (127.0.0.1 only, nothing leaves the machine).
Download the binary
Skarn is one static file with no runtime dependencies. Pick your platform from the release page and put it on your PATH - no installer, and on most machines no admin rights.
| Platform | Release asset |
|---|---|
| macOS, Apple silicon | skarn-aarch64-macos |
| macOS, Intel | skarn-x86_64-macos |
| Linux, ARM64 | skarn-aarch64-linux |
| Linux, x86_64 | skarn-x86_64-linux |
| Windows, ARM64 | skarn-aarch64-windows.exe |
| Windows, x86_64 | skarn-x86_64-windows.exe |
All assets, plus both license agreements, are on the Skarn release page. The container build-stage contract is on Containers and CI.
Guard plugin
Claude Code and Codex CLI can install the real-time guard through their own plugin
systems, in two commands and with no checkout. This is an alternative to skarn setup, not a
replacement: the plugin carries hook configuration only, so install the binary above first - the hooks
call skarn guard on your PATH, so upgrading Skarn upgrades the detection engine without
touching the plugin.
Both plugins ship in audit mode, which reports the verdict it would have reached and never changes what your agent does. Codex asks you to trust the hooks the first time you start it after installing; until you do, they do not run.
What is free, and what a license adds
The free tier is the full local product, not a trial: the whole detection engine and
rule set, attack-chain correlation, the risk score, every session-recall command, the localhost web UI,
text, JSON, SARIF and NDJSON output, redaction, CI gating, a personal baseline, custom rules, and the
guard in audit mode. skarn check needs a free license, issued at
getskarn.com/free after a one-time email confirmation; skarn assess and the recall
commands need none; the license is verified offline. A license unlocks the org capabilities - policy as code, org-distributed baselines,
a tamper-evident audit log, the maintained detection feed, and guard enforcement. A paid flag without a
covering license refuses before any scan runs with exit 5; a missing license refuses with exit 7 and
points you at the free registration. Nothing in the free scanner is time-limited or crippled to sell the
paid tiers.
Common questions
- Does installing Skarn require an account or a license key?
- Installing needs no account: the tap, the npm packages, the binaries, and the image are public.
Running differs by command.
skarn assessscans with no account and no license;skarn check, the repeatable scriptable scan, needs a free license, issued at getskarn.com/free to anyone who registers and confirms their email, and verified offline. A paid license token additionally unlocks the Team and Enterprise features. - What should I run first?
- Run
skarn assess. It scans every AI coding session on the machine with no configuration and prints a redacted risk summary. It makes no network call and writes nothing to your session files. - Are the binaries signed?
- The macOS binaries are Developer ID signed and Apple-notarized, so they run without a Gatekeeper warning. The Homebrew formula pins each platform's asset by sha256, and the npm packages carry the same binaries pinned by npm integrity hash. The install script verifies the Windows binary against the checksum GitHub computed for it, but the Windows binaries are not yet Authenticode-signed, so a first run may show a SmartScreen prompt. The container image is cosign-signed (Sigstore keyless) with an SPDX SBOM and SLSA build provenance.
- Does Skarn phone home when I install or run it?
- No. The binary sends nothing: no upload, no telemetry, no network call when it scans.
skarn assessneeds no account, andskarn checkverifies its free license offline, so nothing leaves the machine either way. The one online feature is the opt-in maintained rule feed, a paid feature you invoke with a flag. - Which assistants does it read?
- Claude Code, Gemini CLI, Codex CLI, Cursor, GitHub Copilot. Skarn finds their session stores automatically; no path configuration is needed for a standard install.
Next: the developer view, the manual, editions
Or have us run it with you
A scoped 30-minute exposure assessment on a developer's machine: you watch it run, you keep the redacted report, nothing is uploaded.