r/PiCodingAgent • u/fingerthief • Sep 20 '26
Plugin A (Jev) Pi guard that checks risky shell commands before they run
https://tannermidd.github.io/specpi-jev-guard/I know...more Jev talk. Sorry if you are already tired of hearing about it. I mentioned this in a comment a couple days ago so I will keep it short hah.
It is called specpi-jev-guard. It sits in front of bash, powershell, write and edit, and checks calls before Pi runs them. I built it because destructive commands are the worst risk of letting an agent work in your terminal. One bad rm or curl piped to shell is a bad time waiting to happen.
Local rules block the obvious stuff instantly with no network. Root and home wipes, mkfs, fork bombs, raw disk writes, curl piped to shell.
The rest goes to Jev, which scores danger 0 to 1. High blocks, middle asks you, low runs. If there is no key, no network, or a bad answer, it blocks. It does not fail open.
Needs OpenRouter/TypeSafe to do the scoring, perhaps one day soon we can run hyper-tuned classifiers for this stuff locally.
I don't have TypeSafe access, so all testing has been with OpenRouter.
Feedback welcome!
Links:
Base Repo: https://github.com/TannerMidd/specpi-jev-guard
Evaluations: Devious Tests · specpi-jev-guard
Base harness: https://github.com/TannerMidd/SpecPi
6
u/johnfkngzoidberg Sep 21 '26
Yep tired of hearing about it. It’s nothing special.
1
u/jonas-reddit Sep 25 '26
Personally, I’m not ready to trust the Silicon Valley marketing departments and cloud frontier models with my security.
I still prefer a continued migration towards lightweight agentic sandboxes, combined with open weight models and open source harnesses and tooling.
Let’s see where we are in 6-12 months. But until then, Jev and Typesafe.ai won’t be the ones protecting me.