We ran into this building a password automation tool (thepassword.app). The solution: the AI orchestrates browser navigation, but actual credential values are injected locally and never enter the model's reasoning loop. Prompt injection can't exfiltrate what's not in the context.
As these tools move into enterprise settings, I expect we'll see more architectural patterns emerge for keeping sensitive data out of agentic workflows entirely.