DOCS
Changelog
Scanner notes below are the entries in the repository CHANGELOG.md. The same text is published with the public scanner. The current scanner release in this tree is 0.1.8. Web notes are the merge commits on main.
Unreleased
- Scan coverage for Google AIza, JWT, npm_ and hf_ prefixes, PEM blocks, 32-hex assignments, GitHub PAT shapes, Authorization Bearer, unpinned
pipx/bunx/pnpm dlx/deno run https, URL userinfo as credentials, one Docker privileged+root finding, skipped AWS example ids, andautoApprove/alwaysAllow. See Scan. - Scan reads Claude project MCP blocks, VS Code
mcp.servers, Zed, Goose YAML, OpenCode, Copilot CLI, Kiro, and Amazon Q. Autonomy rules coveracceptEdits, Bash allow entries, and the Claude skip/enable flags. See Scan. - JSON scan findings use the same rule codes as SARIF (
MCP-REMOTE-001).--write-baselinewrites those codes.--baselinestill accepts the old Rust names. Unmatched entries warn. A usage error or a bad baseline file exits 64. See Scan. --excludeaccepts globs and relative paths. MCP text names the server and file. SARIF rules includename,helpUri, andsecurity-severity(highest finding per rule). Cline is labeled Cline. See Scan.balerx diffrates a remote MCP URL swap as HIGH (LOCK-URL-001). Auth and auto-approve drift are HIGH. The per-server hash still excludes auth. A hash-only MCP change is not a URL swap. Older lockfiles that omiturl/authdo not HIGH-drift until you re-runbalerx lock. See Lockfile.balerx scan .matches an absolute path on the same project. Duplicate path aliases collapse. SARIFpartialFingerprintsidentify a finding by rule, path, line, title, and JSON key. The GitHub Action is quiet. See Scan.- Guard install keeps existing settings-file key order. Status labels user vs project Claude Code hooks, and does not treat HOME as a project. Status also recognizes PowerShell-quoted hook commands stored in JSON. Install prints the setup hint first when the policy file is missing. See Guard.
- Claude Code PostToolUse is log-only: no
permissionDecision, exit 0. The activity log has one Pre and one Post line per call, tagged by phase, with no false Deny. A Post log row that pairs with a Pre row in the same upload is not billed as a second Guard event. See Activity log. - Guard Balanced allows
git push --force-with-lease,id_*.pub, and.environment-notes.md..env.localand private SSH keys stay denied. See Guard. - Scanner 0.1.5 notes no longer say a GitHub Release attaches filled Homebrew and winget files. Public releases ship archives and SHA256SUMS. See Install.
POST /v1/tracesreturns HTTP 400 for a wrong content type or an unparseable OTLP body. A valid tiny trace still returns 202. Bodies are capped at 5 MB; there is no separate span-count cap. See Monitor.- Guard's compiled-in default uses the Balanced rule set with
timeout_ms: 250. Strict and the default ask or deny the Audit #127 bypass cases (~/.ssh/config,authorized_keys, download-then-run, piped stdin credential uploads, shell rc writes). Guard is still a guardrail, not a sandbox. See Guard. - The daily retention job also purges expired invites, in-window-expired audit events, and billing events older than seven years. Deletes stay dry-run unless
BALERX_PURGE_ENABLEDis set. See Monitor trust. - Sign-in, ingest, and authenticated writes share Postgres rate-limit counters. The 11th login in a minute returns HTTP 429 with
Retry-After, including across API instances and after a restart. See Monitor and Upload. - Plan history (Free 14 / Pro 90 / Team 90) is applied to project retention when plan-limit enforcement is on. Settings cannot exceed the plan window. The daily purge defaults to dry-run unless
BALERX_PURGE_ENABLEDis set. See Plans and limits. - Usage, Billing, and Overview show one in-app notice at 80% and one at 100% of the published monthly event ladder. Monthly quota counts persisted OTLP spans, Guard activity (a Post log row that pairs with a Pre row in the same upload is not billed), and endpoint-scan uploads this UTC month. Received events equal stored plus paused. Guard findings still record at the cap. Email is not sent. The Usage and Billing event quota matches the published plan ladder. Seat and machine meters still show the caps currently in force. HTTP 402 ingest uses those enforced caps. The Usage page also shows a per-machine pool that adds up to the total. Enforcement still waits for the plan-limits flag. See Plans and limits.
- Audit log, project export, and organization policy reads require admin or owner. Viewers and members get 403. Team and Settings hide those surfaces. See Teams.
- The self-host compose file requires session and database credentials and binds 3000/3001 to this machine only. Production rejects known defaults and values shorter than 32 characters. See Security and privacy.
- Sign-in and sign-up reject a request from another site. CLI ingest is unchanged. See Security and privacy.
- Published list prices (Pro $15 / $144, Team $12 per machine, 20% off annual) are generated on
/pricingand the homepage from the same cents constants as the plan ladder. Displayed figures stay $15 / $144 / $12 / $9.60. See Plans and limits. - POL-SHELL no longer fires on compound tool names such as
exec_sql. Exactexecstill fires. See POL-SHELL. - Pricing, Billing, Plans and limits, and the FAQ take launch limits from the same published ladder. Enterprise still shows Custom pricing. See Plans and limits.
- Monitor POL-SHELL matches path suffixes, IDE tool ids, and mixed-script lookalikes. New rules cover argument-exfil verdicts, prompt-injection-like tool output, unexpected tools, and built-in funds tools. See POL-SHELL.
- Weekly Dependabot version updates cover npm, Cargo, and GitHub Actions. Minor and patch updates are grouped. See Contributing.
- Opt-in overage on Pro and Team is $9 per extra million events at first, then $5 after the cold tier, with a spend cap. Coming soon until billing is live. See Plans and limits.
- Privacy, Terms, and Subprocessors drop the DRAFT banner. Contact is admin@balerxgate.com.
/subprocessorslists current processors and the Settings export/delete steps. See Security and privacy. balerx uploadandbalerx policy pullrefuse plainhttp://to a non-loopback host. Loopback HTTP is allowed. Pass--allow-insecureto override. Requests time out in under 30 seconds. See Upload.- After Create key in Settings, the page shows the OTLP endpoint, header, environment variables, a test curl, and links to ingest-key and Collector docs. HTTP 202 means the key worked. See Ingest keys and content.
balerx uploadandbalerx policy pullprint a plain missing-scope message on HTTP 403. The API 403 body includes ascopefield. Help and scanner docs list the required scope for each command. See Upload.- Ingest API keys have least-privilege scopes (
ingest:traces,scan:upload,policy:read,activity:write). Missing scopes return HTTP 403. New Settings keys start with traces only; the setup walkthrough requests traces and scan upload; existing keys keep all four. See Ingest keys and content. - The daily retention job deletes endpoint scans, fleet snapshots, findings, reports, usage rows, and resolved incidents older than the project's retention days. Open incidents stay. Resolved and dismissed incidents start that window at resolve/dismiss time. Parents are not deleted while newer child rows remain. Expired sessions and one-time sign-in links are removed after they expire or are used. See Monitor trust model and Security and privacy.
- Project, ingest-key, and Monitor policy names are limited to 120 Unicode characters. Organization names stay at 80. Oversize names return HTTP 400. Session JSON and urlencoded bodies over 512 KB return HTTP 413. OTLP, scan, and activity ingest accept up to 5 MB.
balerx upload --activity-logsends events in chunks. See Ingest keys and content. - Organization invites are bound to the invited email. A different signed-in account cannot accept the link. See Teams.
- Capture-off argument summaries keep keys and sizes only. Unsalted SHA-256 hashes of tool argument values are no longer stored or shown. Rate limiting prefers
X-Real-IPwhen the reverse proxy set it, otherwise the NthX-Forwarded-Foraddress from the right (BALERX_TRUST_PROXY_HOPS, default 1). Migration 013 skips JSON null and scalar values when dropping leftover hashes. See Security and privacy. - Upload docs, onboarding, and installers set
BALERX_API_KEY(or pass--api-key -on stdin) and then runbalerx upload --api-url … --scan scan.json. Copy-paste shell placeholders are quoted (export BALERX_API_KEY="<key>"). A literal--api-keyvalue is rejected. See Upload. balerx scanrecords CONFIG-002 when a config file cannot be read, instead of a clean result. The summary shows skipped counts in terminal, JSON, and SARIF.--fail-on-unreadableexits 1. See CONFIG-002.- Pricing, alerts docs, Settings, and the integrations catalog match shipped incident webhooks: HTTPS (Slack incoming webhook compatible) on every current plan, not gated by Free, Pro, or Team. Email alerts remain unavailable. Native Slack, Teams, Jira, PagerDuty, and SIEM export stay coming soon. See Incident alerts.
- Content capture still redacts stored prompts. Stripe, Google, GitHub fine-grained, npm, HTTP Authorization, and URL userinfo shapes are replaced. Settings warns while capture is on. See Ingest keys and content.
- Changing the password in Settings signs out other sessions and keeps this browser signed in. Sign out everywhere does the same without changing the password. Audit events do not store passwords or session tokens. See Security and privacy.
- A late child span that ends earlier no longer moves a Monitor run's end time backward. Duration is the run start to the latest end. Usage
run_countcounts ingest batches that stored spans, not distinct traces. See Monitor trust model. - Ingest routes return HTTP 429 with a Retry-After header (whole seconds, at least 1) when the shared per-client window is exceeded. Wait that many seconds and retry. Accepted posts still return 202. See Monitor and Upload.
- Guard keeps a completed deny or ask after the hook budget, asks when evaluation does not finish, canonicalizes home/cwd paths (including
~,$HOME,.., and existing symlinks), and denies reads and writes of its home-level policy, hook files,settings.local.json, and activity log. Customcommand_patternregexes run as written. Setup writescommand_pattern; a rule with an unknown condition type asks when its known conditions match. Newlines split commands, stdin redirects are checked, and-c/-e/-mmeaning is per program.--preset balancedand--preset strictwritetimeout_ms: 250; a timeout asks. Strict also writesfail_open: false. Existing files and omittedglobalstay unchanged. See Guard. - Monitor OTLP ingest rejects spans older than 7 days or more than 10 minutes in the future, lists those rejects on the 202 body, and counts monthly events by UTC receive date. Same-span-id replays are not counted and do not create empty runs. See Monitor trust model.
- Install docs, homepage, and onboarding distinguish
irm ... | iex(same PowerShell window) frompowershell -ExecutionPolicy Bypass -File(that child process only). The installer still adds%LOCALAPPDATA%\balerxto the process that ran it. - Docs, onboarding, and the pricing comparison now match scanner 0.1.8 and the hosted app: Windows install uses the GitHub
install.ps1command thatbalerx self-updateprints,--purgenames every file it deletes, the risk label follows finding counts, and unbuilt plan features are marked coming soon. - Approved pricing: Free stays $0 with a 100k events/month hard cap (3 machines). Pro is $15/month (5 machines, 500k events at launch). Team is $12/machine/month with a 5-machine minimum; launch events are 500k per paid machine, pooled (5 machines = 2.5M, 200 machines = 100M). Hosted agents are 2 per paid machine, pooled, and history is 90 days. Opt-in overage on Pro and Team is $9 per extra million events at first, then $5 per extra million once the cold tier ships, with a spend cap. Coming soon until billing is live. Planned: Pro 1M events and Team 1.5M events per machine with a cold tier. Enterprise uses custom pricing and Contact sales. Privacy and Terms no longer show made-up contact addresses.
install.shandinstall.ps1tell you to install from source when the release checksum cannot be downloaded, instead of saying a release tag may not exist.
Scanner 0.1.8
balerx --versionprintsbalerx 0.1.8.balerx setupandbalerx policy initprintv0.1.8on the banner.install.shandinstall.ps1print the same banner on the Installed screen.- Homebrew and winget manifests name scanner 0.1.8. A
v0.1.8tag does not need those checksums filled in git. The release workflow writes them after the archives exist. balerx version --checkandbalerx self-update --checkprintbalerx 0.1.8 is up to datewhen this build matches the latest stable GitHub release. A local build newer than that release printsbalerx 0.1.8 is ahead of the latest releaseand the published version in parentheses.balerx self-updateandbalerx version --checkprint an OS-specific install command: PowerShell on Windows, curl and sh on macOS and Linux. The Windows command isInvoke-WebRequest "https://raw.githubusercontent.com/wrjewski/balerx/main/install.ps1" -OutFile install.ps1; powershell -ExecutionPolicy Bypass -File .\install.ps1.-ExecutionPolicy Bypassapplies only to that one installer process.
Scanner 0.1.7
balerx --versionprintsbalerx 0.1.7.balerx setupandbalerx policy initprintv0.1.7on the banner.install.shandinstall.ps1print the same banner on the Installed screen.- Homebrew and winget manifests name scanner 0.1.7. A
v0.1.7tag does not need those checksums filled in git. The release workflow writes them after the archives exist. balerx version --checkandbalerx self-update --checkprintbalerx 0.1.7 is up to datewhen this build matches the latest stable GitHub release. A local build newer than that release printsbalerx 0.1.7 is ahead of the latest releaseand the published version in parentheses.- Guard hook fail-safe: an empty or unreadable
policy.yamlno longer falls back to the built-in fail-open default. The hook returns ask and writes a warning to stderr. A missing file still uses the built-in default. Omittingglobal, or writingglobal: {}, uses fail_open true and timeout_ms 50. Comment-only or YAML-null files are empty and fail closed. Thetimeout_mswait starts when the evaluation thread is spawned after stdin is read, not at process start. A timeout asks. A stdin that never closes can still hang. A completed deny or ask is kept even after that budget. An evaluation that does not finish asks, regardless offail_open. Stdin larger than 1 MB returns ask. When fail_open allows after a timeout or unreadable JSON, that allow is written to the activity log and stderr.balerx doctorparses the policy file, prints the effective fail_open and timeout_ms, and exits 1 when the file is empty or invalid.balerx policy editkeepsglobal.fail_openandtimeout_ms. A policy with no rules still allows every action.
Scanner 0.1.6
balerx --versionprintsbalerx 0.1.6.balerx setupandbalerx policy initprintv0.1.6on the banner.install.shandinstall.ps1print the same banner on the Installed screen.- Homebrew and winget manifests name scanner 0.1.6. A
v0.1.6tag does not need those checksums filled in git. The release workflow writes them after the archives exist. balerx version --checkandbalerx self-update --checkprintbalerx 0.1.6 is up to datewhen this build matches the latest stable GitHub release. A local build newer than that release printsbalerx 0.1.6 is ahead of the latest releaseand the published version in parentheses.- Userinfo and sensitive query parameters in MCP server URLs are stripped from finding titles, descriptions, evidence (including unpinned and latest-tag package specs), lockfile command/args and package name/version, drift messages, and the upload payload (terminal, JSON, SARIF, HTML). Lockfile command and args also redact long flags whose names look credential-like (a following value or
=value),-H/--headervalues that carry Authorization, Cookie, or X-Auth* headers, and inline shell-cstrings whether the shell iscommandor an arg. Version-change messages also redact sensitive query parameters when the stored version has no URL scheme. Benign query parameters stay. Userinfo is split at the@in the authority (before the first/or?), so a path such as/pkg@lateststays after the userinfo is stripped. A URL with userinfo before the host loses it, and the/pkg@latestpath after the host stays. A/inside what looks like userinfo ends the authority, so that value is a path and stays. Values that appear only in a URL path are left as-is. An older lockfile of the same config does not report command, args, or version drift. A lockfile written by this version shows spurious command/args drift when read by an older scanner (v0.1.5 and earlier); runbalerx lockwith the same version everywhere. - Guard hook paths are quoted with POSIX single quotes or PowerShell
& "path". PowerShell always uses the call operator for the quoted path, including a plain drive-letter path, and escapes$and backtick.guard statusanddoctorunescape PowerShell backticks only on the& "..."form. A POSIX hook command whose binary directory contains a backtick is checked as stored. Those commands exit non-zero when an installed hook binary is missing or not executable. Reinstall stays idempotent for paths with spaces or quotes. - Documentation, onboarding page, installers, and CLI help text now show only secure forms for passing the ingest key: environment variables or stdin. The insecure form with a literal value on the command line, which the CLI already rejects, is removed from all surfaces. The error message when a literal key is passed now shows copy-pasteable examples for bash/zsh, PowerShell, and cmd.
balerx canary plantnow refuses to overwrite an existing file unless--force/-fis passed. Symbolic links, dangling symlinks, and symlinked parent directories are always refused, even with--force. Planting twice with--forceonto the same path now creates exactly one registry entry for that path. The registry is written before the canary file. On any failure, the registry is rolled back and any partial file is removed. When using--forceto replace an existing canary, the old registry entry is preserved if the replacement fails.balerx canary listoutput is now sorted by creation time.- MCP-SUPPLY-001 now flags specs that contain
://and an@as unpinned. v0.1.5 already flagged://specs with no@and did not raise this finding for specs that contain both.
Scanner 0.1.5
balerx --versionprintsbalerx 0.1.5.- Windows
install.ps1adds%LOCALAPPDATA%\balerxto the current processPath, soirm ... | iexcan runbalerxin that window. The message isbalerx is ready to use in this window. New terminals will pick it up automatically.On macOS and Linux,install.shprintsexport PATH="$HOME/.local/bin:$PATH"when that directory is not already onPATH. - HOOK-GAP-001 names the command:
Run: balerx guard install claude-codeorRun: balerx guard install cursor, plusMore: https://balerxgate.com/docs/guard. - CONFIG-001 treats an empty, whitespace-only, or BOM-only JSON, TOML, or YAML file as info. The message is
Configuration file is empty. The suggested contents follow the file:{ "servers": {} }for VS Codemcp.json,{ "mcpServers": {} }for Cursor, Claude, Windsurf, Cline, Roo, and Gemini JSON,[mcp_servers]for Codex TOML,{}for Claude Code settings and VS Codesettings.json, and YAML text for Aider, Continue, and Goose. Malformed JSON and TOML stay high and include the parser line and column. balerx guard statusexits 0 on a fresh install and printsNot installed — run: balerx guard install claude-codeandbalerx guard install cursor.--strictand--checkexit 1 when no hook is installed, which is the exit code a CI script can use.balerx version --checkandbalerx self-update --checkcompare this build with the latest stable GitHub release. The check is one HTTPS GET and runs only when--checkis set. A matching release printsbalerx 0.1.5 is up to date. A local build newer than that release printsbalerx 0.1.5 is ahead of the latest release (0.1.4).doctor,completions,balerx --version,-V, andself-updatewithout--checkstay offline. A timeout, rate limit, or missing network prints a message and exits 0.balerx --helplistsversionandself-updatewith short one-line descriptions.--checkstays onversion --helpandself-update --help. The footer lists the common commands, includingbalerx setupandbalerx self-update --check.- A discovered agent other than Claude Code or Cursor gets a Guard coverage line. The line says Guard hooks are not available for that agent yet and that the scan still checks its config. It is separate from findings, leaves the risk score unchanged, and does not trip
--fail-on.HOOK-GAP-002stays planned. balerx guard install claude-codelists each settings file once, including a Windows\\?\path. A second install does not add another hook.balerx setupandbalerx policy initprint a Balerx Gate banner before the checklist. A color terminal at least 70 columns wide shows the dragon mark and a BALERX GATE wordmark with the taglineSecurity for AI agentsandv0.1.5. Narrower terminals print one line. Width comes fromCOLUMNS, then the terminal size. On Windows, the block glyphs are used for Windows Terminal, VS Code, and ConEmu.NO_COLOR,--no-color, and a pipe print plain text.scan,hook,--help,--version, and machine-readable output leave the banner out.install.shandinstall.ps1print the same banner on the Installed screen.- A
v0.1.5tag does not need Homebrew or winget checksums filled in git. The release workflow writes them after the archives exist. Submitting the tap and winget-pkgs stays a step after that release. balerx uninstallremoves Balerx hook commands from Claude Code and Cursor and leaves every other hook. A command matches when it containsbalerxandhookand it runs thebalerxbinary, orbalerx.exe, with a separatehookargument.my-balerx-webhook.shstays. Empty hook lists left behind are removed. It prints each path and asks before changing anything.--yesskips the question. A pipe without--yeschanges nothing and printsRun: balerx uninstall --yes. Without--purge, policy files and the activity log stay, and the command saysPolicy and logs stay. Pass --purge to delete them.--purgedeletes known files only:policy.yaml,policy.yaml.bakcopies, planted canary files in~/.balerx/canaries,canaries.json, andlogs/activity.jsonl. Unknown files stay. A directory is removed only when it is empty afterward and its name is.balerxorbalerx. A customBALERX_DATA_DIRis never removed wholesale. Purge does nothing and exits nonzero when the home directory or the data directory is not an absolute path. Symlinks are left in place. On macOS and Linux it removes$HOME/.local/bin/balerxonly when that file is the running binary. On Windows it deletes known data files and does not deletebalerx.exe. It printsRemove-Item -Recurse -Force "$env:LOCALAPPDATA\balerx"and the PowerShell that drops that folder from the user Path. The command stays offline.balerx setupwrites~/.balerx/policy.yaml.balerx policy initis the same command.--yesand a missing terminal write the balanced preset.--preset strict|balanced|minimalselects a preset.--yesand--presetleave an existing file in place and say that--replaceis required. A checklist confirms before it replaces an existing file. The previous file is copied topolicy.yaml.bak. The notes for rules that are not in the checklist print only in that interactive checklist.balerx policy showandbalerx policy editread that file. The command stays offline. Scan andguard installprintNo policy set yet. Run: balerx setupwhen the file is missing.
Scanner 0.1.4
- Lockfile package names are the package, not the flag string, and the same config file is recorded once.
- Cursor is reported when
~/.cursorexists. Process names match exactly. Instruction files deeper than three directories are scanned, with an agent name when the path implies one. - Terminal report borders share one width. The scan clock is local.
- SARIF paths outside the working directory and under home are
~/.... scanaccepts--exclude,--no-color, and--baseline.doctor,completions, andself-updateare offline. Passing the ingest key as a literal flag value is rejected.- Release checksums are signed with keyless Sigstore. Installers verify that bundle when cosign is installed. A composite GitHub Action runs a prebuilt
balerx scanand uploads SARIF.
Scanner 0.1.3
- Claude Code hooks use the documented matcher and command list. Cursor hooks keep version 1 and event arrays.
- Deny and ask follow each agent's own decision.
timeout_msandfail_openare honored. balerx diffreports MCP servers that were added, removed, or changed.- Detection covers package pins, VS Code, Codex, Windsurf, Cline, and Roo, and the risk label matches the score.
- SARIF includes rules and locations. Missing files and HTTP 401 name the problem. The ingest key can be read from stdin.
Scanner 0.1.2
- The
v0.1.1release binary still reported0.1.0. This version makes the tag andbalerx --versionagree: both are 0.1.2.
Scanner 0.1.1
- Scanner version matches the published
v0.1.1release.balerx --versionprintsbalerx 0.1.1. - Windows release archives pass POSIX paths to
bsdtar. Release notes say the binaries are unsigned.
Web
- 2026-10-22: Home, sign-in, and overview were restyled to the brand mockups (
3f473ad, pull request 30). - 2026-10-22: Onboarding, agents, runs, incidents, team, fleet, policies, and endpoint scans were restyled to the brand mockups (
561046e, pull request 31). - 2026-10-22: Fleet, run, agent, incident, and scan detail pages were restyled (
416ef69, pull request 33). - 2026-10-23: Docs, legal pages, invite, and error screens were restyled (
53565a0, pull request 34). - 2026-10-23: The public site origin became
https://balerxgate.com(082492a, pull request 41). - 2026-10-23: The integrations page gained an example catalog (
8b5ab7f, pull request 43) and then the catalog layout (403f83b, pull request 44). - 2026-10-23: The pricing page lists the approved plan ladder. Checkout stays off (
5e627a4, pull request 49).
