kvarzo-8f3a2-testmetest
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-cfr8-88wx-3j9g
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in kvarzo-8f3a2-testmetest (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (7901219714947e0995a049f9c26620fa8586f9c41bff2c3ed141168f008c0bae)
[email protected] ships as a 'test package' whose index.js has no exported API: on require() it platform-dispatches to one of three bundled native N-API addons (native.napi.node, native_mac.node, native_win.node) inside a try/catch and prints 'hello'. The native addons read a shipped 1.3MB opaque.napi_cache blob, decrypt it, write the decrypted payload to /tmp/.<pid> on POSIX (via fork + setsid + execlp) or %TEMP%\...nc<pid>.js on Windows (via CreateProcessA with SetFileAttributesA to hide the file), and execute it detached. The payload content is non-auditable from source and runs on every import of the package. The native code additionally enumerates CI environment variables (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), inspects /proc/1/cgroup, /proc/self/status TracerPid, /proc/self/maps and /proc/1/cmdline, and on Windows calls IsDebuggerPresent, CheckRemoteDebuggerPresent, and Process32First/Next scanning for 'wireshark' and 'httpdebug' to suppress behavior in analysis environments. The combination of an encrypted dropper, hidden-file execution, environment evasion, and a placeholder library surface gives the author arbitrary code execution on any machine that installs and loads the package.
Source: ghsa-malware (585289d80a705650a586dbdc453c0d5a6ed2399a338bf1309dfff7e41a804472)
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