BuilderIO / partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. πŸŽ‰

Home Page:https://partytown.builder.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[🐞] SAST scanner triggers CWE-95 vuln finding in partytown-ww-atomics.js

bretlowery opened this issue Β· comments

Describe the bug

Some of our teams are using Partytown, and they are getting CWE-95 vulns triggered from SAST/DAST scans with a "Very High" severity rating on this call:

new Function(scriptContent).call(env.$window$);

in partytown-ww-atomics.js

I am unable to provide further details such as the vendor names of the security tools we use, but multiple scanners over several vendors are reporting this.

Reproduction

n/a

Steps to reproduce

Would require a SAST scan of code using the .js

Browser Info

n/a

Additional Information

CWE-95