dwyl / dwyl/learn-security

NPM package ua-parser-js compromised

Open
#77 1 comment 3 reactions 0 assignees View on GitHub
chore
Dominant language
No language data
Stars
66
Forks
10
PR merge metrics
No merged PRs in 30d

Description

From the [GitHub security advisory](https://github.com/advisories/GHSA-pjwm-rvh2-c87w):

> The npm package ua-parser-js had three versions published with malicious code. Users of affected versions (0.7.29, 0.8.0, 1.0.0) should upgrade as soon as possible and check their systems for suspicious activity. See this issue for details as they unfold.
>
> 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.

Current analysis on the malware seems to suggest it will persist after removal of the packages from the infected computer. It seems to export credentials and browser cookie data.

As this malware seems to effect Windows/macOS/Linux and isn't caught by many antivirus tools/the OS a clean install is recommended if any device is affected.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.