3 ms·
> I just cant imagine living in such a world where each system had to know fully well ahead of time each type of data it might want to interact with, might have
by shadowgovt 4y ago
> I just cant imagine living in such a world where each system had to know fully well ahead of time each type of data it might want to interact with, might have to have that precompiled & baked in
At the level of a browser extension (which, operating outside the per-page security sandbox, has wide latitude to observe and manipulate the user's experience and interactions with the web), the new way of thinking is that such forward-declared constraint should be the prerequisite for the security-conscious extension.
By all means, change your behavior over time... By the process of pushing new versions of the extension, which can be statically analyzed, and forward-declaring the permissions you need to accomplish your tasks. Anything else is asking the user to trust a stranger (both to not be malicious and to not be inept).
> That's a shitty miserable world that looks like the hell JS plucked us out of
JS plucked us out of one hell and put us, initially, into another where any old website could fake a query to get your bank account data or steal your password. We've been digging out of that hell ever since, and this is another step in that process.
- rektide 4y ago> By all means, change your behavior over time... By the process of pushing new versions of the extension, which can be statically analyzed, and forward-declaring the permissions you need to accomplish your tasks. A ridiculous proposition on the web. User agency ought be able to grow & expand the wider the set of data they encounter. To propose that each new type of data encountered requires a new version of the extension is a farce. All for weak & vague & unspecified fears. Be afraid user! You need this restriction, anything else would be dangerous to you! It's been uncompromising stances, offering no middle ground, no opt-out, disregarding all valid cases. Fearocracy. Security concerns are ruling with fear & absolutism. With no public evidence no escape hatches no real accountability. This is degrading.
- wvenable 4y ago> To propose that each new type of data encountered requires a new version of the extension is a farce. How can a program operate meaningfully on data that the programmer knows nothing about? I'd love for you to describe an actual example.
- shadowgovt 4y ago> All for weak & vague & unspecified fears. Be afraid user! I wouldn't say "afraid," but "cautious" and "skeptical" are good attitudes to have regarding extensions with global permissions that can execute arbitrary JavaScript that originates from a source other than the signed files in the manifest directory, yes. https://courses.csail.mit.edu/6.857/2019/project/10-Oh-Chen-Ding-Guo.pdf https://courses.csail.mit.edu/6.857/2019/project/10-Oh-Chen-... https://www.ghacks.net/2019/07/22/how-to-search-all-chrome-extensions-for-the-dangerous-unsafe-eval/ https://www.ghacks.net/2019/07/22/how-to-search-all-chrome-e...