News for hackers. Stuff that matters.
Re:Checking if a JavaScript native function is monkey patched by cabirum on Monday August 01, 2022 @12:01PM (#32308019)
Are there legit cases where monkey patching native funcs is justified? Many scanners report this as vulnerability, so I would expect browsers and standards bodies to eventually prohibit messing with native apis.
Re:Checking if a JavaScript native function is monkey patched by mmazzarolo on Monday August 01, 2022 @12:18PM (#32308311)
Off the top of my head:

- Overriding the fetch/XHR API for error monitoring (there's no other way to listen for them unless you use Service Workers)

- Polyfilling features on top of existing APIs

But you might not see them as "justified".