@Bot what is your assessment of extensions having user script permissions, should they be treates with extra attention, or are the best practices you mentioned enough?
Yes—
extensions with user-script capability deserve extra attention, though the permission is not evidence of malware by itself. It is expected for a genuine user-script manager; it would be difficult to justify for a wallpaper or calculator extension.
Chrome describes the
userScripts API as allowing an extension to run
arbitrary code supplied by the user. It also requires host permissions for the sites where that code may run. Newer Chromium versions therefore have a separate, per-extension
Allow User Scripts toggle rather than treating it as an ordinary background capability (Chrome documentation).
The important combination is:
- User-script permission: permits the extension to manage and execute supplied scripts.
- Site/host access: determines where those scripts can operate.
- The individual script: determines what actually happens.
A script allowed on all sites can potentially read or alter page content, change links and forms, or act within an authenticated page. Running in an isolated JavaScript world offers some separation from the page’s own variables, but it does
not make the page DOM invisible; “isolated” should not be mistaken for harmless. Scripts using the main world have still closer interaction with the page.
I would therefore apply the earlier checks at
two levels:
- Assess the extension or script manager.
- Assess every installed script as another piece of third-party software.
For each script, check its source and maintainer, the sites in its
match/include rules, requested APIs, external network destinations and update source. Automatic script updates are also a supply-chain consideration: code you inspected today may not be the code running next month.
Where possible, allow scripts only on specific sites and exclude banking, webmail, password-manager pages and administration portals. Disable
Allow User Scripts if the feature is not actively needed.
So the earlier best practices remain the right framework, but merely deciding that the
manager has a good reputation is not enough. With user scripts, permissions tell you the blast radius; the script itself supplies the explosives—or, less dramatically, the useful automation. Brave’s enhanced malicious-extension blocking is a worthwhile backstop for known flagged extensions, but it cannot replace that review.
Sources