GHSA-f7gc-6hcj-wc42 Malicious Package in path-to-regxep
A malicious npm package exfiltrates cryptocurrency wallets, requiring immediate secret rotation and system remediation for all affected users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-f7gc-6hcj-wc42?
GHSA-f7gc-6hcj-wc42 is a vulnerability in path-to-regxep, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of this package contained malware. The package was designed to find and exfiltrate cryptocurrency wallets.
Recommendation
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.
Which versions are affected by GHSA-f7gc-6hcj-wc42?
2 open source packages ship an affected version, including path-to-regxep.
| Package | Affected | Fixed in |
|---|---|---|
path-to-regxep npm | From 0.0.0 | None |
path-to-regxep npm | From 0.0.0 | None |
How do I fix GHSA-f7gc-6hcj-wc42?
No fix has been published for GHSA-f7gc-6hcj-wc42 yet. Limit exposure of the affected software until one is available.
Is GHSA-f7gc-6hcj-wc42 being exploited?
There is no known exploitation of GHSA-f7gc-6hcj-wc42 in the wild and no public exploit code.