0 karma · joined Nov 23, 2022 (4y ago) · 24 submissions
comment 1mo ago · link · parent
Implementation and examples: https://github.com/stashbase/cli/releases/tag/v0.22.0
comment 1mo ago · link · parent
We are building https://stashbase.dev for coding agents, and that’s been the tricky part: a rule needs a place where access can actually be blocked. With local processes you can restrict filesystem and network access; with external services you need control over the credentials or even request path.
Also I think that most "hard" agent permissions and rules should be enforce outside of the model because if the agent is "self-learning" there's a chance it can learn to do something that should not be done. This is a direction we are taking, permission profiles and access that wrap the agents.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Do you think it would make sense to add something like rules for JSON content for plain HTTP requests and argument rules for MCP tool calls?
comment 1mo ago · link · parent
Still leaves the problem of an allowed request being a bad idea. Giving an agent access to a send-mail endpoint is a fairly big grant, even if it never sees the token. Which Google operations would you actually want to give it?
comment 1mo ago · link · parent
The awkward part is deciding how narrow to make those rules. An allowed endpoint can still do something you didn’t want. Are method/path restrictions enough for your use case?