VYPR

npm · Malicious package advisory

Malware

ethers-mew

GHSA-9679-4v84-w327

Malicious code in ethers-mew (npm)

Details

**Severity:** Critical

**Affected versions:** `= 6.13.4`

The package contains additional code to append a hardcoded SSH key to the user's authorized_keys file, creating a backoor, along with exfiltrating user private keys to an attack-controlled server.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/ethers-mew/MAL-2024-9424.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/71b5ccd62809b0f6e173eff59b5900130cf7fc02/osv/malicious/npm/ethers-mew/MAL-2024-9424.json
- https://github.com/advisories/GHSA-9679-4v84-w327

Compromised versions (1)

  • = 6.13.4

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.