惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
The Last Watchdog
The Last Watchdog
C
Cisco Blogs
L
LINUX DO - 热门话题
T
Tenable Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Cyberwarzone
Cyberwarzone
O
OpenAI News
The Hacker News
The Hacker News
V
Vulnerabilities – Threatpost
A
Arctic Wolf
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
量子位
V2EX - 技术
V2EX - 技术
GbyAI
GbyAI
W
WeLiveSecurity
Recorded Future
Recorded Future
P
Proofpoint News Feed
Project Zero
Project Zero
P
Palo Alto Networks Blog
Microsoft Security Blog
Microsoft Security Blog
S
Security Affairs
Stack Overflow Blog
Stack Overflow Blog
B
Blog
Y
Y Combinator Blog
月光博客
月光博客
K
Kaspersky official blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Latest news
Latest news
Forbes - Security
Forbes - Security
T
Troy Hunt's Blog
T
The Blog of Author Tim Ferriss
C
Check Point Blog
D
DataBreaches.Net
MyScale Blog
MyScale Blog
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
D
Docker
P
Privacy International News Feed
C
Cybersecurity and Infrastructure Security Agency CISA
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
Cyber Attacks, Cyber Crime and Cyber Security
S
Securelist
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
雷峰网
雷峰网
SecWiki News
SecWiki News
腾讯CDC
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Browsers shipped a security model for humans. Agents are asking us to keep using it.
Arthur · 2026-06-23 · via DEV Community

The browser security model is one of the most carefully thought-through pieces of software engineering on the planet. Same-origin policy. User gesture requirements. Click-to-permission grants. Site isolation at the process level. Cookie partitioning. Cross-origin resource sharing. Each of these mechanisms exists because somebody, twenty or fifteen or eight years ago, traced through a specific class of attack and shipped the structural change that made it stop working. The mechanisms compose. The composition has been load-bearing for the trustworthiness of the open web.

The mechanisms also share, almost without exception, a load-bearing assumption: the entity at the keyboard is the user, and the user is a human, and the user's intent is the principal the security model is protecting. When a webpage tries to access the camera, the browser shows a permission dialog because the user's clicking through the dialog is the authorising act. When a script tries to make a cross-origin POST, the browser blocks it because the user did not navigate the source page expecting to authorise that POST. When an onclick handler tries to open a popup, modern browsers require the click to have been a real user gesture because programmatic clicks shouldn't generate the same authorisation as a user's intentional click.

The agent-driving-browser product family launched between October 2024 and mid-2025 is asking the browser security model to keep doing all of those things, intact, while replacing the entity at the keyboard with a large language model.

The math on that does not work, and I want to walk through specifically where it breaks, what's already shipping, what the W3C's WebMCP proposal is trying to fix, and where the next class of public incidents is going to come from.

What's actually shipping

The four products worth tracking through this argument span eighteen months and share roughly the same architectural shape: a model that takes screenshots of a real browser, reasons about what's on screen, and emits keyboard and mouse actions back into that browser. The products differ in detail; the structural question they all face is the same one.

Anthropic Computer Use (October 22, 2024) was the first. Claude 3.5 Sonnet got beta access to a tool API that let it move a mouse, click, type, and take screenshots inside a developer-supplied virtual machine. Anthropic shipped it with an explicit warning in the documentation: "in some circumstances, Claude will follow commands found in content even if it conflicts with the user's instructions. For example, Claude instructions on webpages or contained in images may override instructions or cause Claude to make mistakes." The launch documentation recommends not letting Claude touch sensitive data during the research preview. The vulnerability the warning describes is the structural problem this whole article is about, named in clear terms by the company shipping the product on day one.

Google's Project Mariner (December 2024) was Google DeepMind's research-prototype shape of the same idea. Built on Gemini 2.0, distributed initially as an experimental Chrome extension to trusted testers, scoring 83.5% on WebVoyager. By May 2025 Google had moved it to Google AI Ultra subscribers in the US and was integrating it into the Gemini API.

