Chrome App+Ext Permissions overly broad?
target: source release
In security the principle of least privileges says that you should only request permission you also need. Thereby you're minimizing the capabilities of a vulnerability.
I've just began to read the code but the permissions in the app and the extension's manifest.json seem overly broad.
For example:
- access to *.appspot.com is not needed
- webview is requested but not used
- access to facebook is not used (currently not implemented)
- video/audio is not used (currently not implemented)
- oauth scopes are requested by extension, but app does oauth requests?
- requesting accounts.google.com access can lead to a lot of havoc. I don't think this is the Chrome-intended way to do oauth?
- etc.
This might be a good time to document (for dev + curious users) why you're requesting which permission.
New auth flow is needed for this... @salomegeo : how do you feel about prioritizing implementing the new auth flow (this week)? :)
Perfect. I wanted some small non-firefox task anyway.
On Mon, Jul 28, 2014 at 3:11 PM, Lucas Dixon [email protected] wrote:
Assigned #256 https://github.com/uProxy/uproxy/issues/256 to @salomegeo https://github.com/salomegeo.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/256#event-146396815.
yay! :)
On Mon, Jul 28, 2014 at 6:04 PM, salomegeo [email protected] wrote:
Perfect. I wanted some small non-firefox task anyway.
On Mon, Jul 28, 2014 at 3:11 PM, Lucas Dixon [email protected] wrote:
Assigned #256 https://github.com/uProxy/uproxy/issues/256 to @salomegeo https://github.com/salomegeo.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/256#event-146396815.
— Reply to this email directly or view it on GitHub https://github.com/uProxy/uproxy/issues/256#issuecomment-50408770.
Lucas Dixon | Google Ideas
The new tab auth flow is completed in Chrome (https://github.com/uProxy/uproxy/pull/320), so we should be able to update the website permissions now
Fixed in: https://github.com/uProxy/uproxy/pull/362
LGTM