frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Bulwark – Open-source governance layer for AI agents (Rust, MCP-native)

https://github.com/bpolania/bulwark
2•bpolania•1h ago
Hi HN!

I built Bulwark because I kept running into the same problem: I need to give AI agents access to my GitHub token, my AWS credentials, my database access, etc. They can do anything I can do. And when something goes wrong, there's no audit trail.

Bulwark is a governance proxy that sits between agents and the tools they call. It works as an MCP gateway (for Claude Code, OpenClaw) or as an HTTP forward proxy (for Codex, curl). Every request goes through:

Session validation → Content inspection → Policy evaluation → Credential injection → Audit logging

The key ideas:

- Agents never see real secrets. They authenticate with a scoped session token. Bulwark injects the real credentials at the last mile, based on tool pattern + scope.

- Policies are YAML. Glob matching, scope-based precedence, hot-reload. Default deny. You can preview the impact of policy changes against real audit history before deploying (bulwark policy test).

- Tamper-evident audit. Every event is blake3 hash-chained in SQLite. You can reconstruct exactly what an agent did and verify nothing was modified.

- Content inspection. 13 built-in patterns scan both directions for AWS keys, PII, prompt injection. Redaction happens before content reaches the agent.

Technical details: 11 Rust crates, 409 tests, zero clippy warnings. Policy evaluation is sub-millisecond (in-memory, lock-free hot-reload via ArcSwap). Credentials encrypted with age. Built on hyper 1.x, rustls, tokio.

Install: brew install bpolania/tap/bulwark

The README has a 5-minute quickstart that connects Claude Code to GitHub through Bulwark. Happy to answer questions about the architecture, threat model, or MCP integration.

Comments

verdverm•1h ago
If you can do this with Ai so easily, why do I want to use yours instead of the one my Ai generates?
bpolania•41m ago
Fair question. Yes, you can absolutely generate a basic proxy with an LLM, the gap is in the stuff that's hard to get right and boring to maintain. Policy hot-reload without dropping in-flight requests (ArcSwap, not "restart the process"). Tamper-evident audit with blake3 hash chains, not just append-only logs. Credential injection where the agent process literally never sees the secret, not env vars. Content inspection that runs bidirectionally without buffering entire responses into memory. Correct TLS MITM for the HTTP proxy mode with dynamic per-host certs. An LLM will generate something that works for a demo. We created 409 tests including property-based testing with proptest, because the failure modes in a security proxy are subtle, off-by-one in glob matching, race conditions in policy reload, Content-Length mismatches after redaction. Same reason, for example, you use nginx instead of asking your AI to write an HTTP server. The first 80% is easy. The last 20% is where credentials leak.
verdverm•19m ago
This is ai slop, likely automated, which against HN rules

If your Ai can do all of this, so can mine

umairnadeem123•1h ago
governance for agents feels like it needs 3 primitives: allowlist tool access, budgeted retries/backoff, and an audit log you can diff.

how are you thinking about idempotency? most failures ive seen are agents retrying side effects (double charges, double posts). curious if bulwark enforces a request id / dedupe layer or just observes.

bpolania•46m ago
Yes! You are right about the three primitives and that's basically Bulwark's core loop.

On idempotency: right now Bulwark observes but doesn't enforce dedupe. Every request gets a unique event ID in the audit log, and you can see retries in the session timeline, but there's no automatic "this looks like the same create_issue call from 2 seconds ago, block it."

It's on the roadmap and I think it needs to be two things: (1) a configurable dedupe window per tool pattern (you want it for create_charge but not for list_issues), and (2) content-aware hashing so it's not just "same tool + same action" but "same tool + same action + same arguments within N seconds."

The tricky part is that some tools are intentionally non-idempotent, posting the same Slack message twice might be deliberate. So it probably needs to be opt-in per rule rather than global. Would love to hear what patterns you've seen cause the worst double-fires.

Show HN: The first financial intelligence MCP server live trading signals Claude

https://web-production-71423.up.railway.app/mcp-server
1•Shmungus•3m ago•0 comments

Show HN: Forage – MCP server that lets AI agents find and install their own MCPs

https://github.com/isaac-levine/forage
1•DoomedWheel1027•4m ago•1 comments

AI as Exoskeleton

https://clabs.org/blog/AiAsExoskeleton
1•the_chrismo•7m ago•1 comments

A.I. Salaries Are Causing Couples to Rethink Money in Relationships

https://www.nytimes.com/2026/02/14/business/artificial-intelligence-relationships-income-gap.html
1•mooreds•11m ago•0 comments

