fetch-page-assets
A versatile Node.js module for extracting assets (such as CSS files, JavaScript files, fonts, and images) from HTML content or URLs.
This report shows the evidence for fetch-page-assets@1.2.16. 8 of 8 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is a concrete, obfuscated remote-code loader with an explicit eval and detached process launch. Although it is not install-time, its execution through the package test path is malicious.
Decision evidence
public snapshot- babel.config.cjs appends a large obfuscated program after the Babel configuration.
- The hidden program locates a blockchain-derived address, fetches an encoded payload, evaluates it, and starts a detached Node process.
- The test setup routes JavaScript through babel-jest, so running the declared test command loads the malicious Babel configuration.
- package.json has no install or postinstall lifecycle hook.
- The published asset-extraction module is separate from the hidden Babel configuration payload.
Source & flagged code
7 flagged · loading sourceSource file is highly similar to a previously finalized malicious package; route for source-aware review.
index.test.tsView on unpkgPackage source references dynamic require/import behavior.
index.test.tsView on unpkg · L6Findings
Affected versions and remediation
This report applies to fetch-page-assets@1.2.16.
The versions list below shows the verdict for each recorded version.
- Avoid installing fetch-page-assets@1.2.16. 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.