Verdict reviews hostile pull requests and executes agent-supplied verification commands. That makes its trust boundary load-bearing: please report vulnerabilities privately so a fix can land before details go public.
Use GitHub private vulnerability reporting: the repository's Security tab → Advisories → Report a vulnerability. Do not open a public issue for anything you believe is a security bug.
Include the verdict version (verdict --version), the install route
(installer script, npm, Homebrew, skill copy, or source build), the
verb and flags involved, and steps to reproduce. Redact tokens and
private repository data from the report.
We aim to acknowledge reports within 3 business days, agree a fix and disclosure timeline with you, and credit you in the release notes unless you prefer to stay anonymous.
Pre-1.0, only the latest release is supported with security fixes.
Upgrade with verdict upgrade (or re-run the installer) and re-check
before reporting: many findings are already fixed on the latest tag.
In scope (highest priority first):
verify --sandbox, the enforced boundary: mount and namespace isolation underbubblewrapon Linux; undersandbox-execon macOS, the network and Mach service denial (default-deny with one lookup-only allow, so no keychain, preference, pasteboard, LaunchServices, AppleEvents, or launchd channel acts for the command), the denial of thelsopen,appleevent-send,job-creation,distributed-notification-post, and cross-processsignaloperations, the denial of every write outside the reviewed root (the snapshotverifyruns in) and the per-run privateTMPDIR, and the read denial of the credential table and the shared host temp roots; the credential-path hiding on both; and thesandbox-unavailablerefusal that never degrades to an unwrapped run or to the network-only mode.sandboxedmeans exactly that full shape —"sandboxed": truein the patch record, the deep-group receipt, or--jsondata assertsbwraporsandbox-execenforced it. An escape from that sandbox, or a run that records"sandboxed": truewithout the enforcement (or for the network-only mode), is a vulnerability. One macOS residual is documented, not a finding: Seatbelt cannot gate thekern.procargs2sysctl, so a sandboxed command can read the environment of same-uid processes that are not restricted platform binaries — a third-party editor, an agent CLI,node(see the manual);verify --sandboxwarns, naming the variables and never their values, when verdict's own environment carries a secret-named variable a command could read that way. A route to another process's environment that does not go throughkern.procargs2, or a profile that could deny it and does not, is in scope.verify --sandbox-network-only, the explicit Linux opt-in (unshare --user --map-root-user --net): the promise is network isolation alone, asandboxMechanism: "unshare-net"record that never claimssandboxed, the warning on every run, and thesandbox-unavailablerefusal on every other host. A route to the network that does not go through a filesystem path is a vulnerability. Reaching the host filesystem, the host/proc, or a filesystem unix socket (docker.sock, thessh-agentsocket) is the documented boundary of this mode, not a finding.- Under
--sandbox, the reviewed repository's git control files are part of the boundary: writes to<root>/.git, the git directory a.gitfile names, and a linked worktree's common directory are denied on both platforms; on macOS so is creating any.gitpath below the root. On both platforms a symlinked.gitor git pointer file, a git directory that is the reviewed root or holds it, a pointer that reaches inside the root under another spelling (letter case, a macOS firmlink), a git control file with a second hard link (object payload — loose objects, packs, and the commit-graph and pack-list caches of each git directory, submodules' included — excepted;objects/info/alternatesis not payload), and a git control file outsidehooks/that is a symlink into the root refusesandbox-unavailable("inside the root" is decided by file identity); on Linux so does a root whose repository cannot be pinned read-only (no.git, a git pointer that does not resolve, or a git location whose walk passes through a symlink or a missing component inside the root, a link reached through an outside-root link included). A sandboxed command that plants a hook or a.git/configkey for the root's repository, for a nested repository or submodule whose.gitexisted when the sandbox started, through any submodule path in the root's index, or (on macOS) through any new nested.git, is a vulnerability. Out of scope: the rest of the working tree is the PR's content and writable by design, and so is hook code or config the operator keeps in the tree (acore.hooksPathdirectory, a.git/hooks/symlink into the tree, aninclude.pathnaming a tree file), and on Linux a new nested.gitin a subdirectory that is no submodule path is a documented residual ofbwrap, which can only protect paths that already exist (git honors it only when it runs in that subdirectory, as an editor or repository scanner that discovers nested repositories may). - The
verifygate's own contract:verifyexecutes the agent's claimed proof (verifyCmdviabash -c, 300s watchdog, tail recorded into the patch record). The pre-exec refusals are a tripwire, not a boundary: the gate refuses the spellings it knows, and averifyCmdspelling it does not know executes inside whatever boundary you gave it — that ceiling is documented in the manual and a hit on it is a gate gap to report and arm, not a vulnerability. What is in scope is the tripwire's own promise: a command that runs after the gate refused it, a spawn that happens before the refusal, a refusal that names the wrong reason, or a spelling the docs and the fuzz corpus claim refuses while it executes. - The installers (
install.sh,install.ps1): archive checksum, cosign verification pinned to the release's published build commit and to a push-triggered run, atomic replace, no execution before verification. A verification bypass, a path that runs an unverified download, or an install that accepts a release withoutcommit.txtis a vulnerability. - The
upgradechannel: verified self-replace for installer-managed installs, owning-manager delegation otherwise (never privilege escalation, never background checks). - The
setup-verdictaction and the skill install/bootstrap paths (install-skill.sh,verdict skill install,scripts/verdictbootstrap): same bar — no unverified execution, no writes outside installer-owned directories. - Fetched diffs and review comments are untrusted input throughout; prompt-injection handling and secret redaction in recorded tails are in scope where they cross a trust boundary.
- Control-plane integrity: the review controls (
.verdict/config.json,.verdict/kb.jsonl,.verdict/learnings.md, and.verdict/overrides/fragments) are read from the PR base commit and snapshotted into the bundle, so a pull request cannot edit the rules it is judged by.postandrecordrefuse a missing or drifted snapshot (controls-unavailable,controls-stale). Any path where head bytes steer a review without the recorded--allow-head-controlsopt-out is a vulnerability. - The verification receipt:
recordandpostflip aVERIFIEDclaim toaddressedonly on the bundle'sverify-receipt.json, whichverdict verifyalone writes. It binds the command, the finding, and the git tree of the content the command ran on — a snapshot of that content outside the user's checkout: reads that resolve inside the snapshot see the snapshot, while a path resolving outside it (an absolute path, or a symlink the tree carries) reaches the real filesystem, read-only under--sandboxand possibly hidden by its rules — and verify writes it only through the bundle directory it pinned before the command ran (a symlinked bundle refuses; a bundle moved or replaced mid-run records nothing). A path where a claim flips without a passing receipt for its command, finding, and the graded content's tree — a pass read frompatch.json, atriage[]rationale, content that changed after verify, content outside the reviewed bundle (an untracked file), or a command that reaches the user's checkout from the snapshot and changes what the receipt names — is a vulnerability. The one deliberate exception isverify.share: ignored directories the operator lists in the bundle's base config (the PR base commit, orHEADfor a local bundle) join the snapshot and can influence a passing receipt. The receipt records them inshared,verifyandgateshow them, and under--sandboxthey are read-only; a shared path that is tracked, not ignored, or not listed in that config, or one writable under--sandbox, is a vulnerability. So is any code the checkout controls running whileverifymakes the snapshot, before the sandbox exists: a git hook (including through acore.hooksPaththat names tree content), a clean or smudge filter (git-lfs included), or an fsmonitor program; and so is a run that falls back to the user's checkout when the snapshot cannot be made. The same holds for every other git call verdict makes on reviewed content (fetch-local,fix --test --commit,backtestreplay): a hook, an fsmonitor, a textconv or external diff driver, or a smudge filter on a checkout verdict writes is a vulnerability. Clean and process filters (a driver'scleanorprocesscommand) on the operator's own working tree run by design. The receipt defends against claims nobody observed, not against a process with the operator's own file access: such a process can rewrite the receipt orfindings.jsondirectly, so forging the receipt that way is out of scope. - The write posture of
mcp,serve, andlsp(docs/manual.md§ Write posture). Each of these is a vulnerability: any write through aservebound to a non-loopback--host, or under--read-onlyon any surface; aservewrite that passes without the session token, the CSRF token, or the Host and Origin checks; and a host post fromservewithout--allow-postplus a confirmed preview, its single-use nonce, and a matching payload digest.
Out of scope: a verifyCmd spelling the string gate does not know (the
documented tripwire ceiling above — send it, it gets armed and added to
evals/fixtures/verify-fuzz-corpus.tsv), documentation typos (open a regular
issue), missing
hardening wishes with no exploit path (open a feature request), and
vulnerabilities in apps/docs build-time dependencies that never
reach the published static site (still reportable, assessed by
reachability).
The structural argument behind this policy is
ASSURANCE_CASE.md: the threat model, the base-owned
review controls, the secret shield and scope preview, the evidence gates, the
sandbox, and the supply chain, each paired with the file, refusal code, or test
that enforces it. The OpenSSF Best Practices audit, including the criteria this
repository does not yet meet, is
docs/openssf-best-practices.md.
Verdict spawns two kinds of child, and their environments differ on purpose. Do not "fix" the inherited side: it is the documented local posture.
- Inherited: the fixed
ghandgitargv verdict itself issues (fetch, post, triage,doctor, and the base-owned control reads). These run with the developer's environment because verdict is a local CLI acting for the operator: the calls must use the operator's existingghauth and git configuration, and shadowing either would break the command rather than harden it. Aghspawn passes no environment, so the child inherits the parent's (internal/core/exec). The host choice is not inherited: when the target names a host (a URL ororigintarget,demo <url>, and everypost, which pins to its bundle's host), everyghandglabargv names it explicitly (core.PinHostArgv), soGH_HOSTorGITLAB_HOSTcannot redirect a call to another host's pull request; the one exception, a GitLab host on a non-default port that glab cannot pin, runs unpinned only when the environment provably names that exact host and port. A typed<owner/repo> <pr>read names no host and follows the CLI's default (docs/manual.md§ Targets). Agitcall inherits the environment minus git's location variables,GIT_EXEC_PATH, andGIT_CONFIG_PARAMETERS, with hooks and fsmonitor off (internal/gitcmd). A syntactic guard ininternal/archtestfails on agitargv spelled outside it — a"git"literal, a constant concatenation, ash/bashscript naming git — but not on a name computed at run time. - Default-deny allowlist: the agent-written
bash -cverify command.verifyruns the agent's claimed proof (or deep-group--command) with a default-deny filtered slice of the caller's environment (internal/core/verify/env.go), never by inheritingos.Environ()unfiltered. Only baseline locale, terminal, shell, XDG, and toolchain variables (PATH,HOME,LANG,LC_*,TERM,TMPDIR,TZ,CI,USER,LOGNAME,SHELL, color flags,XDG_*_HOME, Go/C/Rust/JS/Python cache and home variables, plus Windows OS runtime variables onGOOS=windows) pass by default; any variable whose name matchesenvsecret.IsSecret(credential-shaped endings such as*_TOKEN,*_SECRET,*_KEY,*_PASSWORD, plusAWS_ACCESS_KEY_IDandSSH_AUTH_SOCK, includingLC_TOKEN) is dropped even when it matches an allowlist prefix. An explicit opt-in keeps the named variable even when its name is secret-shaped. Operators opt additional variable names in with--env-allowlist NAME[,NAME...]or.verdict/verify-env(one variable name per line,#comments and blank lines ignored, read exclusively from the verified base-commitcontrolssnapshot, checked against the bundle's current base, so an untrusted PR head cannot widen its own environment unless the operator passes--allow-head-controls, which reads the worktree instead). Dropped variable names — never values — are reported in sorted order inwarnings[], and the full parent snapshot remains the redaction list forverifiedTailinpatch.json.
The hermetic counterpart for tests is internal/testenv: every harness that
spawns git, gh, or the verdict binary builds its child environment there.
It drops secret-shaped variables (*_TOKEN, *_KEY, *_SECRET, AWS_*),
harness knobs (REVIEW_*, GH_*, GITHUB_*, GIT_CONFIG_*), and git's own
location variables (GIT_DIR and friends, which git exports to hooks), then
pins git's configuration and identity, so a test never inherits the runner's
environment. Each git-running package's TestMain applies the same scrub to
the process, so a suite launched from a hook writes only to its fixtures.
Production inherits the operator's, tests never do — both are deliberate.
No auto-updater phones home by design, and GH_TOKEN never leaves
the operator's machine — please do not test with tokens or private data
you do not own, and do not probe live infrastructure beyond a minimal
proof of concept. Local file scope: verdict opens only files it is
explicitly handed (bundle inputs, VERDICT_USAGE, settings, stores it
owns); it never discovers or opens other tools' transcripts, logs, or
config directories.