babel-polyfill-plugin-corejs2
babel-polyfill-plugin-corejs2 supports the usage-pure, usage-global, and entry-global methods. When entry-global is used, it replaces imports to core-js.
This report shows the evidence for babel-polyfill-plugin-corejs2@1.0.1. 1 of 3 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe distributed main entrypoint contains an obfuscated, import-triggered remote payload loader unrelated to the package’s stated functionality. Absence of lifecycle hooks does not mitigate runtime remote code execution.
Decision evidence
public snapshot- package.json loads lib/index.js as its main entrypoint.
- lib/index.js appends a large obfuscated Function payload after otherwise normal subscription code.
- The payload immediately invokes its async loader during module import.
- The loader obtains axios, performs an obfuscated remote request, then constructs and invokes code from the response.
- package.json contains no npm lifecycle hook.
Source & flagged code
4 flagged · loading sourcelib/index.js appends a large obfuscated Function payload after otherwise normal subscription code.
lib/index.jsView on unpkg · L57The payload immediately invokes its async loader during module import.
lib/index.jsView on unpkg · L57Package source references a known benign dynamic code generation pattern.
lib/index.jsView on unpkg · L56Findings
Affected versions and remediation
This report applies to babel-polyfill-plugin-corejs2@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing babel-polyfill-plugin-corejs2@1.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.