test-dev-dispatch
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-qx8w-r9j6-p4g5
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in test-dev-dispatch (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (2c6205523817ec8f05eccf82a334fa70429c8c326b73c27e031fe991b9abdbdb)
The package exposes handlers that receive messages over a network connection and dispatch them to shell execution, arbitrary-path file exfiltration, and remote-controlled file drops on the installer's host. handleCommand base64-decodes a command field from an incoming message, passes it to executeCommand() from test-dev-exec, and returns stdout to the remote peer via sendMessage(). handleUpload uploads any file path chosen by the remote peer to a remote server (tagged with getHardwareFingerprint()), and handleArchive zips an attacker-chosen directory and uploads it — enabling exfiltration of arbitrary installer files including secrets under ~/.ssh, ~/.aws, and similar paths. handleDownload retrieves a file from a remote server and stages it at an attacker-chosen path on the installer's filesystem, which combined with handleCommand yields staged remote code execution. This is a remote-access/backdoor dataflow: network-sourced bytes drive shell execution, file upload, and file drop on the installer's machine.
Source: ghsa-malware (de211ea2269bf67da36abb6fcfe56f92c6d377246a30c7c1c878ba746a26e65d)
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