Repository navigation
v0.7.1
Security fixes for sealed (TEE) models
Update if you use tee/ models. Nodes with auto-update on move by themselves.
- A debuggable TEE was accepted. In a debuggable TD the host can read the TD's memory, including the key your prompts are sealed to, and the same image measures the same with debug on. Verification now refuses it. Found by @Reytian (#52). Affects v0.6.0 to v0.7.0.
- Unsealed text is no longer passed on. On streamed answers, a line the gateway did not recognise as data went to your client unopened: a chunk with a leading space, one split over several lines, one behind a carriage return. Now each data line must be one whole JSON object, is opened, and nothing else goes on.
- Tool calls nobody asked for. If your request offered no tools, an answer that carries a tool call is refused (#52). When a request does carry tools,
X-BitLLM-TEEends withtools=unsealed.
What sealing does not do yet
Stated plainly, because earlier notes were not clear about it:
- It does not prove who wrote an answer. A relaying server cannot read a sealed answer, but it can replace one with text of its own. Detecting that takes the TEE's signed receipts or E2EE v2.1, and this release checks neither. Support for v2.1 is in progress.
- Tool definitions and tool calls are not sealed under E2EE v2. A relay can read and change them.
The two sponsored models are relayed by a node the maintainers run.
New
--tee-policy FILE: accept TEE builds of your own beside the ones the release trusts, so a TEE no release lists can be used by the people who trust it. When a node meets a build it does not accept, the refusal ends with that build's entry, ready to paste into the file.
Full Changelog: v0.7.0...v0.7.1