yanosh_kunsh
I'm using opencode as a coding agent and I've added a custom plugin that implements an .aiexclude check (gist (https://gist.github.com/yanosh-k/09965770f37b3102c22bdf5c59a...)) before tool calls. No matter how good the checks are, on the 5th or 6th attempt a determined prompt can make the agent read a secret — but that only happens if reading secrets is the explicit goal. When I'm not specifically prompting it to extract secrets, the plugin reliably prevents the agent from reading them during normal coding work.
My threat model isn't a motivated attacker — it's accidental ingestion.
That's also why I think this should be a built-in feature of coding agents — though I understand the hesitation: if it can't guarantee 100% coverage, shipping it as a native safeguard risks giving users a false sense of security, which may be harder to manage than not having it at all.
Demo: https://yanosh.net/units-wasm/ GitHub Repo for the demo: https://github.com/yanosh-k/units-wasm GitHub Repo for the WASM project: https://github.com/yanosh-k/gnu-wasmunits
Show HN: UnitsWASM – A WASM port of the popular GNU Units command line tool
https://yanosh.net/units-wasm/
This is a personal project born from the need to have a good (free and open-source) units convertor on my phone (hence the UI; I now use it as a Cordova app). The short story is that there was a time when I was converting from inches to centimeters very often, and the tool that I used for doing so was a simple DuckDuckGo search like this: "5 inch to cm". I got tiered of that and thought "It...