Repository navigation
Releases
Verfy CLI 0.26.6
- Text written into a documentation file is no longer read as commands. A command like
cat >> notes.md <<'EOF' ... EOFwas blocked when the text mentioned a dangerous command (for example a recursive delete of the home folder), because every line of a here-document was checked as a command. Now a here-document is read as text when it only goes into documentation files (.md,.txt,.rst,.adoc,.log,.csv) throughcatortee, nothing around it is piped, run with sudo or substituted, and an unquoted body holds no$(...)or backticks. Anything else is checked line by line as before: a body piped into a shell or fed to one, written to a script or a shell profile, or run later in the same command.tests/test_heredoc_data.pycovers both sides.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.5
- The sandboxed editor terminal is no longer beta.
verfy setup --sandbox-terminal on(and the editor extension's "Open the terminal inside the sandbox") now checks that the sandbox is installed before it writes the editor's terminal profile:srton macOS and Linux, and on Windows bothverfyandsrtinside WSL2. Before, a missing sandbox left VS Code, Cursor or Devin Desktop with a terminal that did not open, so the agent could run nothing. Now nothing is changed and Verfy says what to install. Turning it off always works. - Verfy Cloud's Slack buttons are no longer beta on the website. A new test in Verfy Cloud checks the signature against the worked example on Slack's request-verification page, the
block_actionsrequest, the app manifest keys and every Block Kit limit. - The root README has the website's headline, and the READMEs no longer call Verfy Cloud or the editor hooks beta.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.4
- GitHub Copilot and Devin, checked against their hook references. Their hooks are no longer marked beta. A new test,
tests/test_copilot_devin_spec.py, sends each agent's documented input (Copilot's camelCase and PascalCase formats; Devin'sPreToolUse) and accepts only the answers each reference describes. What it found is fixed:- Copilot running Claude Code's hook. Copilot also reads
.claude/settings.jsonand runsverfy hook pre-tool-usefrom it, but reads only a top-levelpermissionDecision, so Verfy's Claude Code answer could be ignored there. Verfy now tells Copilot's call apart (it carries atimestampand no transcript) and answers in Copilot's format. - Devin shows why a call was blocked. Besides exit code 2 and stderr, the reason now goes in
{"decision": "block", "reason": ...}on stdout, where Devin's reference says it reads it. COPILOT_HOMEis honoured:verfy hook install --copilotwrites to$COPILOT_HOME/hooks/verfy.jsonwhen it is set.
- Copilot running Claude Code's hook. Copilot also reads
verfy hook installno longer calls the Codex, Gemini CLI and Copilot hooks beta.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.3
- The first minute.
verfyon its own now shows three steps (verfy demo,verfy init,verfy doctor --live) instead of forty commands;verfy --helpstill lists them all.verfy demoends with the next step, andverfy initnamesverfy doctor --liveamong its next steps. verfy checkreads scripts too.verfy check python fix.pyreadsfix.pythe way the hook does, and shows every finding in it with the file and line, since a person asked.- The README shows the script check in action.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.2
- Cursor, checked against Cursor's hook reference. The Cursor hook is no longer marked beta. A new test,
tests/test_cursor_spec.py, sends every event Verfy registers with every field Cursor's reference lists and accepts only the answers each event takes. What it found is fixed:- Files attached to a read (
beforeReadFile'sattachments) are checked like the file itself: attaching~/.ssh/id_rsato a read ofnotes.mdis denied. - Cursor's Write tool may send the file under
contents; that key, andfile_contentandnew_content, are now read as the file's text, so a secret or a script in it is checked before the write. - MCP results with keys taken out are answered as an object (
updated_mcp_tool_output), as the reference says, also when the result arrived as a JSON string.
- Files attached to a read (
- Hook input on Windows is read as UTF-8. Python decoded the pipe with the system's code page (cp1251, cp1252, ...), which garbled a path with non-ASCII letters (
C:\Users\Жавохир\...) and could make a hook fail into asking. The bytes are now decoded as UTF-8, with a byte-order mark or UTF-16 from PowerShell handled too. This was true of every agent's hook, Claude Code's included. verfy doctor --livechecks more of Cursor: besideslsandrm -rf ~, a read of a project file must pass, and a read of~/.ssh/id_rsaand a write to Claude Code's settings must be stopped, sent as UTF-8 the way Cursor sends them.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.1
- Fix: a script ending in an unfinished string with a backslash was let through unread. Reading such a file stepped past its end, the script reader stopped, and the call kept only the rules' answer for the command (
python e.py), so therm -rf ~inside was not seen. A crafted file could use this to hide from 0.26.0's script reading. Found by the new fuzz test the same day. - What the script reader cannot parse now asks. A file Verfy fails to read no longer drops the whole check: the other files of the call still count, and code the agent wrote that could not be read asks first (VFY-SCRIPT-002) instead of running unread.
- Fuzzing.
tests/fuzz_precheck.pyfuzzes the rule engine and the script reader with Atheris (pip install atheris, Linux, Python 3.11 or 3.12), andtests/test_fuzz_smoke.pyruns the same targets on random inputs in every test run: no input may make them raise. - The README shows the project's OpenSSF Scorecard.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.26.0
- A script is read before it runs. Until now the guard judged the command an agent ran, so
python fix.pywas checked as a command andfix.pyitself was not; an agent could write the dangerous part into a file and run the file. Now, before such a command runs, Verfy reads the code it starts and checks it with the same rules:- scripts named on the command line, run by an interpreter (Python, Node.js, Deno, Bun, tsx, Ruby, Perl, PHP, bash, sh, zsh, PowerShell), run directly (
./x.sh), sourced, a module of the project (python -m pkg), given inline (python -c,node -e) or in a here-document (python - <<EOF); - package scripts:
npm test,npm run build,npm install(the project's install scripts), the same for yarn, pnpm and bun, and a Makefile's recipes formake; - code the agent wrote or changed in this session, when a command runs project code without naming it (a test runner such as pytest loading
conftest.py, a build tool, an interpreter importing a module).
- scripts named on the command line, run by an interpreter (Python, Node.js, Deno, Bun, tsx, Ruby, Perl, PHP, bash, sh, zsh, PowerShell), run directly (
- How a script is checked. A shell script line by line, as commands. Other languages by what they hand to the shell (
os.system,subprocess,child_process,system, backticks), what they delete (shutil.rmtree,fs.rmSync), the paths and URLs written in them (Verfy's own key named in pieces, a credential file in code that also uses the network, a denied host such as the cloud metadata address), and a script started from a script, three levels deep. A finding names the file and the line:In fix.py, line 3: [VFY-SH-001] ...(VFY-SCRIPT-001). - Who wrote it matters. Code the agent wrote or changed in this session (a file tool, a shell redirect,
curl -o, or any file changed since the session started) gets every finding. Code that was already in the project gets only what is blocked outright, so a project's own scripts do not ask each time they run; a cloned repository'srm -rf ~is still stopped. Code a runner only loads counts for what is blocked outright, so a script you approved once does not ask again on every later command. - What no one can read first is said so. A script written by the same command that runs it, a download run right away (
curl -o x.sh ... && bash x.sh) or a script too large to read asks first (VFY-SCRIPT-002). Code that decodes or downloads more code and runs it (exec(base64.b64decode(...)),eval(atob(...))) asks first (VFY-SCRIPT-003) and counts toward a session's escalation. - Policy:
"scripts": {"read": "on" | "off"}, on by default; a repository's policy can turn it on, not off. The files each session wrote are kept in~/.verfy/scripts.jsonfor a day. The hook and the gateway both read scripts; a typical check takes a few milliseconds. - Limits. Code that builds a command while it runs, reads it from elsewhere or loads modules the agent did not write is followed only as far as its text shows, and compiled programs are not read. A sandbox holds the rest (
verfy run --sandbox; on Windows through WSL2).
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.25.0
- Receipts for any agent. Any program can now sign a receipt for an action it took, not only a coding agent's tool calls: a refund, an email sent, a row deleted, a deploy.
verfy.Recorder(agent="refund-bot").record("refund", system="stripe", kind="payment", args={...}), the@rec.track(...)decorator (plain and async functions; a raised exception is recorded aserrorand raised again) and thewith rec.action(...)block write averfy.receipt/1receipt with the same key and chain as the hook, soverfy verify, verfy.dev/verify and Verfy Cloud check it like any other. From any other language:verfy record ACTION --system S --kind K --args JSON.- Only salted hashes of the arguments and the result are kept unless you ask for the arguments (
include_args, secrets redacted). Decimal, datetime, UUID, sets, dataclasses and pydantic models are recorded as data; integers beyond JavaScript's safe range become text so the Python and JavaScript engines sign the same bytes. - Anything Verfy Cloud would refuse is refused before anything is written, so one record can never stop later uploads. A record that fails after the action ran is logged and the program carries on. Threads and processes record at once without forking the chain; the key is created once even when two processes start together.
- A record's
decision.policy_sha256is"none": no Verfy policy decided it.
- Only salted hashes of the arguments and the result are kept unless you ask for the arguments (
- Share links (Verfy Cloud).
verfy share(orrec.share()) uploads what is waiting and prints a link anyone can open to check one receipt: its signature, its place in the chain and when Verfy received it.verfy share --agentlinks to the device's whole record as numbers (receipts, kinds, outcomes, first and last), never one action's details. Links can expire (--expires-days) and be revoked in the dashboard. A receipt that carries its arguments cannot be shared. - Verfy's witness statement. Each link and each answer of the new verification API carries a statement signed with Verfy Cloud's own Ed25519 key (
verfy.witness/1): the receipt's hash, when it first reached Verfy and the state of the chain.verfy witness verify proof.jsonchecks it offline with the key published at verfy.dev/.well-known/verfy-witness.json, and checks the receipt inside against the device key. A shared test vector keeps the Python and JavaScript signatures byte for byte the same. - The verification API (Verfy Cloud). Insurers, auditors and marketplaces that check other teams' agents make a verifier key under Usage & API and call
GET /api/v1/verify/shares/{token}orPOST /api/v1/verify/receipts(does Verfy have this signed receipt, and since when). Every call is counted; the dashboard shows this month's receipts, records, links and checks. - Stop an action before it runs.
Recorder(rules=[...])checks rules before each tracked call: by kind, system or action name, with a limit on one action (over) or on today's total (daily), andaskordeny. A person approves anaskin Verfy Cloud's approval queue (on_ask="team", which sees the rule and its message, never the arguments) or through your own function. A stopped call raisesverfy.ActionDenied, never runs, and is recorded asblockedordeclined. It fails closed: a missing amount counts as over the limit, an approver that cannot be reached declines, and daily totals are kept under a lock so two processes cannot both spend the last of a limit. Rules also come from~/.verfy/policy.jsonand the team policy ("actions"). - LangChain, the OpenAI Agents SDK and CrewAI.
verfy.integrations.langchain.VerfyCallbackHandler,verfy.integrations.openai_agents.VerfyRunHooksandverfy.integrations.crewai.VerfyCrewHooksrecord every tool call and check the rules before it, with nothing to change in the tools. Each is tested against the real framework (a CrewAI crew and an Agents SDK run with a model that makes no network call); none is a dependency. A call CrewAI's hook cannot check is blocked, because CrewAI runs the tool when a hook fails. - Node.js and the Vercel AI SDK.
verfy-cli/js/verfy-node.mjsrecords the same receipts from Node.js 18 and later; the tests check Node's receipts with Python and Python's with Node.withVerfy(tools, rec)(verfy-ai-sdk.mjs) records every tool call of a Vercel AI SDK agent, tested with a realgenerateTextrun.node scripts/build-npm.mjsbuilds both as the npm package@verfy-dev/receiptswith types. - Deals two agents sign (
verfy.deal/1):seller.offer(...)andbuyer.accept(offer)give each side a receipt in its own chain, the second naming the first, over the same terms;verfy deal verifychecks both. Payments tied to a mandate:rec.record_payment(amount, currency, payee=..., mandate=...)keeps the amount and payee only as a salted hash and names the mandate it carried out by its hash (verfy deal hash). These receipts hold only references, so they upload without--allow-args. - Incident packs.
verfy incident export --since --until [--agent] [--prove] [--attest]writes every receipt in a window as one unbroken run of the chain, with the key, with--proveVerfy's public-log proof for each, and with--attestVerfy Cloud's signed statement of which of them it holds and since when (it receives only their hashes);verfy incident verifychecks it all offline. - Verfy as the deal's witness (Verfy Cloud).
POST /api/v1/verify/dealswith a verifier key checks a deal, says when each side's receipt reached Verfy and where it is in the public log, and signs that.verfy deal verify --onlineasks it and checks the signature. - Verfy's public log (Verfy Cloud). Every receipt Verfy accepts becomes the next leaf of one append-only RFC 6962 Merkle tree of receipt hashes; its size and root are signed with the witness key at least daily.
verfy log provechecks a receipt is in it;verfy log watchchecks the newest head only added to the heads this machine saw before, so Verfy cannot quietly drop or change a receipt it accepted. New public endpoints:/api/v1/log,/api/v1/log/proof,/api/v1/log/consistency,/api/v1/log/heads. - Attacks no rule names yet. Three layers beyond the rules. Escalation: a session that tried something Verfy blocked, or several suspicious things, needs approval for every risky action for an hour, and after more tries is blocked (VFY-AD-001, VFY-AD-002). Novelty: after a warm-up of 50 actions, a program that reaches the network or runs inline code, or a host, this machine's agents never used is asked about once (VFY-AD-003); nothing is learned from a session under escalation. The rule feed:
verfy rules updatetakes rules Verfy publishes between releases, signed with its witness key; a feed rule can only ask or deny, the first signing key is remembered and an older feed is refused; machines enrolled with automatic upload refresh it daily.verfy adaptiveshows what was learned. Policy:"adaptive": {"escalate", "novelty", "warmup"}, which a repository's policy can only tighten. - New rules for shapes no earlier rule caught: code that only exists after decoding run by
bash -c,evalor an interpreter (VFY-SH-041), data sent out in a DNS name or a web address built from a command's output (VFY-SH-039;nslookup,dig,hostanddrillnow count as reaching the network), and a browser's saved passwords or cookies read (VFY-SH-040). Both engines check them on the shared fixtures. A custom rule can name"kind": "shell"to apply to commands only. verfy doctor --liveruns each installed hook exactly as its agent does (Claude Code, Cursor, Codex, Gemini CLI, Copilot, Windsurf, Devin), with a harmless and a destructive call in that agent's format, in a throwaway Verfy folder: the command must start, answer in time, letlspass and stoprm -rf ~.verfy demoshows each rule on its own again. Its project folder sat inside the demo's Verfy folder, which Verfy protects, so writingnotes.mdwas blocked when it should run; the project now sits next to it. Escalation is off in the demo, and the demo says what it would have done.- The formats are written down in docs/spec: receipts, rules, witness statements, the log, deals and incident packs.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.23.1
- Verfy moved to the verfy-dev organization on GitHub. The repositories are now
verfy-dev/verfy,verfy-dev/verfy-releasesandverfy-dev/verfy-action; the old addresses redirect. Every link, the install scripts, the release checks (build attestations and Sigstore identities), the Homebrew tap (brew tap verfy-dev/verfy https://github.com/verfy-dev/verfy-releases), the Scoop bucket, the pre-commitrepo:, the Claude Code plugin marketplace (claude plugin marketplace add verfy-dev/verfy-releases) and the GitHub Action (verfy-dev/verfy-action@v1; the old name keeps working) use the new name. The container image is nowghcr.io/verfy-dev/verfy, and the MCP Registry nameio.github.verfy-dev/verfy. - This release is built and signed from the new repositories, so
gh attestation verify ... -R verfy-dev/verfy-releasesand the install scripts check it under the new name.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository verfy-dev/verfy.
Verfy CLI 0.23.0
-
verfy mcp: Verfy as an MCP server. Add it to any agent ({"command": "verfy", "args": ["mcp"]}) and the agent can ask Verfy before it acts. Six read-only tools:check_lineandcheck_tool_call: would Verfy's rules allow, ask about or deny this terminal line or this tool call, and which rule decides;scan_mcp_config: how the MCP servers in a config are started (the VFY-CFG rules), for a config you give or the ones on this computer;scan_tools: warning signs in tool definitions, with a grade;agent_settings: whatverfy posturereports;recent_receipts: the latest signed receipts and whether the chain verifies.
It changes nothing, starts no server and makes no network call. Its answers are advice to the agent; the hook and the gateway are what stop a call. Its own tool definitions pass Verfy's scanner.
-
verfy reportwrites one HTML page about this computer: which agents are guarded, risky agent settings, how MCP servers are started, what is locked, and the receipts (counts by verdict, the rules that fired most, receipts per day, the latest ones, and whether the chain verifies). It is a single file with no script and nothing loaded from outside, and it holds no secret.--jsonprints the same data. -
pre-commit hooks. In
.pre-commit-config.yaml, add this repository atrev: cli-v0.23.0withverfy-mcp-config(a static check of the MCP configs in the commit: a package with no pinned version,curl | sh, plain http, a key in the file; it starts nothing) and, if you want it,verfy-lock(runsverfy lock check, which starts the servers). -
A GitLab CI job,
examples/ci/gitlab-ci.yml: the same lock check as the GitHub Action, for merge requests. It is run in its container image by this repository's CI, not yet on GitLab itself. -
The research covers 99 MCP servers, up from 46: every added server has at least 2,000 downloads a week on npm or PyPI.
-
The JavaScript engine has
packageOf: the package a server is started from, also behind a gateway. verfy.dev/check uses it to show how often that server changed its tools. -
verfy posture --jsonsays for each finding whether--fixcan fix it (fixable). -
In the MCP Registry:
server.jsondescribesverfy mcpfor the official registry (io.github.anvarbekovjavohir277-dot/verfy, the PyPI package started withmcp), and the PyPI description carries the ownership line it checks. -
Homebrew, Scoop and a container image. verfy-releases is also a Homebrew tap and a Scoop bucket, refreshed by each release build with that release's files and checksums, and each release publishes
ghcr.io/anvarbekovjavohir277-dot/verfywith Node.js and uv for CI. A workflow installs all three on clean machines.
pip install -U verfy or verfy update. Check a file: sha256sum -c SHA256SUMS --ignore-missing, then python -m sigstore verify github FILE --bundle FILE.sigstore.json --repository anvarbekovjavohir277-dot/verfy.