You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: block forbidden keys in Queryable setter to prevent prototype pollution
Sanitize __proto__, constructor, and prototype keys in the setKeys
function to prevent prototype pollution via npm pkg set. Previously,
passing __proto__.scripts.postinstall as a key would pollute
Object.prototype, causing @npmcli/package-json to write inherited
properties to disk and enabling RCE on next npm install.
Fixes GHSA-jjm5-4238-9vmw
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments