Malicious code in tui-react-tooltip (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5fe18ff84117bb416a0069e88f29f3ce0d3544395e20168f270d73ce757fc8df) The package advertises itself as a React tooltip UI component, but `index.js` (declared `main`) unconditionally requires `_loader.js`, which on module load downloads a platform-specific binary from hardcoded hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS-TXT fallback to tin.dl.well1.site / tina.dl.well1.site / ldr.dl.well1.site / win.dl.well1.site, writes it to `/tmp` or `%TEMP%` under disguised names (`.cache_<rnd>`, `dotnet_diag_<rnd>.exe`), chmods it 0755 on POSIX, and spawns it detached via `/bin/sh -c` or `cmd.exe start /b`. The destination hostnames and the `child_process` module reference are assembled via string-split/array-join concat (e.g. `["oob","-worker.cf103-070.","workers.de","v"].join("")`) to evade static string scanners. A TTL marker in the temp directory suppresses re-execution. Sibling file `lib/telemetry.js` (~81 KB, not reached from `main` in this version) contains a parallel base64-decode → writeFile → chmod 755 → `/bin/sh -c` dropper variant, indicating a staged alternate payload. The package's advertised UI-component purpose has no legitimate need to fetch and execute an alien binary. ## Source: ghsa-malware (9d6303541cec8ff28926813b076ddf03b12ef254db21fe8022173073badbe49a) 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.
AI Analysis
Technical Summary
The 'tui-react-tooltip' npm package version 20.5.4 includes malicious code in its main entry point 'index.js' that unconditionally loads a loader script which downloads a platform-specific binary from several hardcoded external domains. The binary is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned detached via shell commands. The code uses string concatenation to evade static detection. Additionally, a sibling file 'lib/telemetry.js' contains an alternate payload dropper variant not invoked in this version. This behavior is inconsistent with the package's advertised React tooltip UI component functionality, confirming malicious intent.
Potential Impact
Users installing or importing version 20.5.4 of 'tui-react-tooltip' risk executing arbitrary code on their systems due to the automatic download and execution of an external binary. This can lead to system compromise, unauthorized code execution, and potential persistence via disguised executables. The malicious payload is delivered without user consent and bypasses typical static detection through obfuscation.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 20.5.4 of 'tui-react-tooltip' from their projects and avoid installing it. It is recommended to audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected binaries in temporary directories and remove them. Check vendor or repository advisories for updates or removal notices.
Malicious code in tui-react-tooltip (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5fe18ff84117bb416a0069e88f29f3ce0d3544395e20168f270d73ce757fc8df) The package advertises itself as a React tooltip UI component, but `index.js` (declared `main`) unconditionally requires `_loader.js`, which on module load downloads a platform-specific binary from hardcoded hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev) with a DNS-TXT fallback to tin.dl.well1.site / tina.dl.well1.site / ldr.dl.well1.site / win.dl.well1.site, writes it to `/tmp` or `%TEMP%` under disguised names (`.cache_<rnd>`, `dotnet_diag_<rnd>.exe`), chmods it 0755 on POSIX, and spawns it detached via `/bin/sh -c` or `cmd.exe start /b`. The destination hostnames and the `child_process` module reference are assembled via string-split/array-join concat (e.g. `["oob","-worker.cf103-070.","workers.de","v"].join("")`) to evade static string scanners. A TTL marker in the temp directory suppresses re-execution. Sibling file `lib/telemetry.js` (~81 KB, not reached from `main` in this version) contains a parallel base64-decode → writeFile → chmod 755 → `/bin/sh -c` dropper variant, indicating a staged alternate payload. The package's advertised UI-component purpose has no legitimate need to fetch and execute an alien binary. ## Source: ghsa-malware (9d6303541cec8ff28926813b076ddf03b12ef254db21fe8022173073badbe49a) 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.
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 'tui-react-tooltip' npm package version 20.5.4 includes malicious code in its main entry point 'index.js' that unconditionally loads a loader script which downloads a platform-specific binary from several hardcoded external domains. The binary is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned detached via shell commands. The code uses string concatenation to evade static detection. Additionally, a sibling file 'lib/telemetry.js' contains an alternate payload dropper variant not invoked in this version. This behavior is inconsistent with the package's advertised React tooltip UI component functionality, confirming malicious intent.
Potential Impact
Users installing or importing version 20.5.4 of 'tui-react-tooltip' risk executing arbitrary code on their systems due to the automatic download and execution of an external binary. This can lead to system compromise, unauthorized code execution, and potential persistence via disguised executables. The malicious payload is delivered without user consent and bypasses typical static detection through obfuscation.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove version 20.5.4 of 'tui-react-tooltip' from their projects and avoid installing it. It is recommended to audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected binaries in temporary directories and remove them. Check vendor or repository advisories for updates or removal notices.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12489
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735745bf8831d539159f07
Added to database: 08/05/2026, 15:31:17 UTC
Last enriched: 08/05/2026, 17:24:54 UTC
Last updated: 09/18/2026, 22:43:38 UTC
Views: 19
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.