Skip to main content
Home
GrN.dk

Main navigation

  • Articles
  • Cases
  • Services
  • Your Digital Project Manager
  • About Greg Nowak
  • Image Gallery
  • Contact
User account menu
  • Log in

Join my community / free newsletter — sign up here

Breadcrumb

  1. Home

Before AI agents start clicking, write a browser policy

Illustrated infographic summarizing: AI agents need a browser policy before they start clicking around

By Greg Nowak. Updated 27 August 2026.

A browser-using AI agent can search websites, complete forms, update records and move through workflows that were previously handled by a person. That makes it useful—but it also gives the agent opportunities to disclose data, accept terms, modify production systems or follow malicious instructions hidden on a page.

Before connecting one to a CRM, CMS, supplier portal or admin tool, write a browser policy. This does not need to be a lengthy governance document. It should be a practical agreement describing where the agent may go, what it may do and when a person must take over.

A policy is more reliable than a clever prompt

Instructions such as “be careful” or “ask before doing anything important” leave too much room for interpretation. Define important in operational terms instead.

For each workflow, record the approved websites and accounts, permitted data, allowed actions, approval points, evidence requirements and stop conditions. Assign a business owner who can change or withdraw those permissions. Give the agent its own identity or dedicated account wherever the system supports it; shared employee credentials weaken accountability and usually grant more access than the task requires.

Treat everything the browser encounters as untrusted input. A webpage, email, document or image may contain instructions designed to redirect the agent. Current guidance from both OpenAI and Anthropic makes clear that prompt-injection defences reduce risk but do not eliminate it. A system prompt is therefore not a substitute for restricted credentials, network controls and enforced approval gates.

Risk zone Typical browser work Default rule Evidence to retain
Green Read approved public pages; compare non-sensitive information Run automatically within a domain allowlist URLs, result and exceptions
Amber Draft CRM updates, CMS changes, emails or supplier orders Agent may prepare; a person approves the exact change Before-and-after state, account, approver and timestamp
Red Payments, deletions, permission changes, bulk exports or contractual consent Block by default; enable only after workflow-specific review Full action record, authorization and outcome
A simple risk matrix makes browser permissions understandable to operations, security and delivery teams.

Separate the browser from everyday employee sessions

Run the agent in a dedicated browser profile, container or virtual machine with minimal privileges. It should not inherit an employee’s saved passwords, extensions, downloads, open tabs or personal browsing history. Restrict network access to the domains required for the job, including any authentication and file-storage domains the workflow genuinely needs.

Apply least privilege inside each application too. An agent checking delivery status does not need permission to change bank details. An agent drafting a CMS article does not automatically need production publishing rights. If a portal cannot provide suitably narrow access, that may be a reason to keep its workflow in draft-only mode.

Decide where downloaded files, screenshots and browser traces are stored, who can see them and when they are deleted. These records can contain customer data or session details, so “log everything forever” is not a safe audit strategy.

Put approval immediately before the consequence

An approval step should present a specific proposed action, not ask someone to approve a broad goal such as “finish the task.” The reviewer should see the target system and account, fields being changed, recipients, information being disclosed, financial amount and any irreversible consequence.

Place the gate immediately before the consequential click. Approval given earlier can become stale if the page, account, cart or draft changes. Login credentials, security codes and payment details should be entered through the browser’s protected takeover flow rather than pasted into an agent conversation.

Define stop conditions as carefully as permissions. The agent should pause on an unexpected domain, account mismatch, changed terms, ambiguous record, duplicate entry, authentication problem, suspected prompt injection or page state outside the tested route. Stopping safely is a feature, not a failed automation.

Test the controls, not only the happy path

Browser interfaces change, and an agent can misread a modal or choose a plausible-looking record. Test the surrounding controls independently of the model. Playwright can exercise known paths, capture traces and confirm that approval gates, account restrictions and blocked actions continue to work.

npx playwright test --trace on
npx playwright show-report

A trace helps a delivery team inspect page states, network activity and actions after a failure. Protect trace files as operational data: review them for personal information, credentials and confidential page content before sharing or retaining them.

Include awkward cases in acceptance testing: an expired session, wrong company account, changed button label, unexpected redirect, duplicate record, missing permission, hostile page instruction and a human who rejects the proposed action. Playwright can verify deterministic boundaries and repeatable workflows; it cannot prove that an agent will reason safely on every unseen page.

Start with one bounded workflow

A sensible first deployment has modest consequences, a clear owner and an output a person can verify quickly. Examples include collecting order statuses, preparing CRM notes, checking supplier availability or drafting CMS changes.

  1. Map the browser states from login to recorded outcome.
  2. Classify every action as allowed, approval-required or blocked.
  3. Create the dedicated identity and restricted environment.
  4. Test expected paths, exceptions and prompt-injection scenarios.
  5. Review early runs, then expand permissions only with evidence.

