GHSA-8hmr-w35f-3qgj Malicious Package in harmlesspackage
A malicious npm package executes arbitrary code and sends data to a remote server during installation, requiring immediate removal.
- 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-8hmr-w35f-3qgj?
GHSA-8hmr-w35f-3qgj is a vulnerability in harmlesspackage, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Version 0.0.1 of harmlesspackage contains malicious code as a postinstall script. The package printed a message to the console and performed a GET request to a remote server.
Recommendation
Remove the package from your environment. There is no evidence of further compromise.
Which versions are affected by GHSA-8hmr-w35f-3qgj?
2 open source packages ship an affected version, including harmlesspackage.
| Package | Affected | Fixed in |
|---|---|---|
harmlesspackage npm | From 0.0.0 | None |
harmlesspackage npm | From 0.0.0 | None |
How do I fix GHSA-8hmr-w35f-3qgj?
No fix has been published for GHSA-8hmr-w35f-3qgj yet. Limit exposure of the affected software until one is available.
Is GHSA-8hmr-w35f-3qgj being exploited?
There is no known exploitation of GHSA-8hmr-w35f-3qgj in the wild and no public exploit code.