OpenAI Operator (January 23, 2025) was the first commercial product in the family aimed at end users. Powered by the Computer-Using Agent (CUA) model — GPT-4o vision plus reinforcement-learning-trained reasoning — Operator runs in its own browser at operator.chatgpt.com and handles repetitive tasks: form-filling, grocery ordering, meme generation. OpenAI's own framing in the launch post is that "on particularly sensitive websites, such as email, Operator requires active user supervision, ensuring users can directly catch and address any potential mistakes the model might make." That sentence is doing work the rest of the article is going to push against.

Perplexity Comet (July 9, 2025 on macOS / Windows; October 2025 free; Android November 2025; iOS March 2026) is the most ambitious of the four — not an agent that drives a browser but a browser whose default mode is agentic. Built on Chromium, Comet integrates Perplexity's assistant directly into the browser interface. Users give high-level commands ("book a flight," "find a summary of this video") and the agent visits sites, extracts information, and performs actions across tabs. Voice interface is supported. The browser holds the user's session cookies, the user's saved logins, the user's tab state — and acts on them via natural language.

The four products together describe a clear arc: from a developer-only research preview (Computer Use) to a trusted-testers Chrome extension (Mariner) to a paid commercial product (Operator) to a free consumer browser (Comet). The arc compressed itself into eighteen months. The security model the products are running on is the same browser security model that existed before the arc started.

Where the security model breaks

The browser security mechanisms each have a specific failure mode under agent control. Worth taking them in turn.

Same-origin policy. SOP is the rule that JavaScript loaded from https://attacker.com cannot read content from https://bank.com, because the user's session-cookies and authentication tokens for bank.com belong to the user's relationship with bank.com, not to whatever site is currently scripting. SOP fails in spirit under agent control even though the technical mechanism keeps working. The agent has access to all open tabs, including bank.com. The agent's instructions can come from any rendered content, including an image's alt-text on a page from attacker.com. The agent reads the alt-text, follows the instruction, switches tabs, and does the cross-origin action that SOP was designed to prevent. The technical SOP rule didn't fail. The agent never made a cross-origin fetch from JavaScript. It just acted as the user on a different origin, after reading instructions from the first one. SOP protects the JavaScript-execution model; it doesn't protect the agent-instruction-execution model.

User gesture requirements. Modern browsers require a real user click before they grant permissions for camera, microphone, fullscreen, popups, autoplay-with-sound. The protection is that programmatic clicks don't count: a script can't el.click() its way into the camera. Agents emit clicks through the operating system's input-event interface, which the browser cannot distinguish from real human clicks. Mariner's tools.click() API and Operator's CUA-issued mouse events look identical to the browser. The user-gesture check is a check on whether a click happened, not on who issued the click.

