npm · Malicious package advisory
Malwareadd-sugar
GHSA-5rm8-vm7q-cv68
Malicious code in add-sugar (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.0.3` ## Source: ossf-package-analysis (8c35253404a0c432c7a012459997f522c42254fc055677eab50061c9f4b39edc) The OpenSSF Package Analysis project identified 'add-sugar' @ 1.0.10 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/add-sugar/MAL-2024-1055.json)) **References:** - https://github.com/ossf/malicious-packages/blob/5d4b3da3177e0aef279e52c6f96e99e7cc135d05/osv/malicious/npm/add-sugar/MAL-2024-1055.json - https://github.com/advisories/GHSA-5rm8-vm7q-cv68
Compromised versions (1)
- = 1.0.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.