samkim
Show HN: Spicedb-dev. Claude Code plugin that adds authorization as you build
https://github.com/authzed/authzed-marketplace/tree/main/spicedb-dev
We built a Claude Code plugin that adds fine-grained authorization to apps. Works for creating new apps, adding features to existing apps, and migrating legacy authorization layers. The plugin helps design the permission model, write a SpiceDB schema, identify authorization points in the code base, generate SpiceDB client code, and test the authorization model.We designed the plugin around...
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.
---
Show HN: A kids book that introduces authorization and permissions concepts
https://authzed.com/resources/dibs-and-the-magic-library
A colleague and I made a kids' picture book that introduces authorization concepts.We work at AuthZed and explain these concepts regularly. We thought it'd be fun to put them together in a format accessible and appealing to kids and grownups alike. It would also be helpful when explaining what we do for work and make a unique gift for our families.The goal was a fun story first and foremost. We...
My team happened to win one of the hackathon prizes and can confirm they turned out really well.
Extended T: Augment your design craft with AI tools
Overall, developing on the M1 Macbook Pro has been great so far.
It was a bit of a process but once we got it working, developing on the M1 has been great. Captured notes on the process here in case it's helpful for anyone later: https://authzed.com/blog/onboarding-with-an-m1/