Skip to content

Add security and privacy questionnaire#195

Open
victorhuangwq wants to merge 22 commits into
webmachinelearning:mainfrom
victorhuangwq:security-and-privacy-questionnaire
Open

Add security and privacy questionnaire#195
victorhuangwq wants to merge 22 commits into
webmachinelearning:mainfrom
victorhuangwq:security-and-privacy-questionnaire

Conversation

@victorhuangwq

Copy link
Copy Markdown
Contributor

Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated

> 04. How do the features in your specification deal with sensitive information?

WebMCP is not a source of sensitive information. Tools may wrap sensitive or high-privilege operations (e.g., purchases, account changes), but that risk is not WebMCP-specific. We discuss this risk in [Tool Implementation as Attack Targets](https://webmachinelearning.github.io/webmcp/#tool-implementation-targets).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question I anticipate from privacy review is what mitigations for this issue are possible for WebMCP. I agree with Dom: well said to make clear WebMCP isn't creating the problem. However, if there are any locations to tie the agent's hands a bit and make the privacy story better (even on the level of recommendations rather than requirements) that would be an improvement. Alternatively, you should make clear that nothing is actually being done to defend against that attack in the spec with something like ... but that risk is not WebMCP-specific and is therefore not defended against in the design of the API.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can reference the https://webmachinelearning.github.io/webmcp/#mitigations section to begin with perhaps? We should also update the mitigations to include this #176, as discussed in the CG call.

Beyond that, there will just be things that will be left as recommendations for agent implementers, and thus non-normative in nature. But there should be areas where the API design can help with, and I don't want to close the doors on future mitigations by stating otherwise

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to Victor here, strong normative protection might be difficult, but we should definitely try to add e.g. hints that help the agent manage risky actions.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, @victorhuangwq do you want to link to the mitigations section in the spec from here then?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linking to mitigations is a fine start.

Just to clear up a couple of misconceptions:

Beyond that, there will just be things that will be left as recommendations for agent implementers, and thus non-normative in nature.

Normative language can include non MUST RFC 2119 terms, like SHOULD and MAY.

But there should be areas where the API design can help with, and I don't want to close the doors on future mitigations by stating otherwise

Saying that you don't do anything about it is not closing the door on future mitigations, particularly if you say so.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO those are two fair points from Ben here :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated based on feedback.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good that we're stating we'll continue to look at further mitigations but I agree with Ben we should make the currently limitations explicit here. Something like: "The spec does not currently include normative defenses against this; the mitigations listed are recommendations for agent implementers."

@victorhuangwq victorhuangwq force-pushed the security-and-privacy-questionnaire branch from 3b63206 to 4e84b15 Compare June 1, 2026 22:40
@victorhuangwq victorhuangwq marked this pull request as ready for review June 2, 2026 21:54
@anssiko anssiko added the Agenda+ label Jun 8, 2026
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
Comment thread security-privacy-questionnaire.md Outdated
@johannhof

Copy link
Copy Markdown
Contributor

Sorry for the delay, a few comments but L (pretty) GTM already! :)

@domfarolino domfarolino left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks like we're pretty close, but there are a few open threads to resolve:

@victorhuangwq victorhuangwq force-pushed the security-and-privacy-questionnaire branch from d952c46 to 3bcc77e Compare June 11, 2026 01:26
Added clarification that webmcp is an additional communication channel for device sensors and underlying platform

Co-authored-by: Johann Hofmann <mail@johann-hofmann.com>
@victorhuangwq

Copy link
Copy Markdown
Contributor Author

Just merged @johannhof's suggestion.

@domfarolino @bvandersloot-mozilla @bwalderman ready for review and merging.

@anssiko

anssiko commented Jun 11, 2026

Copy link
Copy Markdown
Member

This resolution touches this PR, so filing here:

RESOLUTION: The group approves the updated review materials (explainer, S&P considerations, S&P questionnaire). The spec editors will stage the review requests in WebMCP repo for the TAG, Privacy WG and Security WG, ensuring that specific questions or technical issues are highlighted to the reviewers in the appropriate sections of the review requests. (issue #195)

Once this PR is merged it unblocks staging. FYI @domfarolino @bwalderman

@anssiko anssiko removed the Agenda+ label Jun 11, 2026
Comment thread security-privacy-questionnaire.md Outdated

> 04. How do the features in your specification deal with sensitive information?

WebMCP is not a source of sensitive information. Tools may wrap sensitive or high-privilege operations (e.g., purchases, account changes), but that risk is not WebMCP-specific. We discuss this risk in [Tool Implementation as Attack Targets](https://webmachinelearning.github.io/webmcp/#tool-implementation-targets).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's good that we're stating we'll continue to look at further mitigations but I agree with Ben we should make the currently limitations explicit here. Something like: "The spec does not currently include normative defenses against this; the mitigations listed are recommendations for agent implementers."

No.

> 22. What should this questionnaire have asked?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's one more important addition I'd like to make here.

Violation of Same-Origin Boundaries is admittedly still a TODO in our spec but this is a novel security risk that we should raise to reviewers. Our answer at the moment may be the same as our answer about over-parameterization; that this risk in inherent in agents that can browse multiple origins and exists without WebMCP. We should still flag the issue in this questionnaire though to make sure it receives attention.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants