SECURITY-ISSUE: node_module dependency "ua-parser-js" is hijacked by malware
See original GitHub issue🐛 Bug Report
ua-parser-js version 0.7.29 and higher contain malware https://github.com/faisalman/ua-parser-js/issues/536#issue-1033602182
Prerequisites
- I’m using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io
- I have read the console error message carefully (if applicable)
Description
one of the dependency installed with npm install of the latest docusaurus version was hijacked by a malware executable file. See above mentionned github issue link where you will get more details.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:13
- Comments:6
Top Results From Across the Web
NPM Library (ua-parser-js) Hijacked: What You Need to Know
This package is used “to detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data,” with nearly 8 million weekly downloads ...
Read more >Popular NPM package UA-Parser-JS poisoned with ...
Three malicious versions of the UA-Parser-JS library, ... believes the package was hijacked after attackers compromised his NPM account.
Read more >Malware Found in UA-Parser-JS NPM Library - Telerik
Hackers hijacked the UA-Parser-JS Node Package Manager (NPM) library to infect Linux and Windows devices with password-stealing trojans and ...
Read more >Popular npm Project Used by Millions Hijacked in Supply ...
Legitimate component “ua-parser-js” is itself hijacked. The "jsextension.exe" cryptominer found inside it is the same binary as the one used in ...
Read more >Important: ua-parser-js exploit and Kotlin/JS - The JetBrains Blog
On the 22nd of October at 5:06 pm CEST a message was posted on the #javascript channel of the Kotlin Slack about a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Looks like this security vulnerability in our transitive dependency
ua-parser-jsis fixed now, and malware code is not available for download, so please reinstall your npm packages. Or at least make sure, that your package-lock.json or yarn.lock file not containsua-parser-jswith one of these versions: 0.7.29, 0.8.0, 1.0.0.Expo has a good write-up on this: https://blog.expo.dev/ua-parser-js-and-malicious-npm-packages-8c13ee4141a