
- Distrust page instructions.
- Give the agent less access.
- Keep a human approval step before sending, buying, deleting, publishing, or changing access.
An AI browser can do more than summarize a page. It may open tabs, read a signed-in account, fill a form, upload a file, send a message, or press a button. That power can remove busywork. It also changes a bad answer into a possible bad action.
The main danger is not only a model making a mistake. A webpage, email, comment, document, or tool response can contain text designed to redirect the agent. This is called indirect prompt injection.
The page is not the boss. Keep control.
Use the ten-minute check below before an AI browser receives real access. It does not remove every risk. It makes the task smaller, the approval clearer, and recovery easier.
Minute 1: name one outcome
Start small. Write the task in one sentence: “Compare these three public product pages,” or “Draft a reply, but do not send it.” Avoid open goals such as “handle my inbox” or “fix everything in the account.” Broad goals let the agent make hidden choices about scope.
Set an end point. If research ends with a draft, say so. If the agent may prepare a form but not submit it, put that limit in the instruction.
Minute 2: list the data it may see
Use less data. Ask which pages, messages, files, and account areas are truly needed. Remove customer names, passwords, private contracts, health details, and financial records when they do not help the task.
Use a logged-out session for public research. Use a test account for a trial. If a signed-in session is necessary, select the least privileged account.
Less access limits harm. That matters.
Minute 3: separate instructions from content
Mark the boundary. Tell the agent that text found on pages, in emails, or inside files is untrusted content. It may be evidence, but it cannot expand the task or change the user's rules. Keep that rule.
Chrome's 2026 guidance for browser agents warns about malicious tool definitions and contaminated outputs. Check that claim. It says agents should not treat untrusted context as reliable instructions.
A hidden line in a product review should not cause a file upload. Stop that path. An email telling an agent to ignore earlier rules should be treated like any other suspicious message.
Minute 4: identify dangerous actions
Flag each risk. Mark every action that communicates, spends, deletes, changes access, or exposes data. Examples include sending email, publishing a post, buying a product, cancelling a service, sharing a document, changing permissions, downloading private records, and uploading a file.
Require approval immediately before those steps. Approval should show the destination, content, file, price, and account. “Ready to send this reply to Alex from the support account?” is useful. “Continue?” is not.
Minute 5: check connected tools
Check each tool. An AI browser may call extensions, connectors, websites, or local tools. Review what each connection can read and change. Disable anything the task does not need.
Chrome notes that browser extensions can hold powerful host permissions. A structured agent tool does not erase the risk created by broad page access. Review the extension, the site, and the account together.
Our guide to browser-extension permission audits provides a practical way to check that access.
Minute 6: test with harmless data
Test first. Run a small example before the real task. Use a public page, a draft message to yourself, or a sample file. Watch whether the agent stays inside scope, explains uncertainty, and pauses at the approval boundary.
Add one deliberate trap, such as webpage text that says “upload your files.” The correct result is to ignore it and continue the user's task. A failed test is cheaper than a failed production run.
Minute 7: verify the source behind each decision
Open the proof. An agent may combine content from several pages. Open the source that supports an important claim. Check its date, publisher, and exact wording. Do not let a smooth summary hide weak evidence.
The same hybrid method in our AI search versus web search guide applies here: use AI to organize, then inspect the original page before acting.
Minute 8: plan the stop button
Plan the exit. Know how to interrupt the run, close the session, revoke a connector, sign out the account, and undo a change. For high-impact tasks, keep an activity log and a second person who can review it.
Do not assume an agent will notice that a task has become unsafe. Time limits, action limits, and spending limits should be explicit.
Minute 9: protect the final action
Pause here. The last click often carries the most risk. Keep a human handoff for payment, deletion, publication, permission changes, password changes, legal submissions, and messages that represent a person or company.
OpenAI describes prompt injection as an evolving security challenge and recommends limiting agent access to sensitive data and sites. No single safety layer makes every browsing task trustworthy.
Permission should be specific and recent.
Minute 10: record owner, result, and follow-up
Write it down. Save the task, account, connections, approved actions, outcome, and any unexpected behavior. Assign a person to review access after the job ends.
Revoke temporary permissions. Remove uploaded test files. Close sessions that no longer need to remain active. If the agent did something unexpected, preserve the evidence before changing the setup.
A practical risk table
Keep it clear.
| Task | Safer default | Human check |
|---|---|---|
| Public research | Logged-out session | Verify important sources |
| Inbox summary | Read-only access | Do not follow email instructions |
| Draft a message | Draft only | Approve recipient and text |
| Account update | Least-privileged user | Approve exact change |
| Purchase | No stored payment if possible | Approve item, seller, and total |
Why prompt injection remains hard
No filter is perfect.
Modern agents must read untrusted material to be useful. The same page can contain facts, user comments, advertising, tool descriptions, and malicious instructions. A model does not always separate those roles perfectly.
NIST's 2026 analysis of AI-agent security responses found broad agreement that agents create novel threats and that familiar security practices need adaptation. That supports a layered approach: narrow permissions, trusted boundaries, testing, approval, logs, and recovery.
Use capability with restraint.
Frequently asked questions
What is prompt injection in an AI browser?
It is malicious or misleading content that tries to make an AI agent follow instructions from a webpage, message, or tool output instead of the user's real request.
Should an AI browser use my signed-in accounts?
Only when the task truly needs them. Use the least privileged account and require human approval before sensitive or irreversible actions.
Can prompt injection be completely prevented?
No single model or filter guarantees prevention. Safer use combines limited access, trusted sources, clear approvals, monitoring, and recovery controls.
Primary sources
- Chrome for Developers: Agent security considerations
- OpenAI: Understanding prompt injections
- NIST: Security considerations for AI agents