mus: EventObservers can be used to listen to key events |
|||
Issue descriptionThis is not desirable, as a malicious app could listen for keystrokes intended for a different app. EventObservers are used to implement PointerWatcher, so should continue to get pointer events, but nothing else.
,
May 25 2016
A note from me from the review about the accelerator interfaces: "I just talked to ben@ and sky@. I can't say I understand all the details, but the WindowTree AddAccelerator code can only be invoked by the window manager (via the WindowManagerClient interface, which is an associated interface on the window manager's connection to the WS WindowTree interface). Arbitrary apps can't bind to that interface. The window manager exports an AcceleratorRegistrar interface, but this can only be accessed by apps requesting the capability "mus:window_manager" in their manifest.json files. app_driver is the only app that does this, for things like making Ctrl-N open a browser when none is running. Apps cannot request new capabilities at runtime, so a compromised renderer can't get that interface and install accelerators to spy on keys."
,
Feb 26 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, May 25 2016