reactlogo-load
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-8wjj-jqj4-3p7j
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in reactlogo-load (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (a0f9d76fcf9f229c0a11508004a2be764133c6195530c4d56563eb28c358ab5f)
The package presents itself as a logo/color utility but its exported loadLogo() function extracts a URL from LSB-encoded bits of a PNG, fetches the response body, and executes it via a reflective Function-constructor invocation. The 'constructor' property name and the Function reference are hidden behind a deterministic string-shuffle helper (hsvMean) named as a color utility, so no plaintext 'constructor', 'Function', 'eval', or destination URL appears in the source. runInContext binds global.require, module, and exports into the executed script, giving the fetched code full Node runtime capability on the caller's host. Following the README's documented usage (vite/tailwind build integration) triggers the fetch-and-execute path, so arbitrary attacker-controlled code runs on any machine that adopts this library.
Source: ghsa-malware (b601f039e88a447643c767a9b373a4c29abccb87e1bbfa2ab82e3d8c767b5d56)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0