Hacker News new | ask | show | jobs
by alanjm23 20 days ago
For our hosted version, the session runs in our hosted browser. For the open source, it runs on a local browser.

In the hosted version, users can choose to pass logins at runtime or store them in our vault. Once a user logs in, we keep their session as a Chrome profile and attach it to a sticky IP, so that they stay logged in for longer.

Deterministic tools return only the structured fields, and don't parse the whole browser DOM. Since tools are deterministic, we also reduce the risk of prompt injections.

1 comments

One caveat on "deterministic tools reduce the risk of prompt injections": returning only structured fields does close the arbitrary-DOM channel, but any field that holds text written by someone else (a review, a message subject, a claim note, a payee name, a product description) is still an injection path. The string lands in the agent's context the same way page text would.

A few things that help there: give those fields a schema with a max length and, where you can, a pattern or enum, so a "name" can't carry a paragraph. Say in the tool description that the value is third-party data, not instructions. And keep the tools that read separate from the tools that write, or put the irreversible ones (payments, claim submissions) behind a human approval whatever the model says, since that still holds if an injection does get through.

Curious whether any of that happens at the schema level on your side, or whether it's left to the calling agent.