GHSA-9xww-fwh9-95c5 Malicious Package in uglyfi-js

Not scored Published

Malicious npm package executes remote code and opens backdoors, requiring immediate secret rotation and system remediation.

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-9xww-fwh9-95c5?

GHSA-9xww-fwh9-95c5 is a vulnerability in uglyfi-js, 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

Version 3.4.6 of uglyfi-js contains malicious code as a preinstall script. The package is malware designed to take advantage of users making a mistake when typing the name of a module to install. When installed, the package downloads a file from a remote server, executes it and opens a backdoor.

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-9xww-fwh9-95c5?

2 open source packages ship an affected version, including uglyfi-js.

PackageAffectedFixed in
uglyfi-js npmAll versionsNone
uglyfi-js npmAll versionsNone

How do I fix GHSA-9xww-fwh9-95c5?

No fix has been published for GHSA-9xww-fwh9-95c5 yet. Limit exposure of the affected software until one is available.

Is GHSA-9xww-fwh9-95c5 being exploited?

There is no known exploitation of GHSA-9xww-fwh9-95c5 in the wild and no public exploit code.

Sources

Is GHSA-9xww-fwh9-95c5 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free