logoalt Hacker News

tsimionescu • yesterday at 10:28 PM • 2 replies • view on HN

If some piece of information that the agent wants requires a credential to access, that automatically means that this piece of information is sensitive to some extent, right? So even if the agent itself can never see (and thus never leak) the credential, the same can't be said for the information obtained with said credential. Basically if an agent can take input from attackers, you should consider that every system that the agent can access is directly exposed to the same attackers. You have a credential brokering system? Cool - would you expose it directly to an attacker? If not, then you shouldn't expose it to a public agent either, since an attacker can always trick the agent into making that same request and returning the info it gets to the attacker.

So a public agent can only be safely deployed if it strictly has access to public information. An agent that can access sensitive internal information must only process information received from those who can also access that sensitive information - e.g. you can't have an agent that has access to payroll info that can also monitor emails that HR personnel receive from anyone else in the company, it must only be allowed to see/send email from/to those who already have access to the payroll info. This is very hard to get right, especially if you try to chain agents to any extent. And it also greatly reduces the usefulness of agentic systems.


Replies

jgilias • today at 12:15 AM

> since an attacker can always trick the agent into making that same request and returning the info it gets to the attacker

Theoretically, yes. If it’s a practical concern depends on a lot more - the model used, the harness used, how the attacker’s prompt is presented to the model, what instructions it has around it, if the harness implements any kind of a watcher/guardrail, how the model can retrieve the sensitive information, etc. All of this needs good evals to assess what’s the realistic residual risk and then it’s a business decision if that risk is acceptable in a given situation or not.

➕ show 1 reply
s_u_d_o • yesterday at 11:24 PM

Agreed, and for me that’s not an agentic credential brokering flaw, it’s a design issue. A public agent having access to sensitive information, regardless of how it accesses it, is flawed. The brokering system was designed to only prevent an agent going rogue with your credentials (saving it, abusing it etc…) and keep it away from attackers inside your org who would want to steak ur keys, and use them personally. The moment we decide that an agent has access to sensitive information, the first check we need to do is assess who has access to the agent itself + what functionalities that agent can do by itself. For me, this is a design issue, and accessibility issue that should be tackled initially

➕ show 1 reply