New issue
Advanced search Search tips

Issue 727143 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug


Participants' hotlists:
Hotlist-1


Sign in to add a comment

Need a permission warning for chrome extension API system.storage

Reported by tom.k.hi...@gmail.com, May 28 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. Install the extension
2. The extension does not show any security warnings
3. If any removable storage is inserted it will immediately be ejected

What is the expected behavior?
A warning is shown when installing the extension that the extension could eject media.

What went wrong?
There is no warning this could be used to affect users by sending data about removable media to the owner of the extension and ejecting them while in use. This could damage files on the storage media or interrupt usage of the device.

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 58.0.3029.110  Channel: stable
OS Version: 10.0
Flash Version:
 
autoEject.zip
573 bytes Download
autoEject.crx
1.1 KB Download
Cc: jbanavatu@chromium.org
Components: Platform>Extensions>API
Labels: M-60
Status: Untriaged (was: Unconfirmed)
Able to reproduce on Windows-10 using chrome stable M58-58.0.3029.110 and latest M61-61.0.3115.0 
This is Non-regression issue seen from M-35. So, marking it as Untriaged to get more inputs from dev team.

Thanks!
Labels: -M-60 M-61
Cc: rdevlin....@chromium.org
Owner: srahim@chromium.org
Status: Assigned (was: Untriaged)
Summary: Need a permission warning for chrome extension API system.storage (was: No warning for chrome extension API system.storage)
I agree there should be a warning for this.  There's no reason the system storage API shouldn't have one.  srahim@, can you help us wordsmith a bit? :)

The documentation for the API is at https://developer.chrome.com/extensions/system_storage, and the short version is that this lets the extension query and eject connected storage devices.
Components: Privacy
Maybe something like
• Query and Eject storage devices.

Comment 6 by srahim@chromium.org, Jun 22 2017

Devlin & I discussed and we propose "Identify and eject storage devices" for the permission string.

Comment 7 by srahim@chromium.org, Jun 22 2017

Owner: rdevlin....@chromium.org
Sounds good.
Labels: -Arch-x86_64 -M-61 M-62 OS-Chrome OS-Linux OS-Mac
Status: Fixed (was: Assigned)
crbug was down at the time, but revision c851bb7638c6e07be84af43fef43afd769e62d6e adds this permission.  Closing this out.

Sign in to add a comment