Skip to content

Feature: Add MCP server trust verification before browser tool execution #4903

Closed as not planned

Description

@vdineshk

Feature Description

When browser-use agents connect to MCP servers for tool execution, there's currently no way to verify whether a server is trustworthy before granting it browser access. This is a significant security gap — a malicious MCP server could inject harmful actions into browser sessions.

Proposed Solution

Integrate behavioral trust scoring via the Dominion Observatory API to verify MCP servers before allowing tool execution. The API provides trust scores (0.0-1.0) based on behavioral analysis of 14,820+ MCP servers.

import requests

def verify_mcp_server(server_url, threshold=0.7):
    resp = requests.get(
        "https://dominionobservatory.com/api/trust",
        params={"url": server_url}
    )
    data = resp.json()
    if data["trust_score"] < threshold:
        raise Exception(f"MCP server trust score {data['trust_score']} below threshold")
    return data

# Usage before browser tool execution
trust = verify_mcp_server("https://mcp-server.example.com")
print(f"Server trust: {trust['trust_score']} |trust['sla_grade']}")

Why This Matters for Browser-Use

Browser automation agents are uniquely sensitive — they have access to user credentials, cookies, and can navigate to arbitrary URLs. Trust-gating MCP servers before they interact with browser sessions prevents:

  • Credential harvesting via injected navigation
  • Data exfiltration through browser actions
  • Malicious form submissions

Additional Context

Activity

  1. arian-gogani commented on May 26, 2026

    @arian-gogani

    trust verification before browser tool execution is step one. the complementary layer: a tamper-evident receipt for every browser action the agent takes.

    a trust check says "this MCP server is safe to use." a receipt says "here's exactly what the agent did with it." both are needed. the trust check can pass and the server can still return unexpected results. the receipt captures what actually happened.

    each browser action generates an Ed25519 signed receipt with the tool called, the input parameters, and the timestamp. the receipt chain gives you a verifiable audit trail of every browser interaction.

    we built this receipt layer. cross-validated across 4 JCS implementations. open source.

    github.com/arian-gogani/nobulex

  2. Keesan12 commented on May 28, 2026

    @Keesan12

    Trust-scoring the MCP server is a good first gate, but I would pair it with a receipt for the browser action itself.

    A server can score as trusted and still produce an unexpected or harmful sequence once it is inside a live session. The useful split is:

    • trust gate: should this MCP server be admitted?
    • signed receipt: what did the agent actually do with the admitted tool?

    That gives you both prevention and post-incident proof.

  3. arian-gogani commented on May 28, 2026

    @arian-gogani

    the trust gate + signed receipt split is the right architecture. trust gate is pre-execution, receipt is post-execution. both layers are necessary, neither is sufficient alone.

    nobulex generates the receipt layer. 4 lines of Python per action. the receipt carries the agent_id, the tool called, the scope (URL accessed, form submitted, etc), and the timestamp. Ed25519 signed.

    github.com/arian-gogani/nobulex

  4. rpelevin commented on Jun 5, 2026

    @rpelevin

    I agree with the split between trust verification before execution and receipt after execution.

    The missing object I would keep separate is the per-action authority decision. For browser sessions, "this MCP server is trusted" is not the same as "this exact browser action should run now." A trusted server can still ask the browser to submit a form, click a payment button, download data, or navigate to a sensitive page.

    I would model the chain as:

    1. server admission: can this MCP server be used in this session?
    2. action authority: should this exact pending browser/tool action execute?
    3. action receipt: what actually happened after execution?

    The authority decision should bind to the tool, URL or origin, action type, arguments digest, policy version, user/session, and expiry. Acceptance test: if the server stays trusted but the proposed URL, form payload, or target action changes, the old decision cannot authorize the new action.

    That keeps trust scoring useful without turning it into blanket runtime permission.

  5. IgorGanapolsky commented on Jul 23, 2026

    @IgorGanapolsky

    Reliability note

    Production automation failures usually reduce to a contract issue before a model/prompt issue:

    1. Success criteria — durable artifact id (message/booking/row), not only node green
    2. Side-effect before complete — never blind-retry without an idempotency key on the business object
    3. Tool vs path split — external action can succeed while the node/agent path still errors (silent-green / false-red)

    If you have one failing execution + expected vs actual, reply with stack/version and I will send a free root-cause checklist.

  6. jinngimk-lang commented on Aug 17, 2026

    @jinngimk-lang

    One boundary I’d love to see tested here: a trust score is an observation, not execution authority. Even a high-scoring MCP server can only be as safe as the concrete browser actions and scopes the runtime actually enforces.

    AgentCI is recruiting MCP trust/enforcement breakers. A useful fixture could hold server reputation constant while changing the resolved action/target, then prove policy is evaluated at the browser effect boundary and produces an exact decision/receipt. Unknown reputation can inform policy; it must never silently become a blanket grant.

    If you or an external agent contribute a provider-neutral fixture, we’ll preserve this issue as provenance and give permanent public credit in AgentCI’s Breaker/Verifier Hall of Fame + priority conversion help.

    AgentCI: https://github.com/jinngimk-lang/agentci · recognition: https://github.com/jinngimk-lang/agentci/blob/main/COMMUNITY.md

    Affiliation disclosed; no Browser Use/MCP-server certification claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions