An Analysis of Code Poisoning (Monkey Patching) JavaScript
CRANK
Monkey patching enables dynamically changing the behavior of JavaScript. While it can be used legitimately, it can also enable attacks like Magecart.