Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a denylist of dengerous attributes in lodash.set/index.js #5782

Open
wants to merge 2 commits into
base: npm-packages
Choose a base branch
from

Commits on Nov 30, 2023

  1. add a denylist of dengerous attributes in lodash.set/index.js

    CWE-1321 recommends using a deny-list of dangerous attributes to eliminate the risks of Prototype Pollution.
    
    The method  "set" in the main package (lodash/lodash)  is safe but not the stand alone module (lodash/lodash.set).
    
    example:
    set({}, "__proto__.polluted", true);
    Sampaguitas committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    036d4dd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from Sampaguitas/Sampaguitas-denylist-of-denger…

    …ous-attributes
    
    add a denylist of dengerous attributes in lodash.set/index.js
    Sampaguitas committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    6be6e18 View commit details
    Browse the repository at this point in the history