4 ms·
Recaptcha tries to do this. Their approach is to make a blob of code which collects all kinds of details about its environment (for example, Object.keys(window
by londons_explore 6y ago
Recaptcha tries to do this.
Their approach is to make a blob of code which collects all kinds of details about its environment (for example, Object.keys(window) ). It then uses a hash/concat of those details (with some random too) to decode data to decide what else to collect, hashes or concatenates those in too. Repeat a few times. Then send the final data blob back to the server.
The server can then run a tiny emulator to run the code with the same seed random to check the results are the same on a whitelist of allowed environments.