Skip to content

In-depth lesson · Prototype pollution

Year by year: 2018

What the disclosed Prototype pollution reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 5 of 5 (of 52 in all)

Clear the search

2018

5 points

Kept working5

  1. Hunters found prototype pollution in individual npm merge, extend and path-setting packages by feeding nested keys named for the prototype.

    Seen in 6 reports
  2. They checked whether a property appeared on all plain objects after passing a nested key into a merge or extend helper.

    Seen in 6 reports
  3. They targeted object merge and extend helper packages on npm where recursive merging of attacker-controlled keys reaches the prototype.

    Seen in 6 reports
  4. They passed a path whose first segment names the prototype into a path-setting helper and saw whether the assignment landed on the shared prototype.

    Seen in 1 report
  5. They focused on libraries that set a value at a dotted or array property path, such as dot-prop and object-path-set.

    Seen in 1 report