GHSA-rcv7-4w2m-gj9v Malicious Package in sj-tw-test-security
Malicious npm package executes arbitrary code and opens a reverse shell, granting attackers full system control upon installation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is GHSA-rcv7-4w2m-gj9v?
GHSA-rcv7-4w2m-gj9v is a vulnerability in sj-tw-test-security, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
All versions of sj-tw-test-security contain malicious code. The package downloads and runs a script that opens a reverse shell in the system.
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-rcv7-4w2m-gj9v?
2 open source packages ship an affected version, including sj-tw-test-security.
| Package | Affected | Fixed in |
|---|---|---|
sj-tw-test-security npm | From 0.0.0 | None |
sj-tw-test-security npm | From 0.0.0 | None |
How do I fix GHSA-rcv7-4w2m-gj9v?
No fix has been published for GHSA-rcv7-4w2m-gj9v yet. Limit exposure of the affected software until one is available.
Is GHSA-rcv7-4w2m-gj9v being exploited?
There is no known exploitation of GHSA-rcv7-4w2m-gj9v in the wild and no public exploit code.