Malicious code in reactlogo-load (npm)
The npm package reactlogo-load version 1.0.0 contains malicious code that executes arbitrary attacker-controlled scripts. Its loadLogo() function extracts a URL hidden in a PNG image using LSB encoding, fetches the code from that URL, and executes it via a reflective Function constructor invocation. The code obfuscates the use of 'constructor' and 'Function' to evade detection. Execution occurs in the Node.js runtime context, granting full access to the host environment. Using this package as documented triggers the malicious code execution, posing a severe risk to any system that includes it.
AI Analysis
Technical Summary
The reactlogo-load npm package (version 1.0.0) masquerades as a logo/color utility but contains a malicious loadLogo() function. This function decodes a URL embedded in the least significant bits of a PNG image, fetches the remote code from that URL, and executes it dynamically using a reflective Function constructor. The package hides the use of 'constructor' and 'Function' through a deterministic string-shuffle helper named hsvMean, avoiding plaintext detection of these keywords or the destination URL. The executed code runs with full Node.js runtime capabilities by binding global.require, module, and exports, allowing arbitrary code execution on any host that uses this package as per its README instructions.
Potential Impact
Any system that installs and uses reactlogo-load version 1.0.0 and invokes the loadLogo() function as documented will execute arbitrary code fetched from an attacker-controlled URL. This results in full compromise of the host environment, including the ability to run any Node.js code with the privileges of the calling process. This is a critical security risk as it enables remote code execution and potential full system takeover.
Mitigation Recommendations
No official patch or remediation is currently documented for reactlogo-load version 1.0.0. Users should immediately cease using this package and remove it from their projects. Avoid installing or running code from untrusted or unknown npm packages. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in reactlogo-load (npm)
Description
The npm package reactlogo-load version 1.0.0 contains malicious code that executes arbitrary attacker-controlled scripts. Its loadLogo() function extracts a URL hidden in a PNG image using LSB encoding, fetches the code from that URL, and executes it via a reflective Function constructor invocation. The code obfuscates the use of 'constructor' and 'Function' to evade detection. Execution occurs in the Node.js runtime context, granting full access to the host environment. Using this package as documented triggers the malicious code execution, posing a severe risk to any system that includes it.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The reactlogo-load npm package (version 1.0.0) masquerades as a logo/color utility but contains a malicious loadLogo() function. This function decodes a URL embedded in the least significant bits of a PNG image, fetches the remote code from that URL, and executes it dynamically using a reflective Function constructor. The package hides the use of 'constructor' and 'Function' through a deterministic string-shuffle helper named hsvMean, avoiding plaintext detection of these keywords or the destination URL. The executed code runs with full Node.js runtime capabilities by binding global.require, module, and exports, allowing arbitrary code execution on any host that uses this package as per its README instructions.
Potential Impact
Any system that installs and uses reactlogo-load version 1.0.0 and invokes the loadLogo() function as documented will execute arbitrary code fetched from an attacker-controlled URL. This results in full compromise of the host environment, including the ability to run any Node.js code with the privileges of the calling process. This is a critical security risk as it enables remote code execution and potential full system takeover.
Mitigation Recommendations
No official patch or remediation is currently documented for reactlogo-load version 1.0.0. Users should immediately cease using this package and remove it from their projects. Avoid installing or running code from untrusted or unknown npm packages. Monitor for updates or advisories from the package maintainers or npm registry regarding this issue. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-16069
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6aa15f84acd9273b496187e1
Added to database: 09/09/2026, 13:30:44 UTC
Last enriched: 09/09/2026, 14:00:34 UTC
Last updated: 09/09/2026, 23:50:34 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.