Open-source WebAssembly policy gate, signed receipts, and 500 Docker-verified agent exploit evals
AI coding agents and robots now run real shell commands, edit live code, and move physical hardware. When an agent reads hidden malicious instructions inside a webpage or code repository, telling it to "be safe" in its prompt isn't enough. It can still leak private keys, delete files, or send a dangerous command.
To fix this, you need hard safety rules enforced outside the AI model itself. I'm building Lokahi (https://github.com/Dirgha-AI/lokahi), an open-source safety lock that sits between an AI agent and the computer or robot. Before any tool or motor command runs, Lokahi checks it in a fraction of a millisecond (under 0.2 ms) and blocks anything unapproved by default.
This grant funds a public, 500-task safety benchmark to test whether hard external locks actually stop real agent attacks better than prompt rules alone, and to harden Lokahi for everyday use.
The main goal is to build and release lokahi-sec-eval: 500 real, isolated coding-agent tests (running in Docker) covering hidden prompt injections, leaked secrets, and unsafe terminal or tool calls. I'll run both frontier and open-weight AI models through all 500 tests three ways: with no protection, with prompt-only safety rules, and behind Lokahi. Every test log and false-alarm rate will be published openly.
If funding goes past the $10,000 Sunlight tier toward the full goal, I'll add two upgrades:
OS-level enforcement: Wire Lokahi directly into the Linux operating system (via an eBPF syscall hook in Rust/Aya) so a rogue agent can't sneak around a Python or Node wrapper.
Offline safety models: Train two small local guard models (150M and 8B parameters) on the verified attack logs so developers can run extra security checks offline without sending code to cloud APIs.
You won't have to take my word for it. Anyone will be able to download the benchmark repo, run the 500 isolated tasks on their own machine, and see the exact pass/fail counts and speed numbers. For the extended roadmap, the OS-level hook will pass automated Linux tests without breaking normal coding agents, and both offline guard models (plus a list of where they fail) will be published on Hugging Face.
$5,000 (minimum): Add a local GPU to my current CPU-only 8 GB workstation ($1,500) and spend six weeks building the core test harness and first benchmark runs ($3,500).
$10,000 (Sunlight tier, 3 months): Finish all 500 verified attack tests, run the cross-model API comparisons, and publish the full report ($5,500 living costs in New Delhi, $3,000 API testing compute, $1,500 local GPU).
$35,000 (full 6-month goal): Six months of full-time runway ($16,500), hardware plus cloud GPU training for the two local guard models ($13,500), and the Linux OS-level hook plus an outside cryptographic review ($5,000).
I'm Salik Shah, building solo in New Delhi (https://salikshah.com, https://github.com/Dirgha-AI). Open-source contributor Sabin Ranjit helps with occasional security code reviews. Before this I spent 15+ years in product and growth, and I founded Mithila Review, an independent sci-fi journal that published over 200 writers across five continents.
Everything I've shipped so far has been built on zero outside funding:
Lokahi (https://github.com/Dirgha-AI/lokahi): Open-source Rust/WebAssembly policy gate, v1.3.0 live on PyPI, 872 passing CI tests, 50/50 on our internal attack suite with zero false positives across 200 normal calls.
Dirgha (https://github.com/Dirgha-AI/dirgha): Open-source terminal coding agent with 22,954 npm downloads on zero ad spend and 1,310 passing tests.
Arniko (https://github.com/Dirgha-AI/arniko): Offline Docker exploit checker with public OWASP benchmark scores at https://dirgha.ai/arniko/benchmarks (80.9% recall on Java, 15.7% on Python).
DEX ARM 01 (https://github.com/salikshah/dex-arm-01): Open-source robot arm simulation (500 Hz MuJoCo physics running in the browser via WebAssembly) with a public control policy on Hugging Face.
Simple static rules miss a lot of real security bugs (our 15.7% Python OWASP score shows that clearly), and any test suite only catches the kinds of attacks we think to write tests for.
On the extended goals, operating-system hooks (eBPF) can break across unusual container setups. If that turns into a time sink, I'll fall back to standard Linux sandboxing (bubblewrap and seccomp). Even if the small offline guard models disappoint, the core Lokahi safety lock and the 500-task public benchmark still stand on their own.
$0. Everything so far has been paid for out of pocket.
There are no bids on this project.
Comments
No comments yet. Sign in to create one!