GHSA-9q9m-m2f6-jr5q Malicious Package in chak
A typosquatted npm package exfiltrates installation metadata to a remote server, requiring users to remove the malicious dependency.
- 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-9q9m-m2f6-jr5q?
GHSA-9q9m-m2f6-jr5q is a vulnerability in chak, published on 2 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 chak typosquatted a popular package of similar name and tracked users who had installed the incorrect package. The package uploaded information to a remote server including: name of the downloaded package, name of the intended package, the Node version and whether the process was running as sudo. There is no further compromise.
Recommendation
Remove the package from your dependencies and always ensure package names are typed correctly upon installation.
Which versions are affected by GHSA-9q9m-m2f6-jr5q?
2 open source packages ship an affected version, including chak.
| Package | Affected | Fixed in |
|---|---|---|
chak npm | All versions | None |
chak npm | All versions | None |
How do I fix GHSA-9q9m-m2f6-jr5q?
No fix has been published for GHSA-9q9m-m2f6-jr5q yet. Limit exposure of the affected software until one is available.
Is GHSA-9q9m-m2f6-jr5q being exploited?
There is no known exploitation of GHSA-9q9m-m2f6-jr5q in the wild and no public exploit code.