Kestrom IFC
by CAPH TECH · Tool · Text & code
Controls what a local language model can reveal while it writes, swapping out tokens that leak secrets from private context, on Apple Silicon Macs.
Latest · Nov 24Added new kestrom ifc command (PR #25) doing information-flow control during local LLM decoding without changing model weights
AccessOpen codeRuns onmacOSLicensePolyForm (free for businesses under 100 people, non-commercial, or 31-day trial; otherwise commercial license)
Evidence
- Nov 24ifc control writes control fields (tool, recipient, approval) from a blinded copy of the model and hands over to the full-context copy only for the summary fieldMaker's claim
rizumita - Nov 24ifc firewall compares next-token log-probabilities of a secret-reading copy and a public-only copy, swapping tokens whose lift reaches 2.0 nats; no banned-word list neededMaker's claim
rizumita - Nov 24Attack-email summary quality hits went 26/30 to 27/30 (Qwen3.5-0.8B) and 26/30 to 28/30 (Qwen3.5-4B) with ifc controlMaker's claim
rizumita - Nov 24ifc control fast mode runs Qwen3.5-4B at 1.09x the plain model's time (50.1s vs 45.9s over 40 tasks); Qwen3.5-0.8B 1.43x (17.5s vs 12.2s)Maker's claim
rizumita - Nov 24ifc firewall on 24 mixed-secret summaries (TAU=2.0): Qwen3.5-0.8B leaks fell from 21/24 to 0/24, Qwen3.5-4B from 2/24 to 0/24, without a banned-word listMaker's claim
rizumita
Show all 8
- Nov 24strict-public mode output matched a secret-free run bit for bit on 24/24 questions, and all verification reports regenerated in a separate process matched byte for byteMaker's claim
rizumita - Nov 24Limits: gated-public firewall and audit mode cost about 1.7-1.9x in BF16 MLX; 4-bit and llama.cpp speeds untested; only Apple Silicon, greedy decoding, own Japanese benchmarkMaker's claim
rizumita - Nov 24ifc control only helps when control fields are decidable without reading external data; zero leaks does not guarantee text quality (some 0.8B outputs collapsed to repeating a header)Maker's claim
rizumita
Cost to run
Alternatives
Works with