Click-to-permission grants. The first time a site asks for a permission, the user sees a dialog and consents (or doesn't) explicitly. Subsequent visits inherit the consent. Under agent control, the dialog shows up while the agent is operating, and the agent (having been given a goal that requires the permission) clicks through. The user's earlier consent applied to this site, given by me, expecting these consequences; the agent's click-through applies to whatever this site asks for, given by an entity I'm delegating goals to. The two acts produce the same browser-state transition. The semantics are different.

Mechanism What it protects against (human user at keyboard) What it protects against (agent at keyboard)
Same-origin policy Cross-origin script reading authenticated content from another site Nothing — the agent acts at the application layer with full session cookies for every open tab
User gesture requirements Programmatic clicks invoking sensitive APIs the user didn't intend Nothing — agent-issued OS-level clicks are indistinguishable from user clicks
Click-to-permission grants Sites silently acquiring camera/mic/notification permissions Limited — agent will click through dialogs that appear in pursuit of its assigned goal, regardless of the user's actual scoping intent
Cookie / session isolation Cross-site session-cookie theft Limited — the agent already holds the cookies and crosses sites by navigating, not by JavaScript
Site isolation (process-level) Cross-origin Spectre-style memory attacks Unchanged — protection is below the agent layer

The pattern is uncomfortable to read but is what the actual mechanism analysis produces. The browser's defences are calibrated against attacks that route through the JavaScript layer, with the user as the trusted principal. The agent operates at a layer above the JavaScript model, with the agent itself as the principal, and the agent will execute instructions that arrived in content, not in user input.

The vulnerabilities that already shipped

Two of the four products have public vulnerability disclosures that demonstrate exactly this failure mode in production. Both involve Perplexity Comet, the most aggressive of the four.

In August 2025, Brave's research team disclosed that Comet was vulnerable to indirect prompt injection through webpage content. An attacker who controls a webpage the user visits can inject text that the agent reads as instructions and acts on with the user's authenticated privileges. Brave's framing is the load-bearing one. From the disclosure: "The AI operates with the user's full privileges across authenticated sessions, providing potential access to banking accounts, corporate systems, private emails, cloud storage, and other services." And: "When an AI assistant follows malicious instructions from untrusted webpage content, traditional protections such as same-origin policy (SOP) or cross-origin resource sharing (CORS) are all effectively useless." Two months later, in October 2025, Brave disclosed a second variant where the prompt injection is hidden in screenshot images: text the underlying vision model can read but that doesn't render visibly to a human, allowing the malicious instructions to be smuggled past any human-in-the-loop review.

In November 2025, SquareX disclosed that Comet ships with two built-in browser extensions, Comet Analytics and Comet Agentic, that don't appear in the browser's extensions panel and cannot be disabled by users. The extensions communicate with Comet's MCP API in ways that allow attackers who can reach the API to issue system-level commands. The vulnerability is structurally distinct from the Brave finding: it's about the protocol surface the browser exposes for the agent's own operation, rather than about content the agent reads from the open web. The two together describe the security boundary of an agentic browser: the agent reads untrusted content from one side, exposes a privileged API surface on the other side, and both sides have already been turned into attack vectors in shipping products.

These are not theoretical concerns. Comet is downloadable for free, has been since October 2025, and the disclosed vulnerabilities affect every user. The vendor's fix-cycle on each is the public-record version of how seriously the agentic-browser category is taking these issues, which is to say not very.

What WebMCP is, and what it isn't trying to do

The W3C's WebMCP specification, accepted as a deliverable by the Web Machine Learning Community Group in the September 25, 2025 charter update and shipping behind a flag in Chrome 146 Canary as of early 2026, is the most serious attempt at a structural fix. WebMCP's idea is that websites should declare their capabilities to agents through a structured browser-native API — navigator.modelContext — rather than have agents scrape HTML and click DOM elements. A site exposes its tools (book_flight, add_to_cart, etc.) with explicit schemas; the agent invokes them through the formal API rather than by clicking; the browser brokers the relationship.

The security mechanisms WebMCP proposes are honest about the problem they're trying to solve. Domain-level isolation scopes tools to specific origins, so a tool exposed by bank.com can't be invoked while the agent is operating in attacker.com's context. requestUserInteraction() is the API by which a tool can pause execution and prompt for explicit user confirmation before sensitive operations. Per-invocation consent is the default for anything the spec marks as sensitive. The W3C reviewers explicitly flagged the deadly triad: an agent with simultaneous access to multiple authenticated tabs (email + bank + cloud-storage) is structurally dangerous, and WebMCP's domain isolation and consent flows are aimed at that scenario.

The thing WebMCP doesn't fix, and the thing that I think the spec's authors would acknowledge if asked, is the original problem: the agent's instructions can come from content. WebMCP makes the invocation path safer; it doesn't make the decision-to-invoke path safer. If a webpage's text instructs the agent to invoke a tool, and the agent has been authenticated to invoke that tool, the agent will invoke the tool. The requestUserInteraction() confirmation is the last line of defence, and it's the same confirmation the user would have clicked through if the agent had asked them. The treadmill is structural: if every sensitive action requires confirmation, the agent isn't an agent (it's a slow click-bot the user is supervising); if not, the security model has no signal about whether the action is what the user wanted.

WebMCP is a real improvement on screenshot-and-click. It's not the answer to the underlying question. It's a better surface for the agent to act through, with the same fundamental ambiguity about who the principal is.

