Author Topic: Polyfill.JS  (Read 552 times)

0 Members and 1 Guest are viewing this topic.

Offline Amey

  • Newbie
  • *
  • Posts: 1
Polyfill.JS
« on: December 01, 2023, 10:58:59 AM »
For me it is showing POLYFILL.JS virus detected every 5 minutes. I do not know what this is so I wanted to ask is it an app which has a virus or an false detection.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33925
  • malware fighter
Re: Polyfill.JS
« Reply #1 on: December 01, 2023, 12:11:02 PM »
By default, the modules that were polyfilled in Webpack are mirrored over.
However, if you don't want a module like console to be polyfilled you can specify alises to be skipped here.
Code: [Select]
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
// Other rules...
plugins: [
new NodePolyfillPlugin({
excludeAliases: ['console']
})
]
};
source -> https://github.com/Richienb/node-polyfill-webpack-plugin

Take a full scan with MBAM, see what it finds, and then start to use a good javascript blocker in the browser like NuTensor.

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!