You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: t3 v0.1.6-nightly.20261031.3956 (Linux server browser, headless preview tab)
What happens
preview_snapshot returns networkEntries with full request URLs. When a page signs in through a redirect that carries a session credential in the query string, that credential is returned to the agent unredacted.
Observed with Salesforce: after a normal sign-in, Salesforce's own frontdoor.jsp step requests https://<org>.file.force.com/secur/contentDoor?...&sid=<full session id>.... That URL appears verbatim in preview_snapshot.networkEntries, so the live session ID lands in the model context, the transcript and any logs. The same pattern exists for OAuth (code=, access_token= in fragments), magic links and one-time URLs (otp=, token=).
Steps
Open a preview tab and sign in to any site whose sign-in hop puts a session value in a URL (Salesforce frontdoor.jsp is a reliable example).
Navigate to a small page so the network list is not truncated.
Call preview_snapshot and read networkEntries.
Expected
Credential-shaped query and fragment parameters are redacted before any preview tool returns a URL to the agent, for example sid, session, otp, code, token, access_token, id_token, refresh_token, password, secret, key, signature, X-Amz-Signature. A value like sid=[redacted] keeps the entry useful.
Request
Redact those parameters in networkEntries (and, please check, in navigation results, preview_wait_for URL matches and action timelines, which also echo URLs).
Optionally, a preview_snapshot option to leave out network entries entirely.
Until then we tell agents not to call preview_snapshot on signed-in tabs of such sites, which also blocks screenshots there.
Activity