JavaScript Prototypes Behind the Scenes
summary
Shows exactly how new sets an object’s internal prototype to the function’s object.create blueprint and how methods live on prototypes while per-instance state ends up on the object (demo: ++ creates an own property). Demonstrates the __proto__ and constructor paths to reach the global prototype and reproduces a real-world prototype pollution chain (lodash → Kibana) that yields RCE via merged JSON. Recommends creating null-prototype data objects and using npm install secure jsonpass.
AI-written summary · about
chapters (4)
related talks
21mUnraveling JavaScript Prototypes
01h 52mPro.Prototypes Workshop
28mJavaScript inheritance: beyond the basics
38mExploring the Enigmatic: Navigating JS's Uncharted Realms
54mPatterns for Programming in JavaScript
26mJavaScript Metaprogramming - ES6 Proxy Use and Abuse
39mJavascript for people who didn't learn Javascript
50mMetaprogramming in JavaScript
