Three agents, one bucket, three access points
Three agents share one bucket as a workspace. Agent A writes under agents/a/. Agent B gets prompt-injected and tries to overwrite agents/a/report.md. If every agent mounts the same S3 Files root with the same IAM role, that write succeeds. The model did not need a new exploit. It needed a filesystem and a confused deputy (a helper that acts with too much power on someone else's behalf).
The fix I want in production is two controls that close different paths:
- Amazon S3 Files access points with roots that do not overlap, so the NFS mount Agent B sees cannot leave its tree.
- AWS STS
GetScopedCredentials, so the temporary credentials Agent B holds cannotPutObjectinto Agent A's prefix over the S3 API.
Access points alone are not enough. Scoped STS alone is not enough if the agent still has a mount that sees the whole tree. Pair them.
Related:
