For the last month, every AI coding session on this machine ran under grith - intercepting 2,129,319 events across 29 days!
147
Replying to @DasNripanka
Checked the ancestry: 24 distinct parents, exactly 4 calls each, every one via its own /bin/sh, all 4 within ~20ms. Every run divides the same way (88/92/96/104/112 = 22-28 parents x 4). So: short-lived workers each running an uncached 4-property OS probe. The parents exit too fast to leave a spawn record, so naming the library needs a re-run with cmdline capture - on it.
7
Replying to @wunderwuzzi23
The neat part of this one is there's no injected prompt for a defence to see.. the trojan is data until "python -c" imports it.
The payload still has to cross the OS boundary eventually though - open the credential file, spawn the process, make the connect - and that's the layer where it stops being invisible. Great write-up!
75
Companion reading - the two traces behind the argument:
The strace benchmark (752 /proc/*/environ read attempts): grith.ai/blog/syscall-trace-…
The Codex credential sweep grith froze mid-syscall: grith.ai/blog/codex-credenti…
Repo (MPL-2.0): github.com/grith-ai/grith
1
21
Links:
Repo: github.com/grith-ai/grith
The strace benchmark (752 environ reads): grith.ai/blog/syscall-trace-…
The Codex credential sweep we caught: grith.ai/blog/codex-credenti…
Docs: docs.grith.ai
15
Open source, MPL-2.0, one static Rust binary. The security core is free forever: proxy, all 18 filters, supervisor, local audit trail, dashboard. No login, fully offline, bring your own model keys. Releases ship cosign signatures, SLSA provenance, and an SBOM.
curl -fsSL grith.ai/install | sh
Links in the reply. If you break it, I want the trace.
24
Honest scope: Linux only today - x86_64 and arm64 (the aarch64 port shipped in v0.2.4). macOS and Windows are v2.0 work. The CHANGELOG documents our own known bypass classes rather than pretending they do not exist.
We dogfood it. In July a Codex session started sweeping my disk for credentials. grith froze it mid-sweep.
1
30
Every intercepted call is scored by 18 filters: secret patterns (1,618), sensitive paths, egress policy, destructive ops, taint tracking. Median scoring time: 0.017ms.
✓ ALLOW (under 3.0) runs
⏸ QUEUE (3.0 to 8.0) freezes the process for your review
⛔ DENY (over 8.0) gets EPERM injected
Nothing runs on a maybe.
1
6
grith is an OS-level supervisor. On Linux it uses ptrace plus a seccomp-BPF pre-filter, so the kernel only stops on the syscalls worth scoring and every child process inherits the filter.
The agent cannot route around a layer it does not know is there. Nothing to integrate, no SDK, no prompt.
1
32
The uncomfortable part of agentic coding: the agent approves its own actions. Claude, Codex, Aider and friends decide what is safe with a probabilistic model, then run it.
A poisoned README or one clever prompt injection, and the model that got fooled is the one holding the approve button.
1
36
My AI agents ran 1,059,826 tool calls in the last 7 days under Zero Trust supervision with grith - 15,428 queued for review or denied. grith.ai/s/GC7pN0TnF
29
Wait - is this even Codex, or is it malware?
grith.ai/blog/codex-credenti…
#codex #chatgpt #ai #aisecurity #anthropic @AnthropicAI
45
Replying to @ChatGPT
@ChatGPTapp Codex swept my whole disk for credentials. grith froze every real one.
grith.ai/blog/codex-credenti…
#codex #chatgpt #security #ai #aisecurity
40






