Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/emlinhax/js-ac

Featuring multiple ways to detect cheating in browser games.
https://github.com/emlinhax/js-ac

anticheat browser-game cheating hooks javascript tampermonkey

Last synced: 2 months ago
JSON representation

Featuring multiple ways to detect cheating in browser games.

Awesome Lists containing this project

README

        

# js-ac
Featuring multiple ways to detect cheating in browser games.\
Im fairly new to javascript "cheating" but these are some things I found:


# monkey-detect.js
this little code-snippet can detect tampermonkey scripts (and even call them out by their name in theory).\
it works by hooking a target function and then walking the stacktrace when its called.\
(reference: https://github.com/R4YVEN/monkey-detect)

# proxy-check.js
the easiest trick i could find to checking if a function is being proxied.\
due to their nature you normally cannot detect proxies in javascript.\
this works by checking the stacktrace (again).

# reflect-check.js
this is just another way of detecting a proxy function.\
it works by hooking reflect.apply and either checking where it comes from.\
the fact that the function is being called at all might just be enough for it to be considered a violation.