frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Rampart – Open-source firewall for AI agents (v0.8)

https://rampart.sh/
2•trevxr•2h ago

Comments

trevxr•2h ago
Hi HN, I posted Rampart here a few weeks ago. Since then it's gone from v0.1 to v0.8.6 with some substantial changes, so I wanted to share an update.

Rampart is a policy engine that sits between AI coding agents (Claude Code, Codex, Cursor, Cline, OpenClaw etc.) and your operating system. Every shell command, file operation, and MCP tool call gets evaluated against your rules before it executes. Denied actions never run.

What's new since last time:

- Response scanning: blocks credentials (AWS keys, SSH private keys, GitHub tokens) from entering the agent's context window. This is the gap most people miss: your .env file is inside your project folder, so directory sandboxing doesn't help. Rampart catches the secret in the tool response before the agent ever sees it.

- Temporary rules: `rampart allow "docker build " --for 1h` expires automatically. `--once` for single use. Useful when you need to unblock something without permanently weakening your policy.

-Policy from audit: `rampart init --from-audit` watches what your agent does in monitor mode and generates a policy to match. Easier than writing rules by hand.

- MCP proxy: `rampart mcp -- npx @server` enforces policy on any MCP server. `rampart mcp scan` auto-generates deny-by-default policy from a server's tool definitions.

- Native integrations: one-command setup for Claude Code (PreToolUse hooks), Codex (LD_PRELOAD), or any agent (shell wrapping).

Architecture: single Go binary, YAML policies, <10µs per evaluation, hash-chained audit trail. Intercepts via native agent hooks, LD_PRELOAD, $SHELL wrapping, or MCP proxy depending on the agent.

Some interesting things we found while dogfooding: agent runtimes wrap commands in `/bin/bash -c`, which broke our glob-based command matching (fixed in v0.8.6). Claude Code's enterprise sandbox uses bubblewrap with `--unshare-net` but restores network via a Unix socket proxy bridge — Rampart's hooks fire before the sandbox, so they're complementary. And our own self-modification protection caught the agent trying to run `rampart allow` to weaken its own rules during development.

Apache 2.0, no dependencies, ~58k lines of Go. Happy to answer questions about the architecture or threat model.

Show HN: What's my JND? – a colour guessing game

https://www.keithcirkel.co.uk/whats-my-jnd/?r=ARUjKP__-ve-
28•Keithamus•14h ago•25 comments

Show HN: How I Topped the HuggingFace Open LLM Leaderboard on Two Gaming GPUs

https://dnhkng.github.io/posts/rys/
260•dnhkng•10h ago•80 comments

Show HN: Modulus – Cross-repository knowledge orchestration for coding agents

https://modulus.so
5•dasubhajit•5h ago•0 comments

Show HN: Joha – a free browser-based drawing playground with preset shape tools

https://joha-app.pages.dev/
7•smlee•2d ago•0 comments

Show HN: Claude Code Token Elo

https://www.clauderank.com
5•ymaws•19h ago•2 comments

Show HN: Ash, an Agent Sandbox for Mac

https://ashell.dev
4•amsha•8h ago•3 comments

Show HN: 2D RPG base game client recreated in modern HTML5 game engine with AI

https://github.com/ErkoKnoll/helbreath-base-game
5•erkok•3h ago•2 comments

Show HN: DD Photos – open-source photo album site generator (Go and SvelteKit)

https://github.com/dougdonohoe/ddphotos
56•dougdonohoe•10h ago•17 comments

Show HN: Draxl, agent-native source code with stable AST node IDs

https://github.com/draxl-org/draxl
3•rndhouse•2h ago•0 comments

Show HN: I Was Here – Draw on street view, others can find your drawings

https://washere.live
59•mrktsm__•19h ago•44 comments

Show HN: A modern React onboarding tour library

https://github.com/btahir/react-tourlight
8•bilater•7h ago•1 comments

Show HN: A playable version of the Claude Code Terraform destroy incident

https://www.youbrokeprod.com
19•cdnsteve•9h ago•7 comments

Show HN: A retention mechanic for learning that isn't Duolingo manipulation?

https://www.dailylabs.co/
6•aidanadd•23h ago•4 comments

Show HN: Satellite imagery object detection using text prompts

https://www.useful-ai-tools.com/tools/satellite-analysis-demo/
7•eyasu6464•1d ago•1 comments

Show HN: KaraMagic – automatic karaoke video maker

https://karamagic.com/
2•godot•4h ago•0 comments

Show HN: The Mog Programming Language

https://moglang.org
161•belisarius222•1d ago•75 comments

Show HN: Don't share code. Share the prompt

https://openprompthub.com/#
2•jacomoRodriguez•5h ago•1 comments

Show HN: Remotely use my guitar tuner

https://realtuner.online/
247•smith-kyle•4d ago•59 comments

Show HN: DenchClaw – Local CRM on Top of OpenClaw

https://github.com/DenchHQ/DenchClaw
137•kumar_abhirup•1d ago•125 comments

Show HN: Rampart – Open-source firewall for AI agents (v0.8)

https://rampart.sh/
2•trevxr•2h ago•1 comments

Show HN: VS Code Agent Kanban: Task Management for the AI-Assisted Developer

https://www.appsoftware.com/blog/introducing-vs-code-agent-kanban-task-management-for-the-ai-assi...
93•gbro3n•1d ago•50 comments

Show HN: Agentic Data Analysis with Claude Code

https://rubenflamshepherd.com/articles/2026-03-09-agentic-data-analysis-with-claude-code
5•rubenflamshep•7h ago•0 comments

SHOW HN: A usage circuit breaker for Cloudflare Workers

17•ethan_zhao•10h ago•7 comments

Show HN: Hopalong Attractor. An old classic with a new perspective in 3D

https://github.com/ratwolfzero/hopalong_python
23•ratwolf•4d ago•2 comments

Show HN: Find Engineering Manager Jobs Efficiently

https://rolebeaver.com/
2•oah•9h ago•0 comments

Show HN: Skir – like Protocol Buffer but better

https://skir.build/
111•gepheum•2d ago•65 comments

Show HN: Get AI to write code that it can read

https://github.com/ELI7VH/wavelang
2•elijahlucian•9h ago•0 comments

Show HN: I built a real-time OSINT dashboard pulling 15 live global feeds

https://github.com/BigBodyCobain/Shadowbroker
304•vancecookcobxin•2d ago•120 comments

Show HN: An on-device Mac app for real-time posture reminders

https://apps.apple.com/us/app/ai-posture-reminder-app/id1574005886?mt=12
3•data-leon•3h ago•0 comments

Show HN: Smux – Terminal Multiplexer built for AI agents

https://github.com/gergomiklos/smux
5•garymiklos•10h ago•0 comments