Skip to content

v0.3.0

Choose a tag to compare

@vineetpant vineetpant released this 19 Aug 22:16
· 9 commits to main since this release

Three additions, one of which changes what Customhouse allows.

Destination classification (enforcement). In a session tainted by untrusted content, an external_send call is now allowed if every recipient is the author of the tainted source. Authorship is read only from a structured field the upstream declares — never by searching content, because an attacker who writes a message body must not be able to forge the value that authorises a reply. If any taint source has no author, the sources disagree, or any recipient is a third party, the stricter session rule stands.

This relaxes enforcement in one narrow case, and it opens a residual channel: when the author is the attacker, a reply directed to them is allowed. That is documented in SECURITY.md, recorded in the ledger every time the exemption fires, and pinned by a test that asserts the allow, so closing it later has to be deliberate.

Hash-chained ledger. Every entry carries the SHA-256 of the previous line; customhouse verify-ledger walks the chain and names the first bad line. Tamper-evident, not tamper-proof — an attacker with write access can recompute the whole chain. What is closed is undetected point edits.

customhouse init. Generates a customhouse.toml from the MCP servers Claude Desktop and Cursor already launch. It never marks any upstream trusted, and names every server it skipped rather than omitting it silently.

Measured: false-positive rate 40% → 30% (4/10 → 3/10) over benign workflows that use a sink, attributable to destination classification. Block rate holds at 100% over a set that grew from 11 to 12 scenarios; the added one plants the attacker's address in a poisoned body, which is the case a naive version of this rule would have allowed. Regenerate both with ./demo/run_metrics.sh.

Full notes: CHANGELOG.md