Where the next incidents will come from

Reading the four products + WebMCP + the two Comet disclosures together, the predictable shape of the next year's worth of public incidents is this:

Cross-site action-laundering through agent context. An attacker controls page A. The user, in agent mode, visits page A. Page A includes content (text, alt-text, image OCR-target) that instructs the agent to navigate to page B and perform an action there using the user's authentication. The action happens. The vulnerability is "discovered" by a security researcher and reported on; the vendor patches the specific instruction-recognition pattern; the structural problem is unchanged. This pattern is likely to repeat across the four major products through 2026 — both Brave (August and October 2025) and SquareX (November 2025) have already produced disclosures in this category within a four-month window.

Hidden-MCP-tool exposure. SquareX's Comet finding is the first public instance of agentic-browser MCP surfaces being abused. It will not be the last. Every vendor shipping an agentic browser is shipping an MCP-style tool surface; every such surface is an attack target; the attack surface is novel enough that the standard browser-extension review processes do not catch the issues.

Permission-grant decay. Sites that previously had to convince users to grant permissions can now convince agents instead, by structuring the request to be agent-friendly. The user's initial I consent to camera access on this site dialog produced a stable user-site relationship; the agent decided to consent on the user's behalf to whatever the site asked for dialog produces a stable agent-site relationship that the user may not have intended to delegate. The dynamics are asymmetric in the agent's favour.

Auth-token reachability. Browsers store OAuth tokens, session cookies, password-manager state, autofill data. The agent has read access to all of it through the page DOM, the browser's autofill API, and (for products like Comet) the integrated password manager. A prompt-injection that successfully persuades the agent to navigate to its own session-token export endpoint is in scope for any of the four products. The mitigation is that browsers don't expose session-token export endpoints; the workaround is that agents can construct the export by visiting account-settings pages and reading what's displayed.

The honest reading of the situation is that the agentic-browser category shipped before its security model was complete, and the structural mismatch between the browser's protections and the agent's principal-substitution is going to produce a steady stream of incidents until either (a) the products restrict themselves to genuinely-non-sensitive tasks, (b) the protocol layer (WebMCP and successors) develops mechanisms for authenticating the source of the agent's instructions, or (c) the security community develops anti-prompt-injection tools that work reliably against adversarial content. None of (a), (b), or (c) is on a near-term ship schedule. The products are.

What I'd want before deploying any of these in earnest

The pattern that I'd want to see from any of the four agentic-browser vendors before treating them as production-safe for sensitive workflows:

  • Provenance on agent instructions. Every action the agent takes should be traceable to a specific instruction source — the user's prompt, a webpage content fragment, a tool-result. Right now this is hand-waved.
  • A meaningful confirmation step that distinguishes content-instructed from user-instructed actions. If the agent's plan to invoke a tool came from user-typed text, the confirmation can be light. If it came from page content, the confirmation should be heavy. This distinction does not exist in the products today.
  • A read-only mode that's actually read-only. Not "read-only with permission to navigate," not "read-only with permission to fill forms" — read-only meaning the agent can look, summarise, and explain, but cannot type, click, or POST anything until the user explicitly opts each action into a write-mode. The current products conflate read and write at the lowest level.
  • A way for the user to audit what credentials the agent had access to during a session. The Comet integrated-password-manager case is the canonical example: the user delegated browsing, but they probably didn't intend to delegate credential access — and the products don't currently surface that distinction.

None of these is exotic. Each is a piece of provenance / consent / scope hygiene the rest of the application-security industry has had for a decade. The agentic-browser category is shipping without them because the demos work without them and the incidents that will follow haven't accumulated yet.

The browser shipped a security model for humans because that was the actor it was protecting. The category trying to replace the actor is the one that has to update the model — and it's the category currently asking the browser to keep doing its job intact while quietly substituting the principal underneath. That's the part of the architecture that's going to give in 2026, not because the browser has anything wrong with it, but because the browser was never asked the question the agentic stack is now answering on its behalf.