Possible exploit: auto-clicking webapp
See original GitHub issueThere is a probability of edge case where Mastodon web application might be exploited by some instance admin (or fork by association) to automatically click “boost”, “favourite”, “follow”, etc., which can go undetected for enough time.
To recap, web application will be able to do malicious actions on behalf of the extension’s user (there is few that it can do, but still significant). Already seeing a potential for dispatchEvent
there.
I don’t yet know how to warrant solid safety from this exploit, here are just some options I considered:
- place a warning in extension’s menu;
- make up a list of possible violators as a blacklist (which is not really an option, given the little age of window for exploit);
- intercept such clicks, but somehow detect whether they were really done by hand (should find a way that can’t be reproduced by a script) - if action is not made by user interation, simply don’t mirror it to original instance.
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Issues · Lartsch/FediAct - GitHub
Possible exploit : auto-clicking webapp enhancement New feature or request help wanted Extra attention is needed Looking into it.
Read more >Tekya auto-clicker malware exploits kids' Android apps
Google has removed multiple apps for children that were found to contain Tekya auto-clicker malware.
Read more >Can a website tell if I'm using an auto clicker (program ... - Quora
In theory, no, it should not be possible for a Web page, by itself, ... Usually such findings can be published in a...
Read more >Is using an Autoclicker cheating? discussion on Kongregate ...
This isn't a multiplayer game, so you can do what you want, but that doesn't mean it isn't a cheat. > > >...
Read more >RELLsin @RELLGames on Twitter: "Autofarm = exploit farm ...
4:09 AM · Oct 1, 2020 ·Twitter Web App ... Wait so auto clicking allowed??? ... Most likely I doubt they mean autoclickers...
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 Free
Top 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
Found out that
Event.isTrusted
is one reliable way to check for genuine user click/press.Even redefining custom event interface with faked
isTrusted = true
won’t pass the error likeUncaught TypeError: can't redefine non-configurable property "isTrusted"
.Doing a PR now 😊👍
Ah, OK, I was very busy lately anyway, so I appreciate you taking it over, @Lartsch. Good stuff!