upvote
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.

reply
> 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.

reply
Absolutely. My point is just that there is no way to both allow an agent to have any kind of access to sensitive info and have a guarantee that it can't divulge this information to attackers (even to the extent that we would 100% trust that every piece of sandbox code is vulnerability-free). You can take steps to reduce this risk, mitigate, detect, etc - but not eliminate it entirely as the previous user was claiming.

Or, again, you can eliminate this risk entirely by only deploying agents that can only access exactly what the user they're talking to can access directly themselves, and absolutely nothing else. So, the agent is just a better UI than can't offer the user any extra service than what the user could do themselves, it can just better guide them through the process.

reply
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
reply
That's a fair assessment. But it prevents using agents for many of the most popularly discussed use cases - personal assistants, customer support, etc.
reply
A lot of people are going to rediscover security lessons from the past in this "YOLO everything with agents" world.
reply
I agree - I think large amounts of the risk is mitigated through the appropriate permissioning of boundaries between your agent and the external world.

Trivial example: if you have an support agent that can issue refunds, and have business rules around when refund is allowed you need to surface an API that enforces said rules to the agent, and have a fallback/human escalation for any situations that can't be judged through deterministic business logic. This essentially reduces the agents job to intent recognition and dispatch of well defined business processes.

reply
The important thing is that a bounded amount of error is acceptable. If you figure out the average amount refunded is A and the variance is V, you can both build in a stop loss per-day (probably a lot cheaper than waiting till you have a perfect safety system, even if triggered a few times!) and use statistical process control to detect when averages shift (which could be a malicious actor you can find in your traces… or could be a decrease in product quality or change in market!)
reply
The jailbreak could theoretically break those guardrails if they rely on an llm model as well. However that’s hard to achieve, especially if using multiple guardrails that have LLMs coming from different vendors.
reply
the jailbreak could break the agent itself. But the guardrail is not an instruction in the agent itself. It’s another system, looking over that agent, and can terminate its task immediately. The client has no way to interact with the guardrail system, so there’s no room for jailbreaking it. The most they can do is jailbreak the agent. The guardrail is another system, monitoring it.
reply
Good luck, I'm behind 7 proxies!
reply
[dead]
reply
How sure are you that a rogue AI agent won't be able to bypass whatever sandbox you put it in? Almost no system runs in a vacuum, and for many tasks you still need some form of internet connection.
reply
Runtime guardrails, monitoring everything on the sandbox. Agent can’t see them. They act upon sus activity
reply
Seems like setting up a firewall or normal containers. In theory you can prevent all sorts of things, but in practice people commonly misconfigure something or the other leaving an opening.
reply
Agreed. So we’re back to the same status quo we had before the agentic revolution => Robust security measures. Same thing today, but different systems!
reply
"the agentic revolution"

more like the

"the vibe-security revolution"

reply
This is hilarious and an example of "defense in depth." Guardrails monitor responses what if the agent just hides them? "credential brokering... so that the model cannot have real access to any sensitive information" so you still give it credentials and give it sensitive information? You just give credentials a short expiry or something? not going to work.

"The moment it performs something that should not be performed, the guardrais should stop and raise a red flag"

Ok so after bad things happen you could mitigate it? Hilarious.

reply
Ok, you need to learn some terms here. Credential brokering systems work like this: if your agent wants to request x.com but it requires an API key, first it requests our brokering system, the system adds the api key and only returns the response to the model. => Model will never access/see the “sensitive info”.

Advanced guardrails PREVENTS the agent from doing something before it does it. Ex: agent wants to do an action that requires a browser/db search etc -> passes by the guardrail, guardrail performs it, gets back to the agent with responses. Clear for you?

reply
Oh I understand what you meant by "credential brokering system." If you think hiding some api keys is going to save you from misbehaving or exploited agents, good luck.

Hey man, you said it yourself, when your agent does something bad eventually, at least you will have the logs to prove it in your lawsuit against open-ai. At least as long as you can financially support that lawsuit.

reply
Man, this same system is being used by anthropic, meta & openAI. Do your research. Lawsuit against open-ai? You’re the kind of guy who believes all models are craving crime? I’ve been deploying agents to boost my team’s productivity for the past 3 years. I never saw an agent hacking something, neither dealing drugs. Own your guardrails, prepare your sandboxes, and get ready psychologically, the following years will be filled with surprises!
reply