Repository navigation
Verfy CLI 0.26.2
·
12 commits
to main
since this release
- 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.