SIGN IN SIGN UP

A modern JavaScript utility library delivering modularity, performance, & extras.

0 0 2 JavaScript

Prevent prototype pollution on baseUnset function

* test: add tests to prevent security regressions

* sec: prevent prototype pollution on `baseUnset` function

* chore: improve security patch

- Expand both `_.omit` & `_.unset` security tests to loop over `__proto__`, `constructor`, `prototype`
- Only block `__proto__` if not an own property
U
Ulises Gascón committed
edadd452146f7e4bad4ea684e955708931d84d81
Parent: 4879a7a
Committed by jdalton <john.david.dalton@gmail.com> on 12/5/2025, 6:29:20 PM