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