-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self-Review Questionnaire: Security and Privacy #119
Comments
Related: #85 |
@wchao1115 @huningxin @pyu10055 I took the first stab at the responses to this questionnaire that is part of the expected TAG review material, PTAL: #119 (comment) |
Sent an Early Privacy Review Request to the W3C's Privacy Interest Group welcoming feedback in this issue. |
At the moment, the feature does not distinguish between first-party and third-party contexts. Since the feature gives developers access to hardware accelerated features of the device, we could make it be a policy controlled feature similar to WebXR and its
The feature works the same regardless of whether in-private browsing or incognito mode is active. |
Thank you @RafaelCintron! With your contributions we now have completed this questionnaire. Let's have a last call for comments before I take a snapshot of the responses for future use (I plan to turn this into an .md file in our repo, so we can revise it if new information becomes available). All - please review the suggested responses by our next call 21 Jan, 2021. |
Some comments and questions coming out of an early privacy review:
|
Some more questions and comments from the early PING review:
|
Thanks @sandandsnow and @Shrishak for the early Privacy Interest Group review. We'll discuss your feedback on today's WebML CG Teleconference – 4 February 2021 - 15:00-16:00 UTC+0. You are welcome to join if you have availability on such a short notice (we're starting in ~35 mins from now). |
For the curious, we ran out of time on our 4 Feb call, so will put this topic again on our 18 Feb call agenda. We welcome any further feedback in this issue. |
@sandandsnow and @Shrishak thank you for your initial PING feedback. Below is our initial response:
Other widely available powerful APIs on the web platform have similar computational capabilities. For example, the universally supported WebGL API that is in fact used by the polyfill implementation of the WebNN API. Our group believes this topic would benefit from a web architecture-level discussion and is likely suited for the TAG dissemination. This broader topic has been discussed in the context of the Web and Machine Learning workshop earlier:
Already without the WebNN API web sites can listen to mousemove events and send that data to the server for processing using machine learning or other techniques. We believe this API does not enable new abuse vectors for network connected devices, but will in fact potentially allow for better detection of abuse, given browsers either could choose to offer affordances to the user to be notified if this API is being actively used, or implement mechanisms to flag out usage of this API in unconventional contexts.
We opened #145 that proposes normative changes. @sandandsnow please take a look.
Noted in #122.
We will constantly evaluate the highest value use cases for the web and will keep this section up to date with the state of the art considering the constraints of the web platform.
@Shrishak, we have a clarifying question: what device information is of concern specifically? The WebNN API does not expose specifics of the hardware.
This has been labelled with a "ping-tracker" label.
Media Capture and Streams specification defines two policy-controlled features identified by the strings "camera" and "microphone". This seems like a Media Capture and Streams specification issue. |
@anssiko, thanks for confirming that the specifics of the hardware are not exposed. My question was regards to whether the availability of GPU acceleration was exposed or not. |
Thanks @Shrishak for the clarification. The group will keep the device identification guideline in mind when evolving the API. I added a "ping-tracker" label to this issue to keep track of the entirety of the PING feedback. This issue that documents early PING feedback will be helpful at the formal wide review step and demonstrates PING has been engaged early on. |
Re: "Our group believes this topic would benefit from a web architecture-level discussion and is likely suited for the TAG dissemination", perhaps the time to raise this with the TAG is during their review. |
@sandandsnow, thanks for highlighting this web architecture-level consideration. Please note:
@cynthia (aka Sangwhan) from the TAG had a talk about this topic at the workshop, was part of the related workshop discussions and IIRC wanted to bring w3c/machine-learning-workshop#72 up with the broader TAG. I suggest you revisit these earlier discussions and fill in any gaps in our collective understanding of this problem space. |
The group added the initial Security and Privacy Consideration (#170) into the Web Neural Network API spec reflecting the review comments in this issue. This issue will remain open to solicit further feedback from Privacy and Security reviewers. @sandandsnow please ping (no pun intended) this issue whenever you have additional comments or questions. This issue is tracked in w3cping/tracking-issues#190 We expect to explicitly reach out to horizontal reviewers again when the spec has advanced further. Thank you for your contributions, your early privacy review comments were much appreciated by our group. |
@sandandsnow, heads-up that the WG agreed to request a delta privacy review from PING for WebNN API in https://www.w3.org/2022/02/10-webmachinelearning-minutes.html#t02 Delta here refers to privacy-impacting changes since the previous review took place (documented earlier in this issue). To ensure we’re using your review time efficiently and minimize back and forth, we’ll send the request when we’ve converged on certain design issues around device types first. We’re targeting CR this year, and want to make sure you have adequate time for final review prior to that transition. |
Thanks for the heads-up. We understand things need to move quickly sometimes, but if you are able to give us 4 weeks (time to review and discuss among PING) that would be most appreciated. |
Clearing the |
The Privacy review was confirmed completed Sep 1, 2022, see w3cping/privacy-request#96 (comment) Closing this issue as part of gardening activities. |
In preparation for the TAG review #89, it is recommended we complete the Self-Review Questionnaire: Security and Privacy for the WebNN API.
Let's use this issue to document the responses to the following questions 2.1-2.17. Please find more context regarding these questions from the self-review document itself.
This feature exposes the
navigator.ml.getNeuralNetworkContext()
factory that encapsulates the rest of the API surface used to create, compile, and run machine learning networks. The API allows web apps to make use of hardware acceleration for neural network inference.The API exposes the minimum amount of information necessary to address the identified use cases for the best performance and reliability of results.
No personal information is exposed.
No sensitive information is exposed.
No.
No information from the underlying platform is exposed directly. An execution time analysis may reveal indirectly the performance of the underlying platform's neural network hardware acceleration capabilities relative to another underlying platform.
No.
The API adheres to the same-origin policy.
No.
This specification enables access to the underlying hardware used to acceleration neural network inference.
No.
No temporary identifiers are exposed.
At the moment, the feature does not distinguish between first-party and third-party contexts. Since the feature gives developers access to hardware accelerated features of the device, we could make it be a policy controlled feature similar to WebXR and its
xr-spatial-tracking
feature identifier.The feature works the same regardless of whether in-private browsing or incognito mode is active.
Work-in-progress at #122
No.
It asked good questions, in particular, 2.15 was helpful for outlining the concerned section.
The text was updated successfully, but these errors were encountered: