Skip to content
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

Disable Accelerometer use while Vibration API is in use #69

Open
MrBrain295 opened this issue Oct 22, 2023 · 3 comments
Open

Disable Accelerometer use while Vibration API is in use #69

MrBrain295 opened this issue Oct 22, 2023 · 3 comments

Comments

@MrBrain295
Copy link

The accelerometer could be used to fingerprint people if it is used at the same time as the vibration API. This could be prevented by having the accelerometer disabled or collecting data at a lower accuracy when the vibration API is in use.

@anssiko
Copy link
Member

anssiko commented Oct 23, 2023

Thanks for the proposal. The WG has discussed this type of an attack and has decided that a spec-conformant implementation may stop the sensor or reduce accuracy when the device is vibrating. These two mitigations help address not just vibration-based fingerprinting but also e.g. password skimming attacks the WG has also investigated.

While we're here, I'd like to share that this WG responsible for the Sensor APIs is chartered with a privacy focus and works with privacy researchers to analyze new attacks and specify mitigations to them. We also work with the general public and equally appreciate your contributions.

Please let us know if this satisfies your requirements or whether you'd like to suggest normative changes or informative clarifications to the specification(s). Please note the Accelerometer spec extends the Generic Sensor API spec, and it is the latter that defines the generic mitigations. Thank you.

@reillyeon
Copy link
Member

Since the Vibration API requires the page to have visibility and the Accelerometer API requires the page to have focus it should already be difficult (though not impossible) for the APIs to be used at the same time.

@reillyeon
Copy link
Member

Discussed at the TPAC 2024 F2F:

Given the mitigations discussed above the potential attack vector is a site using both the Vibration and Accelerometer APIs at the same time to measure the vibration produced in order to fingerprint the device. This is a novel idea but requires research to demonstrate its efficacy.

If research shows that this produces useful fingerprinting data implementations can use the approaches mentioned above to stop the sensor when the Vibration API is in use.

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

No branches or pull requests

3 participants