The business case is not maximum autonomy. It is dependable relief from repetitive work without quietly transferring authority to software. If you need help mapping a browser workflow, defining its approval gates or testing a controlled pilot, talk to Greg about the rollout.

Related on GrN.dk

  • OpenAI Computer Use: Browser Agents Need Credentials, Not Demos
  • OpenAI File Search: Internal Docs Need Governance Before Trust
  • Your AI Agent Has Shell Access. What Can It Reach?

Need help with this kind of work?

Plan a controlled browser-agent rollout Get in touch with Greg.

Sources

  • Computer use tool — Claude Platform Docs
  • Understanding prompt injections — OpenAI
  • Secure agents: Identity, access, and data protection — Microsoft Learn
  • Trace Viewer — Playwright
Last modified
2026-08-27

Tags

  • AI agents
  • browser automation
  • workflow automation
  • AI governance
  • Operations

Review Greg on Google

Greg Nowak Google Reviews

 

Written recommendations from Trafik og Veje, Aarhus Municipality (2011) and AgroTech (2010) — read them on LinkedIn.

Illustrated infographic summarizing: AI alt text: How to tackle your online store’s image backlog
AI alt text: How to tackle your online store’s image backlog
2026-09-08

Use AI for your online store’s alt text with a manageable pilot: map the images, generate suggestions in Danish, and check the results in WordPress and WooCommerce.

Illustrated infographic summarizing: From Supplier PDFs to Product Data: Where AI Needs a Second Check
From Supplier PDFs to Product Data: Where AI Needs a Second Check
2026-09-07

Supplier files need more than extraction. Here’s how to check coverage, match SKUs, resolve unclear units and prices, and test product data before a catalogue import.

Illustrated infographic summarizing: Shorter TLS Certificates: Will Your Renewal Setup Keep Up?
Shorter TLS Certificates: Will Your Renewal Setup Keep Up?
2026-09-06

Shorter TLS certificates leave less room for renewal problems. Check domain validation, scheduling, deployment and the certificate your customers actually receive.

Illustrated infographic summarizing: Your AI Image Has Content Credentials. Will Your Website Keep Them?
Your AI Image Has Content Credentials. Will Your Website Keep Them?
2026-09-05

AI image credentials can disappear during routine website processing. Learn how to test your CMS, optimizer, CDN, and publishing workflow end to end.

Illustrated infographic summarizing: What Are Customers Asking? Let AI Find the Patterns in Support Tickets
What Are Customers Asking? Let AI Find the Patterns in Support Tickets
2026-09-04

AI-based ticket analysis can uncover recurring complaints, product defects and gaps in documentation—without the company needing yet another chatbot.

Illustrated infographic summarizing: OpenAI Has Machine Identity Now. Which Jobs Should Lose API Keys?
OpenAI Has Machine Identity Now. Which Jobs Should Lose API Keys?
2026-09-03

OpenAI’s X.509 workload identity can replace API keys for the right workloads. This practical framework helps teams decide where to start safely.

Illustrated infographic summarizing: WordPress 7.1 Exposes AI-Ready Actions. Who Gets to Run Them?
WordPress 7.1 Exposes AI-Ready Actions. Who Gets to Run Them?
2026-09-02

WordPress 7.1 helps AI agents discover and invoke site abilities. Here is how to keep exposure, authentication and permission firmly separate.

Illustrated infographic summarizing: From Sales Meeting to CRM: Automate Follow-Up Without Compromising Data Quality
From Sales Meeting to CRM: Automate Follow-Up Without Compromising Data Quality
2026-09-01

How to use AI for meeting notes and follow-up while fixed rules protect CRM data, customer matching and the sales pipeline from errors and premature changes.

Illustrated infographic summarizing: Your AI Gateway Can Name the User. Decide What That Log Is For
Your AI Gateway Can Name the User. Decide What That Log Is For
2026-08-31

Identity-aware AI Gateway logs can sharpen security and cost control, but only when attribution, access, retention, guardrails, and response are clearly defined.

Illustrated infographic summarizing: Zero Data Retention Is a Workflow Audit, Not a Checkbox
Zero Data Retention Is a Workflow Audit, Not a Checkbox
2026-08-30

Zero Data Retention covers the provider, not every copy in your stack. See how to audit endpoints, logs, storage, deletion and project-level controls.

More articles

Built by AI — available for your business. The daily articles on this site are researched, written and illustrated by an autonomous AI pipeline. At nowa.dk I install the same kind of AI automation in businesses at fixed prices — site in Danish, English version here, and web/marketing agencies have a dedicated page.

RSS feed

Footer

  • All articles
  • Contact

GrN.dk — AI automation, web platforms, web optimization, data handling and logistics.

© 2026 GrN.dk · LinkedIn · Contact · AI automation in Danish: nowa.dk

Behind GrN.dk: Individual Entrepreneur Codecrafter · Tax ID 305669096 · Bakhtrioni St. 22, 0194 Tbilisi, Georgia · official business register