HackerTrans
TopNewTrendsCommentsPastAskShowJobs

samkim

no profile record

Submissions

Show HN: Spicedb-dev. Claude Code plugin that adds authorization as you build

github.com
5 points·by samkim·قبل 3 أشهر·0 comments

Show HN: A kids book that introduces authorization and permissions concepts

authzed.com
11 points·by samkim·قبل 7 أشهر·1 comments

Extended T: Augment your design craft with AI tools

authzed.com
3 points·by samkim·قبل 9 أشهر·1 comments

comments

samkim
·قبل 5 أشهر·discuss
Ultimately a prompt injection attack is trying to get the agent to do something it wasn't intended to do and if you have the appropriate sandboxing and authorization in place, a compromised agent won't be able to actually execute the exploits
samkim
·قبل 5 أشهر·discuss
Agreed, sandboxing is only part of agent security. Authorization (what data the agent can access and what tools it can execute) is also a big part of it.

I've found primer on agent sandboxes [0] is a great reference on sandboxing options and the trade-offs

For agents there's a tension between level of restriction and utility. I think a large part of OpenClaw's popularity is that the lack of restriction by default has helped people see the potential utility of agents. But any agent that isn't just for trying things out requires consideration of what it should and should not be able to do and from there the decision around the best combination of sandboxing and authorization.

At work, we've found it helpful to distinguish coding agents vs product agents. Coding agents have the ability to add new execution paths by pulling in external code or writing their own code to run. Product agents have a strictly defined set of tools and the runtime prevents them from executing anything beyond that definition. This distinction helps us reason about what sandboxing is required.

For data permissions it's trickier. MCP uses OAuth for authentication but each server can have different expectations for access to the external service. Some servers let you use a service account where you can narrow the scope of access but others assume a token minted from an admin account which means the MCP server might have access to things beyond what the agent using the server should.

So for that, we have an MCP proxy that lets us define custom permissions for every tool and resource, and at runtime makes permission checks to ensure the agent only gets access to the subset of things we define ahead of time. (We're using SpiceDB to implement the authorization logic and checks) This works well for product agents because they can't add new execution paths. For coding agents, we've tinkered with plugins/skills to try to do the same but ultimately they can build their way around authorization layers that aren't part of the runtime system so it's something we're still trying to figure out.

---

[0] https://www.luiscardoso.dev/blog/sandboxes-for-ai
samkim
·قبل 7 أشهر·discuss
One of the discussions we had in our slack was that the introduction of the New Enemy Problem on page 21 may be oversimplified. It currently relies on an unwritten assumption that the contents of the room change between days or that the previously granted permission was revoked. However, we figured setting the scenario and leaving a note that grownups could easily google for more info would be an ok tradeoff.
samkim
·قبل 9 أشهر·discuss
Here's a Dibs sculpture in real life: https://photos.app.goo.gl/JgqEa5Go7t7m3wAB9

My team happened to win one of the hackathon prizes and can confirm they turned out really well.