Greaselion should provide an API for validating that message is from Greaselion
See original GitHub issueThis issue came up during a security review for https://github.com/brave/brave-core/pull/5440.
Greaselion content scripts are currently downloaded on-the-fly and given a dynamically-generated extension ID when installed locally. The problem with this approach is that other extensions could send messages to Brave and the browser would have no way to authenticate that they were sent by Greaselion extensions.
One idea I can think of is to enhance the Greaselion.json
file to support an id
key, allowing content script creators to specify a static extension ID for Greaselion to use. The Greaselion service could then insert this id into the manifest when generating the given extension.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
What does "greaselion" do and how does it work?
Incidentally, I had the same problem as the user at the second link but I'm braver and just zapped them all right away...
Read more >Brave Browser 1.45.131 Dual x86x64 [Silent] - Installer Repacks ...
Complete with a built-in ad blocker that prevents tracking and provides security ... due to Greaselion precondition not being met with multiple profiles....
Read more >brave-core: org.chromium.chrome.browser.crypto_wallet.util.Utils ...
This method should be used to make substring of a string clickable Example: This is <ph ... SendToAccountAddress.validate(), and ... String, message,.
Read more >Greaselion information : r/brave_browser - Reddit
Where can I find docs on Greaselion? I would very much like to make my own user scripts for BB on Android.
Read more >Untitled
Kbrn savunma taburu konya, Simon willis blog, Fxsts 1991, Ways to have your hair down, ... Christopher mcdonald grease, Lion heads around melbourne,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@petemill that would be an extremely bad idea and even if you added it to api_features, I’m pretty sure it still wouldn’t work correctly. The APIs that content scripts can access are intentionally limited for security reasons
That sounds fine as long as all greaselion scripts are maintained by us.