Sub-second volumetric 3D printing by synthesis of holographic light fields

https://www.nature.com/articles/s41586-026-10114-5
2•westurner•13m ago•0 comments

EU bans AI use on government work devices

https://www.neowin.net/news/eu-parliament-bans-ai-use-on-government-work-devices/
2•bundie•14m ago•1 comments

Filkoll – The fastest command-not-found handler (2025)

https://vorpal.se/posts/2025/mar/25/filkoll-the-fastest-command-not-found-handler/
1•crispinh•16m ago•0 comments

The Death of Traditional Testing

https://engineering.fb.com/2026/02/11/developer-tools/the-death-of-traditional-testing-agentic-de...
1•manveerc•19m ago•0 comments

Apple Begins Testing End-to-End Encryption for RCS Messages in iOS 26.4 Beta

https://www.macrumors.com/2026/02/16/ios-26-4-rcs-encryption-testing/
4•contact9879•19m ago•0 comments

Meta is wrong to try to sneak into facial recognition with Ray-Ban glasses

https://www.bloomberg.com/opinion/articles/2026-02-16/meta-is-wrong-to-try-to-sneak-into-facial-r...
2•socialcommenter•21m ago•4 comments

Access public data insights faster: Data Commons MCP is now hosted on GCloud

https://developers.googleblog.com/access-public-data-insights-faster-data-commons-mcp-is-now-host...
2•manveerc•23m ago•1 comments

I built a tool for software developers

https://techstack.sh/
2•harrypotterwish•25m ago•1 comments

Frederick Wiseman, 96, Penetrating Documentarian of Institutions, Dies

https://www.nytimes.com/2026/02/16/movies/frederick-wiseman-dead.html
2•mhb•28m ago•0 comments

Poor Deming never stood a chance

https://surfingcomplexity.blog/2026/02/16/poor-deming-never-stood-a-chance/
2•todsacerdoti•29m ago•0 comments

Introducing Package Chaos Monkey

https://nesbitt.io/2026/01/26/introducing-package-chaos-monkey.html
2•pabs3•33m ago•0 comments

Facing a demographic catastrophe, Ukraine is paying for troops to freeze sperm

https://www.bbc.com/news/articles/cqxd9549y4xo
12•tartoran•37m ago•1 comments

Fixapl

https://fixapl.netlify.app/
1•todsacerdoti•39m ago•0 comments

Show HN: Constrained DSL for Reliable LLM Decisions

https://github.com/myinvestpilot/ai-architecture/blob/main/docs/01_ai_native_primitives_engine.md
1•madawei2699•40m ago•1 comments

An AI CEO said something honest: ExperiencedDevs

https://old.reddit.com/r/ExperiencedDevs/comments/1r6olcv/an_ai_ceo_finally_said_something_honest/
7•ivewonyoung•43m ago•2 comments

Finding forall-exists Hyperbugs using Symbolic Execution

https://dl.acm.org/doi/full/10.1145/3689761
3•todsacerdoti•45m ago•0 comments

Amazon van gets stuck on Britain's 'most dangerous' mudflat path

https://www.theguardian.com/uk-news/2026/feb/16/amazon-van-stuck-britain-mudflat-path-broomway-th...
2•zeristor•45m ago•1 comments

25 Years of All Your Base Are Belong to Us (Slightly Remastered)

https://www.youtube.com/watch?v=orY1RztncqE
2•decimalenough•46m ago•3 comments

Thinking Hard Burns Almost No Calories–But Destroys Your Next Workout

https://vo2maxpro.com/blog/thinking-hard-burns-no-calories-destroys-workout
1•GoodluckH•47m ago•0 comments

Show HN: An Open-source React UI library for ASCII animations

https://github.com/zeke-john/rune
4•zekejohn•47m ago•3 comments

Ask HN: How's Business These Days for Fiverr Freelancers?

2•burnerToBetOut•48m ago•0 comments

Show HN: I graded 234 stocks on free cash flow (not earnings)

https://aureus-swart.vercel.app
2•babylonprince•49m ago•0 comments

Watching an elderly relative trying to use the modern web

7•ColinWright•49m ago•4 comments

Ask HN: What is something someone else did that made your day better?

2•blahaj•50m ago•1 comments

Show HN: OpenEntropy – 47 hardware entropy sources from your computer's physics

https://github.com/amenti-labs/openentropy
1•amentiflow•50m ago•0 comments

Shard – A Distributed P2P AI Network for Shared Inference

https://github.com/TrentPierce/Shard
1•tpierce89•51m ago•2 comments