JavaScript, Secure Coding, Prototype, Hacking, Defensive Security.
think that we will prevent the attack 3 with Object.create() method. attack4.js What a wonderful attack, right? The attacker will mutate Object.create() method. In attack 3, we created a new object with Object.create and give null as a parameter right. In this way, we secured the clear prototype.