WMCP-SEC-008
Declarative form contract integrity
Hidden business fields that Chrome submits without showing them to the agent, password and card fields, descriptions on unnamed controls, toolautosubmit on POST forms.
Scanner and Explorer
WebMCP public surface & contract audit
Discover browser-agent contracts on one public page: document.modelContext registrations and <form toolname> declarations. Review prompt-injection indicators, schema risks and inert fixes.
One public URL. Bounded initial load and one passive scroll. Zero tool invocation.
Controlled synthetic examples, scanned on demand with the same engine. Expected grades describe these fixtures, not a security guarantee.
Shared engine · ruleset 2026-11-10.2
The scanner and WebMCP Explorer 2.6.1 run one engine: the same rules, evidence and score.
WMCP-SEC-008
Hidden business fields that Chrome submits without showing them to the agent, password and card fields, descriptions on unnamed controls, toolautosubmit on POST forms.
Scanner and Explorer
WMCP-SEC-009
readOnlyHint: true while the callback source sends a write request or submits a form. High or medium, never critical: source text is not behavior.
Scanner and Explorer
WMCP-SEC-010
Tools that return reviews, comments, messages or fetched content without untrustedContentHint. Explorer also checks for an echoed probe marker.
Scanner and Explorer
WMCP-SEC-011
exposedTo lists naming other origins, third-party registrations and iframes given allow="tools". Reports list the page’s frame surface.
Scanner and Explorer
WMCP-SEC-012
Names and descriptions more than twice Chrome’s budgets; high when the same field hides invisible characters or an encoded blob.
Scanner and Explorer
WMCP-SEC-013
Provider keys in page scripts, reported by type and length, never by value.
Explorer, on a site you control
Families 001–007 still cover prompt-injection indicators, consequential actions without hints, loose schemas, auto-submitted forms, the legacy API, origin configuration and ambiguous descriptions. Every family with its evidence and limits →
Ruleset 2026-11-10.2
What the scanner and WebMCP Explorer 2.6.1 observe besides the rule families.
Each tool gets a SHA-256 fingerprint of its description, input schema and annotations. Save the fingerprints from a report and compare them later on any report, or commit them and let the GitHub workflow, which also runs once a day, fail when a reviewed tool changes or an unknown one appears. A tool replaced under its name while it is observed is a finding in both products, with the part that changed: during the load in the scanner, as it happens in Explorer's timeline. A tool that re-mounts with the same contract is not flagged. Explorer's baseline names the changed part between visits.
Performance plugins such as WP Rocket or LiteSpeed Cache hold scripts until a visitor moves the pointer or scrolls. After load, the scanner moves the pointer and scrolls once, never clicks or types, and labels the tools and tool forms that appeared afterwards. In Explorer, your own pointer releases them and the tool list follows.
Chrome enables the WebMCP origin trial on a page only through a valid token. The tokens in the Origin-Trial header and in meta tags are decoded and checked as Chrome reads them: a meta tag inside the head, written without spaces, Chrome's signature, origin and subdomains, expiry, with a notice 14 days before the last valid one ends. Explorer checks the tokens in the page's meta tags the same way, flags them in its status bar, and reads the response header when you run Scan Origin.
From finding to fix
Each fix tied to a tool comes with the observed contract and the proposed one, as a diff. When a page exposes no tool yet, its own forms become starter contracts: no toolautosubmit, sensitive fields left out.
lookup_order is declared read-only while its callback sends a DELETE request (WMCP-SEC-009)--- observed
+++ proposed
{
"annotations": {
- "readOnlyHint": true
+ "consequentialHint": true,
+ "readOnlyHint": false
},
"description": "Look up the status of one order by its number.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"number": {
"description": "Order number.",
"pattern": "^[0-9]{6}$",
"type": "string"
}
},
"required": [
"number"
],
"type": "object"
},
"name": "lookup_order"
}document.modelContext version comes with it in the report<!-- REVIEW REQUIRED: merge these attributes into your own form; nothing here submits by itself. -->
<!-- No toolautosubmit: the person reviews the filled form and submits it. -->
<!-- Keep your action and method. Keep prices, recipients and roles on the server, not in hidden fields. -->
<form toolname="search" tooldescription="TODO: say what this form does, its inputs and its result in one or two sentences.">
<label>Search the catalogue <input name="q" required toolparamdescription="Search the catalogue" type="text" maxlength="80"></label>
<label>Category <select name="category" toolparamdescription="Category"><option value="books">books</option><option value="games">games</option></select></label>
<button type="submit">Review and submit</button>
</form>
Real output of the shared engine on a sample contract and a sample form. Nothing is applied to a page; review before use.
In your CI
Generate a workflow for your page. Each run scans it, uploads the findings to Security › Code scanning, writes the full report to the job summary, keeps the badge and the report as an artifact, and fails the job on a critical finding, a score below your threshold or a contract that differs from the fingerprints you committed.
Badge downloaded from a report (example)
# The public page to scan.
WEBMCP_PAGE: 'https://www.example.com/'
# Fail on a critical finding (critical), on a high or critical finding (high), or never.
WEBMCP_FAIL_ON: 'critical'
# Fail below this provisional score, from 0 to 100; 0 disables the check.
WEBMCP_MIN_SCORE: '50'
# Fail when no WebMCP tool is observed at load: true or false.
WEBMCP_FAIL_NOT_EXPOSED: 'false'
# No report (quota, capacity, browser challenge, error page): warn or fail.
WEBMCP_ON_UNAVAILABLE: 'warn'
# Optional: a contracts file committed in this repository, for example
# .github/webmcp-contracts.json (take it from this workflow's artifact). When set, each run
# compares the page's contract fingerprints with it. Empty disables the comparison.
WEBMCP_CONTRACT_LOCK: ''
# A contract that differs from the committed file, or a tool that is not in it: fail or warn.
WEBMCP_ON_DRIFT: 'fail'
WEBMCP_API: https://webmcp.corsen.aiA specific browser API
Computer-use agents can interact with websites without WebMCP. This scanner inspects the browser API draft, not every way an agent could use a website. Server-side MCP is a separate protocol and deployment model.
Shared Explorer deductions: 100 minus findings, grouped by rule and tool. Adding clean tools cannot dilute a risky one. The score is provisional.
HTTPS, CSP, Permissions-Policy, mixed references and optional origin conventions are shown separately. Social preview metadata earns no points.
Choose the observation point
| Scope | WebMCP Scanner (this site) | WebMCP Explorer 2.6.1 (Chrome) |
|---|---|---|
| Security engine | Engine v5, WMCP-SEC-001…012, on one public page at load. A public scanner never looks for secrets (013). | The same engine v5, WMCP-SEC-001…013, including client-side secret detection on a site you control. |
| Fixes | Before/after diffs and starter hardened contracts from the page's own forms | Before/after diffs, starter contracts and “Test this fix locally” on the live page |
| Page access | One public URL, no credentials; bounded initial load, then one passive pointer movement and scroll | Your permitted tabs, signed-in sessions and local development |
| Observation | Registrations, form attributes, iframes, response headers, origin-trial tokens and public origin files | Live registrations after your own clicks, scrolls, hydration and SPA state changes, with exposedTo, callback labels, meta-tag origin-trial tokens and, on request, the Origin-Trial response header |
| Contract changes | SHA-256 fingerprint per tool; compare a saved file on the report, or fail a GitHub workflow when a reviewed contract changes. A tool replaced under its name during the load is a finding | The live timeline reports a contract replaced under its name as it happens, and the review names the part that changed. Baselines do the same between visits, can be saved to a file, and the scheduled re-check counts changed contracts on the toolbar badge |
| Tool behavior | Never calls tools or submits forms | Manual runs, recipes and bounded probes on sites you control (eight calls per tool at most) |
| Developer workflow | Markdown, SARIF, JSON and badge; GitHub code scanning workflow | Runtime contract probe, Playwright codegen, SARIF exports and local MCP bridge with Corsen Guard |
WebMCP Explorer 2.6.1 brings this engine to your browser. Until the Chrome Web Store publishes it, the Store serves 2.3.0; installed copies update automatically. What Explorer adds in your browser →
Before you scan
No. Contracts and annotations can be misleading. We flag observable metadata and bounded source-text patterns without executing callbacks. Server-side authorization, human consent and actual effects remain untested.
The report says “Not Exposed (0 WebMCP Tools Observed at Load)”, without a score or grade. You still get the web checklist and a starter snippet. This is not proof of absence behind a login, a click or typing.
A verification challenge or HTTP error receives no report or grade. We do not bypass it. HTML-only fallback is explicitly labelled; use Explorer for your permitted signed-in pages.
Download Markdown, SARIF, JSON, the contract fingerprints or the badge, or run the scan from GitHub Actions with the workflow generator, which keeps them as an artifact. The hosted report lasts at most one hour. The creator can delete it; closing the report requests deletion. Browser shutdown delivery is best effort.
Allow Google Analytics to measure visits and scanner use? Scanned addresses and report contents are excluded. Details.