Hacker News new | ask | show | jobs
by grey-area 18 days ago
You can't magically add fine-grained access controls if a service doesn't have them.

This is adding an allow/deny popup on your phone to agent activity based on the interpretation of an LLM as to whether a given command is risky. That's a very different thing from actual access controls which really deny access to certain pathways, it's an attempt to plaster over both the lack of real access controls and the tendency of LLMs to bypass them.

If your agent is sufficiently motivated, it may choose to bypass these controls, by mistake or on purpose and you would never know, it would not be too hard to do.

1 comments

No, this is absolutely not that. It is a deterministic ACL that you set up, that actualy denies access to certain (most, the only ones it accepts are ones you explicitly allow) pathways, exactly as you're describing. The agent does not do the interpretation, the most it can do is specify the reason for what it's doing.

KeyContain will deterministically look at your request, if it's on the list of built-in services it supports, and tell you what that request is doing in human language. And you can always inspect the raw request.

Are you intercepting network traffic then only allow-listing certain paths/params?
"intercept" is too strong because we are not at the network layer. Your agent has to choose to use our service. But in practice, the only key in the agent's environment is the keycontain one, so yes, it has no other way to get to any service except through keycontain. And yes we whitelist specific paths/params (completely configurable), and you decide the level of risk you're willing to take.

For low-risk operations, you can just give your agent free access. For high risk ones (as defined by your deterministic acls), you can require it to confirm with you before allowing the request through.

And for any of the built-in services keycontain supports, it will give you a (deterministic) plain English explanation of what the request will do. For anything not built in, you have to manually inspect the raw request.