Skip to content

v0.3.1

Latest

Choose a tag to compare

@vineetpant vineetpant released this 20 Aug 00:04
· 6 commits to main since this release

A review pass over the v0.3.0 additions. Every item was reproduced with a failing test before being changed, and each fix was mutation-verified — the guarding test was watched go red against a reverted fix.

Enforcement fix. A recipient could hide a second party from the author-equality exemption, by two routes. Textually, Customer <customer@example.com>, attacker@evil.example is one string to Customhouse and an address list to a mail server, and v0.3.0 compared only the bracketed span. Structurally, a declared recipient array kept its string elements and silently dropped the rest, so an object element contributed one recipient to the comparison and two to an upstream that accepts them.

Both are closed the same way: a value that is not fully understood no longer produces a shorter list, it stops the exemption. This affects only deployments that opted into author_field and recipient_fields. Measured block and false-positive rates are unchanged — the tightening cost nothing.

Ledger fixes. A record truncated by a crash used to swallow the next one: the next process appended onto the unterminated line and merged two records into one unreadable line. And ids restarted at 0 each run, so a file spanning sessions could repeat them — which matters because ids are cited as references (caused_by_call, server:call_id, and the denial text's "call N").

customhouse init no longer skips servers declared "type": "stdio", the form Cursor and VS Code write for local servers.

Disclosure. SECURITY.md now states two ledger limits that were previously unstated: verification stops at the first unreadable line, so entries past it are unchecked; and the ledger fails open, so a running proxy does not guarantee a written trail. Both are real, neither is fixed in this release.

Full notes and the release-to-commit map: CHANGELOG.md