lifestyle-test-utils
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-5f9f-jfwr-xxvp
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in lifestyle-test-utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (804725b6316960d5192b9b46ab823b4bd67f5b15774d1acf1a770a57cfbae84b)
On require() of lifestyle-test-utils, index.js loads _ext.js which selects a platform-specific asset, downloads a binary from one of three Cloudflare Workers hosts whose names are assembled by runtime string-concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT chunked base64 fallback resolver under *.dl.well1.site, writes the payload to /var/tmp or %TEMP% under disguised names (.cache_<hex>, dotnet_diag_<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd. There is no hash or signature verification. Endpoint hostnames are fragmented and reassembled at runtime to evade plain-text scanning. Execution is gated by DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK env checks and a ~5.5 hour re-run stamp file framed as 'analytics_state', a cover story unrelated to the package's stated 'common helpers' purpose. The result is arbitrary attacker-controlled code execution on any host that installs or requires this package.
Source: ghsa-malware (52f1fd0bbf2e98f9327c78d543a71fa9e8a1dfe5d0bd49366aa9d790f495b7df)
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