Rating:

Solved without modifying the object prototype, but by creating a Function.

Original writeup (https://www.sigflag.at/blog/2020/writeup-angstromctf2020-caasio/).