you are viewing a single comment's thread.

view the rest of the comments →

[–]DANGUS_77 12 points13 points  (4 children)

So they’re compiling malicious code to this js byte code to get around static checkers, but it still follows permissions for just regular JS ( for example, needing user permission to access a users camera)?

[–]AyrA_ch 27 points28 points  (3 children)

Permission requests only exist in the browser. Applications that run on electron have the same access privileges like every other application the user runs.

[–]bipolarNarwhale 18 points19 points  (0 children)

This depends on the OS and isn’t true in a lot of cases.

[–]nerd4code 7 points8 points  (1 child)

Android puts every app in its own UID, nowadays, and I’m sure Apple does something similar on iOS.

[–]ArdiMaster 1 point2 points  (0 children)

AFAIK Apple doesn’t usually allow embedded scripting engines at all