-
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
Add privacy considerations for cached/persisted data #259
Conversation
(Build fails due to #258) |
fe8e176
to
586cbb6
Compare
(PR rebased, build passes.) |
index.bs
Outdated
@@ -394,7 +394,9 @@ No information from the underlying platform is exposed directly. An execution ti | |||
|
|||
Note: The group is <a href="https://github.com/webmachinelearning/webnn/issues/85">soliciting further input</a> on the proposed execution time analysis fingerprinting vector and will augment this section with more information and mitigations to inform the implementers of this API. | |||
|
|||
Implementers of this API are expected to be familiar with the <a href="https://gpuweb.github.io/gpuweb/#security-privacy">WebGPU Privacy Considerations</a>. | |||
This API mitigates against timing attacks that rely on data caching or persistence by not intrinsically supporting custom shader authoring. Instead, the API builds upon pre-existing shaders and lower level primitives of the browser or the underlying OS. Web developers who interface with {{GPUDevice}} are expected to be aware of <a href="https://gpuweb.github.io/gpuweb/#privacy-user-agent-state">WebGPU compilation cache considerations</a>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this sentence may be a bit backward. Should we say "Unlike APIs like WebGL, and WebGPU; this API does not intrinsically supporting custom shader authoring; and as a result is not prone to timing attacks that rely on shader caches, or other persistent data. "?
Thanks @krgovind et al. for the suggestion. The PR has been updated, PTAL. |
@krgovind, gentle ping PTAL the updated PR (I'll resolve the merge conflict after getting your review.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you.
Update Acknowledgements
ce57e2d
to
887eafc
Compare
PTAL @huningxin @wchao1115 As discussed we wanted to refresh the privacy considerations. It is fine to do that in a piecemeal fashion as review feedback such as this comes in. (Another possible privacy-impacting design considerations we want to settle on will be around device selection, normative vs. hint. Once that design settles, we're good to re-engage with PING.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @anssiko !
With two reviews, I'll merge this. Thanks @krgovind and @huningxin! |
Fix #254
Preview | Diff