Guidance for sensitive form fields (credentials, card data, national IDs) in declarative and imperative tools
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- html
- Domain
- security
Research direction
Read the declarative API and security guidance, then review related issues #110 and #313 and the linked country-packs design notes. Compare the proposed autocomplete exclusions, agent handoff hint, and security guidance against the spec's existing tool schema. Done means a concrete direction is agreed on and the spec explains how sensitive form fields are handled.
Written by the indexing model from the issue text.
Description
Problem
Neither the spec nor the Chrome security guidance says how sensitive fields should be handled when a form becomes a tool. The declarative API builds inputSchema from every named control, so a checkout form exposes card number and CVV, and a login or KYC form exposes one-time codes and national ID numbers, as agent-fillable parameters.
Browser agents already treat these fields specially: Claude in Chrome, Gemini in Chrome and OpenAI's agent hand passwords, OTPs and payment details back to the user rather than passing them through the model. Tool schemas currently give them no way to know which parameters those are.
Evidence
- PCI DSS v4.0.1 Req 3.3.1: Sensitive authentication data (CVV, PIN) must not be retained after authorization. We treat agent transcripts as retention.
- NIST SP 800-63B, PSD2 SCA-RTS Art. 4 and RBI's 2025 authentication directions treat one-time codes as authentication factors held by the user.
- Several jurisdictions restrict processing of national ID numbers: National laws under GDPR Art. 87, UIDAI rules for Aadhaar, and Singapore's PDPC NRIC guidelines.
In auto-webmcp (an open-source library that turns forms into WebMCP tools) we now exclude these fields from the schema, list them in the description, and set consequentialHint. Design notes: https://github.com/prasanna-gyde/auto-webmcp/blob/main/docs/design/country-packs.md
Possible directions
- Declarative API: By default, exclude controls whose
autocompleteiscc-number,cc-csc,cc-exp*,one-time-code,current-password,new-passwordorwebauthnfrom the generated schema. - Signal to agents: A per-parameter hint (for example
x-user-input: true, or a list on the tool) meaning "the user completes this field", so agents hand off instead of guessing or asking for the value in chat. - Security considerations: A short section recommending that tool results not echo credentials, card data or hidden inputs.
Related: #110 (sensitive tool outputs; a comment there raises the input direction this issue covers) and #313.
Happy to contribute text or test cases.
- Dominant language
- Bikeshed
- Stars
- 4.7k
- Forks
- 328
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 15
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webmachinelearning/webmcp
-
Say how an agent should weigh annotations that the page wrote about itselfPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
webmachinelearning/webmcp#353 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
webmachinelearning/webmcp#343 · 1 reaction ·
Maintainers usually reply within 1 day
-
Agenda+ i18n-tracker
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
webmachinelearning/webmcp#273 · 3 comments ·
Maintainers usually reply within 1 day
-
a11y-tracker Agenda+
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
webmachinelearning/webmcp#272 · 4 comments · 2 reactions ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
webmachinelearning/webmcp#234 · 5 comments ·
Maintainers usually reply within 1 day
All issues in webmachinelearning/webmcp
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nyjc-computing/campus#938 ·
Maintainers usually reply within 1 day
-
Blocklist removal request: xxcancel.com (Nitter link redirector, no wallet/crypto functionality)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
MetaMask/eth-phishing-detect#304216 ·
Maintainers usually reply within 1 day
-
Harden the raw take body: a WAV header claiming more samples than the body has burns CPUPossibly taken @qwertymuzaffar claimed this today. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qwertymuzaffar/parrot#49 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
lucasmartins-ai/lcc#83 · 1 comment ·
Maintainers usually reply within 1 day