npm · Malicious package advisory
Malwarediscord-api-ts
MAL-2024-7750
Malicious code in discord-api-ts (npm)
Details
This package is considered malicious because it contains a heavily obfuscated postinstall.js script with multiple stages of payload execution, resulting in the delivery of QuasarRAT. This allows command and control by a malicious actor. --- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (0a3626a3ca7ff0b0aad0d6f253348feea62a16670319bc0de2e18d56a656279b) 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.
Compromised versions (1)
- 4.6.7
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.