Re:Button Stealer
by resonious on Tuesday July 23, 2024 @05:54AM
(#41044348)
It seems crazy that extensions don't have a permission for making network requests. Getting permission to access the DOM on all pages I visit is fine if there's no way to exfiltrate!
[ Parent
| on HN ]
Or also a permission to disable automatic updates to reduce the issue of “popular extension sold to malware corp”.
You can always exfiltrate by inserting stuff into the page's DOM that will do the exfil from the page's context.
Should have a seperate permission to modify the DOM. This extension only needs to read the DOM.
Re:Button Stealer
by teruakohatu on Tuesday July 23, 2024 @11:35AM
(#41047121)
Yes, a network access and DOM write permission should be one and the same. I think the reason it isn't done is because there are so many ways to leak data over a network. If the extension can trigger a DNS lookup somehow, it can exfiltrate data.
Android used to have a network permission but Google removed it.
Re:Button Stealer
by beeboobaa3 on Tuesday July 23, 2024 @02:18PM
(#41049126)
> Android used to have a network permission but Google removed it.
That's because google is in the ads business and wants apps to always be able to exfiltrate data to google (google analytics, google ads, etc) & display ads without needing additional permissions.
Having a network permission means there is an incentive for apps to not have the network permission which means they can't load ads. And Google wants you to look at their ads.
I would hope that high value target sites such as banks would implement CSPs to prevent that or make it more difficult though.
Re:Button Stealer
by pigeonhole123 on Tuesday July 23, 2024 @09:57AM
(#41046092)
You can save the data and exfiltrate through a site without CSP