GHSA-qm4q-f956-fg64 Malicious Package in luna-mock
Malicious npm package luna-mock exfiltrates system info and executes remote code, requiring immediate credential rotation and system cleanup.
- 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-qm4q-f956-fg64?
GHSA-qm4q-f956-fg64 is a vulnerability in luna-mock, 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 luna-mock contain malicious code. The package uploads system information to a remote server, downloads a file and executes it.
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-qm4q-f956-fg64?
2 open source packages ship an affected version, including luna-mock.
| Package | Affected | Fixed in |
|---|---|---|
luna-mock npm | From 0.0.0 | None |
luna-mock npm | From 0.0.0 | None |
How do I fix GHSA-qm4q-f956-fg64?
No fix has been published for GHSA-qm4q-f956-fg64 yet. Limit exposure of the affected software until one is available.
Is GHSA-qm4q-f956-fg64 being exploited?
There is no known exploitation of GHSA-qm4q-f956-fg64 in the wild and no public exploit code.