Keeping the LLM away from the tools: a boundary design that survived injection tests
Revibed69 · reddit · 2026-11-13
An open-source local-LLM app builder follows the rule "AI summarizes, code calculates," validated across six injection-test runs:
- The model only composes from a catalog; its output never touches the filesystem, commands, network, or settings writes — each pinned by tests.
- Built apps expose four tools: three reads and one save requiring user approval.
- Every number in a reply is checked against a tool result, after the model reported a filtered sum as a total.
- "Done" lines are computed from spec diffs, never from the model's own summary, since it kept claiming unfinished work.
- Injected records got nothing written without approval in all six runs.
Boundary doc and tests are public; the author solicits criticism of the threat model.
More from coding & agent
- Replit Agent can now buy supplies via Link and Visa and run Google Ads for your business — amasad · 2026-11-13
- 2-bit DeepSeek V4.1 Flash runs a coding-agent seat on two 2016 V100s: a 12-hour real-work trial — a4mula · 2026-11-13
- GitHub's practical guide to agent skills: build once, run on any agent — GitHub Blog AI/ML · 2026-11-13
- Your vibe-coded app can face six-figure fines before its first sale: 6 legal traps — aakashgupta · 2026-11-13
- Claude Code as a video editor: one command picks, cuts and captions your clips — aakashgupta · 2026-11-13
- Gigi brings the 'access graph' to ChatGPT, Claude and Grok so agents can broker your intros — _AustinCalvert_ · 2026-11-13