axa-group / bauta.js

Bauta.js is an add-on for your Node.js applications such as Express.js or Fastify.
Other
42 stars 3 forks source link

Fix code scanning alert - Prototype-polluting assignment #62

Open franher opened 1 year ago

franher commented 1 year ago

Tracking issue for:

franher commented 1 year ago

A possible way to avoid this vulnerability is using Object.defineProperty (see https://github.com/json5/json5/commit/62a65408408d40aeea14c7869ed327acead12972).