frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AgentPort – Open-source Security Gateway For Agents

https://agentport.sh/
4•yakkomajuri•1h ago
Hey HN!

I've been wanting to use something like OpenClaw for a while but couldn't get myself to give it access to anything important due to all the risks involved. Prompt injection is still a problem (even though some people seem to ignore it) and so are hallucinations and mishaps that cause agents to do things like delete production data [1].

Even harnesses like Claude Code and Codex are subject to this, particularly since we're getting progressively looser about how we run them e.g. Conductor is really popular and runs agents without any sandboxing.

That means we're in a bit of an all-or-nothing situation. There are people who just ignore the risks and connect everything to their agents and reap benefits from it while being subject to more risk, and there are others that just don't connect anything because they are mindful of the potential issues.

I've been quite cautious but have wanted to run more autonomous agents and so I built the component I needed to enable me to do so: AgentPort.

AgentPort is a gateway that connects to any service (e.g. Gmail, GitHub, Stripe, PostHog, Linear) and let's you set granular permissions for what the agent can do automatically, what it needs your approval for, and what it can never do.

For example, you can set `list_customers` and `get_customer` on the Stripe integration to "Auto-approve" but `create_refund` to "Ask for approval". The agent will thus be able to do a lot in the background independently but when it comes to a potentially destructive operation it will be blocked and receive an approval link to send to you. You can then approve or deny the call with those exact parameters e.g. `create_refund(customer_id: 1234, amount: 12)`.

Agents connect via MCP or CLI and have access to all the integrations you connected without ever getting API keys. Kind of like Composio but with granular permissions and open source.

The goal with AgentPort is to specifically address two vulnerabilities that agents are subject to:

1. Destructive operations on downstream services: It can't delete a database unless you explicitly approve 2. Credential exfiltration: Your agent never sees API keys

AgentPort also helps with sensitive data exfiltration, but that is more nuanced and complicated to defend against if the agent has an internet connection [2].

Ultimately, AgentPort was the missing piece for me to start running more autonomous agents that have access to third-party services, and hopefully it can unlock use cases for you too. There's a ton more work needed around securing agents (Claws in particular) and I've both been writing about it [3] and intend to do more in this space, so if you're thinking about similar things let's have a chat.

The repo is https://github.com/yakkomajuri/agentport and you can run it locally with docker compose in a minute or use the one-liner install to deploy a prod instance (domain, TLS, etc.) in just a few mins as well.

[1] "An AI agent deleted our production database. The agent's confession is below" (https://news.ycombinator.com/item?id=47911524)

[2] See my post "On agents dropping production databases": https://yakko.dev/blog/on-agents-dropping-production-dbs

[3] https://yakko.dev/blog

Comments

yakkomajuri•1h ago
OP here. Happy to answer any questions. Security for autonomous agents/claws is a deep rabbit hole that I've jumped into and I'm really interested in having open discussions about how people are approaching it.

Fast VPS ≠ reliable: we tested 24/7 workloads – consistency beat peak speed

https://webbynode.com/articles/vps-agent-workloads-consistency-vs-speed
1•gsgreen•1m ago•0 comments

Platform Engineer (Security), DevSecOps Engineer and Full-Stack Product Engineer

1•DevUp•1m ago•0 comments

Polycrisis

https://en.wikipedia.org/wiki/Polycrisis
1•consumer451•1m ago•0 comments

I Had Near 100% Test Coverage. It Didn't Matter

https://blog.reqproof.com/p/i-had-near-100-test-coverage-it-didnt
1•LeonidBugaev•3m ago•0 comments

Australia moves to tax Meta, Google and TikTok to fund newsrooms

https://halifax.citynews.ca/2026/04/28/australia-moves-to-tax-meta-google-and-tiktok-to-fund-news...
1•1vuio0pswjnm7•4m ago•0 comments

Kon-Tiki Set Sail 79 Years Ago Today

https://nautil.us/kon-tiki-set-sail-79-years-ago-today-1280285
2•Brajeshwar•5m ago•0 comments

Unveiling Eighth Generation TPUs

https://twitter.com/GoogleAI/status/2049546885371670895
1•cmitsakis•5m ago•0 comments

Show HN: Verifying AWS Costs Deterministically with Z3 SMT Solver (WASM)

https://github.com/KLOUCEO/klou-verify
1•marcosjunior•6m ago•0 comments

Show HN: Open-source background computer use for Windows agents

https://github.com/voctory/trope-cua
1•voc•6m ago•0 comments

Monk – A market research dashboard for traders

https://monk.trade
1•vishr•7m ago•0 comments

I do pixel math properly [video]

https://www.youtube.com/watch?v=eWUDoms2iJo
1•superMayo•7m ago•0 comments

Lumai Productizes Lens-Based Optical Computer

https://www.eetimes.com/lumai-productizes-lens-based-optical-computer/
1•mindcrime•7m ago•0 comments

Partial UDF Inlining

https://doi.org/10.1145/3810900.3810914
2•matt_d•9m ago•0 comments

Ask HN: What happened to the open hardware movement?

2•goy•10m ago•0 comments

Self-Managing Repository Framework

https://www.npmjs.com/package/prac-kit
1•pdavisjones•12m ago•0 comments

A free diver visited the Strait of Hormuz. Here's what he saw

https://www.npr.org/2026/04/26/nx-s1-5795819/a-free-diver-visited-the-strait-of-hormuz-heres-what...
1•bookofjoe•14m ago•0 comments

Artemis II Photo Timeline

https://artemistimeline.com/
1•marvinborner•14m ago•0 comments

Robot dogs with Musk and Zuckerberg heads roam around Berlin museum

https://apnews.com/article/germany-berlin-robot-dogs-beeple-bezos-digital-art-4a2be2a4a4490553ad6...
1•stared•18m ago•1 comments

Heads we win, tails you lose – AI detectors in education

https://gwolf.org/2026/04/heads-we-win-tails-you-lose-ai-detectors-in-education.html
1•speckx•18m ago•0 comments

Ramp's Sheets AI Exfiltrates Financials

https://www.promptarmor.com/resources/ramps-sheets-ai-exfiltrates-financials
2•takira•18m ago•0 comments

'The biggest decision yet': Jared Kaplan on allowing AI to train itself

https://www.theguardian.com/technology/ng-interactive/2025/dec/02/jared-kaplan-artificial-intelli...
1•reducesuffering•19m ago•0 comments

Our Eyes Originated in a 600M-Year-Old Cyclops

https://nautil.us/our-eyes-originated-in-a-600-million-year-old-cyclops-1280279
1•Brajeshwar•19m ago•0 comments

Copy Fail: 732 Bytes to Root on Every Major Linux Distributions

https://xint.io/blog/copy-fail-linux-distributions
2•fratellobigio•20m ago•0 comments

Portability Problems: Syncing Coding Agent State Across Machines

https://www.omnara.com/blog/sandbox-sync
1•cmsparks•20m ago•0 comments

Terry Pratchett's Discworld, by those who knew him

https://inews.co.uk/culture/books/inside-story-terry-pratchett-discworld-those-knew-him-4373899
1•fanf2•21m ago•0 comments

ByteSize is to newsletter what a warm fresh croissant is to a morning coffee

1•elsadek•21m ago•0 comments

Apple cofounder Ronald Wayne–whose would be worth $400B, has no regrets

https://fortune.com/2026/04/27/apple-cofounder-ronald-wayne-missed-billionaire-opportunity-no-reg...
1•paulpauper•21m ago•0 comments

Your suffering is a compass. Here’s how to read it.

https://bigthink.com/series/full-interview/true-happiness-maturity/
1•lschueller•23m ago•0 comments

(One) Good AI Is Here

https://www.anildash.com/2026/04/28/one-good-ai-is-here/
1•SLHamlet•23m ago•0 comments

ByteSize is to newsletter what a warm fresh croissant is to a morning coffee

https://e-e.beehiiv.com/subscribe
1•elsadek•24m ago•0 comments