frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: ClawShield – Open-source security proxy for AI agents (Go, eBPF)

https://github.com/SleuthCo/clawshield-public
2•sleuthco•3h ago
Author here. ClawShield is a security proxy that sits in front of OpenClaw (open-source AI gateway) and scans all inbound/outbound messages.

The core is an HTTP/WebSocket reverse proxy in Go (~6k lines) with four scanners:

1. Prompt injection detection - three tiers: regex heuristics (role overrides, instruction injection, delimiter attacks, encoding attacks), structural analysis (base64-decoded instruction blocks, imperative verb density scoring), and canary token leak detection.

2. Secrets/PII scanning - regex argument filters applied to decoded JSON values (defeats unicode escape bypasses like \u0070assword).

3. Vulnerability scanning - SQLi (UNION, tautologies, blind with SLEEP/BENCHMARK), SSRF (private IPs, cloud metadata at 169.254.169.254, decimal/hex IP encoding, dangerous schemes like gopher://), path traversal (double URL-encoding, null bytes), command injection (shell metacharacters, backtick execution), XSS.

4. Malware detection - magic bytes for PE/ELF/Mach-O, YARA-like signature rules for reverse shells and C2 frameworks, archive bomb detection via compression ratio, Shannon entropy analysis.

Policy engine is deny-by-default YAML. You define tool allowlists, denylists, per-tool argument filters, domain allowlists, and per-agent/per-channel restrictions. Every decision is logged to SQLite.

Optional extras: iptables egress firewall (Go, generates validated rules from YAML) and eBPF kernel monitor (Python/BCC - traces execve, tcp_v4_connect, openat2, setuid for fork bomb/privesc/port scan detection).

Docker quickstart is 3 commands. Ten cross-compiled binaries on the release (proxy + setup wizard for linux/mac/windows, amd64/arm64).

We run this in production at clawshield.sleuthco.ai.

I built this because I was contributing security patches to OpenClaw and the netfilter suite and kept seeing the same gap: the AI ecosystem has sophisticated multi-agent routing but no standardized way to inspect and control what flows through it.

Happy to answer questions about the scanner architecture, policy engine, or threat model.

Comments

sleuthco•3h ago
Author here and available for discussion. Have a PR already that I need to review!

Show HN: Timber – Ollama for classical ML models, 336x faster than Python

https://github.com/kossisoroyce/timber
68•kossisoroyce•4h ago•7 comments

Show HN: I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs

https://github.com/cosmiciron/vmprint
16•cosmiciron•16h ago•7 comments

Show HN: Vibe Code your 3D Models

https://github.com/ierror/synaps-cad
33•burrnii•2d ago•10 comments

Show HN: OpenTamago – P2P GenAI Tamagotch

https://open.tamago.chat
2•boiling_eggs•59m ago•0 comments

Show HN: HN Bot Detector - Detects LLM-Generated Comments on Hacker News

https://github.com/umairnadeem/hn-bot-detector
4•umairnadeem123•1h ago•1 comments

Show HN: Logira – eBPF runtime auditing for AI agent runs

https://github.com/melonattacker/logira
13•melonattacker•5h ago•1 comments

Show HN: Audio Toolkit for Agents

https://github.com/shiehn/sas-audio-processor
55•stevehiehn•13h ago•9 comments

Show HN: Sun – Realtime voice agent for group conservation not just turn taking

https://www.getsun.io/
4•anand_pattern•3h ago•2 comments

Show HN: Now I Get It – Translate scientific papers into interactive webpages

https://nowigetit.us
288•jbdamask•1d ago•128 comments

Show HN: ClawShield – Open-source security proxy for AI agents (Go, eBPF)

https://github.com/SleuthCo/clawshield-public
2•sleuthco•3h ago•1 comments

Show HN: Vertex.js – A 1kloc SPA Framework

https://lukeb42.github.io/vertex-manual.html
30•LukeB42•17h ago•19 comments

Show HN: LightJJ – Web-Based UI for Jujutsu VCS

https://github.com/chronologos/lightjj
2•Chronologos•4h ago•0 comments

Show HN: MCP-firewall: I created a policy engine for CLI Agents

https://github.com/dzervas/mcp-firewall
2•ttouch•4h ago•0 comments

Show HN: Gala – Sealed types, pattern matching, and monads for Go

https://github.com/martianoff/gala
3•mmcodes•5h ago•2 comments

Show HN: I built speedmux, a libghostty-powered terminal multiplexer

https://github.com/webforspeed/speedmux
4•n89nanda•5h ago•1 comments

Show HN: Ductwork – A Go platform for running AI agents on autopilot

https://github.com/dneil5648/ductwork
4•dneil8675•6h ago•3 comments

Show HN: LocalRAG – Ask AI about your own documents (iOS/Android)

https://localrag.app
2•snakaya•7h ago•0 comments

Show HN: SwarmClaw – Orchestration dashboard for OpenClaw and AI agents

https://github.com/swarmclawai/swarmclaw
2•jamesweb•7h ago•1 comments

Show HN: Lightweight, S3-compatible object storage server with built-in web dash

https://github.com/eniz1806/VaultS3
6•open_source_new•7h ago•0 comments

Show HN: Updater – one command for macOS app updates

https://github.com/lu-zhengda/updater
3•zhengda-lu•8h ago•0 comments

Show HN: Deploybase – Compare GPU and LLM pricing across all major providers

https://deploybase.ai
3•grasper_•8h ago•0 comments

Show HN: Mrkd – A native macOS Markdown viewer with iTerm2/VSCode theme import

https://github.com/jahala/mrkd
3•jahala•8h ago•0 comments

Show HN: Unfucked - version all changes (by any tool) - local-first/source avail

https://www.unfudged.io/
136•cyrusradfar•3d ago•85 comments

Show HN: RetroTick – Run classic Windows EXEs in the browser

https://retrotick.com/
191•lqs_•2d ago•59 comments

Show HN: PraxisJS – signal-driven front end framework and AI experiment

https://praxisjs.org/
2•mateusgx•9h ago•0 comments

Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions

https://github.com/hjtenklooster/claude-file-recovery
97•rikk3rt•2d ago•41 comments

Show HN: SplatHash – A lightweight alternative to BlurHash and ThumbHash

https://github.com/junevm/splathash
59•unsorted2270•1d ago•20 comments

Show HN: Boucle – A self-dogfooding autonomous AI agent framework in Rus

https://github.com/Bande-a-Bonnot/Boucle-framework
2•ElFitz•11h ago•0 comments

Show HN: Spekkio: Reverse-engineer specs from vibe-coded apps

https://github.com/paulkarayan/spekkio
5•tessier0ashpool•11h ago•0 comments

Show HN: I built a tool that turns any API into a CLI for agents

https://instantcli.com
6•stugreen13•11h ago•9 comments