question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 clear or yarn clear command.
  • I have tried rm -rf node_modules yarn.lock package-lock.json and 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:closed
  • Created 2 years ago
  • Reactions:13
  • Comments:6

github_iconTop GitHub Comments

3reactions
lex111commented, Oct 25, 2021

Looks like this security vulnerability in our transitive dependency ua-parser-js is 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 contains ua-parser-js with one of these versions: 0.7.29, 0.8.0, 1.0.0.

1reaction
slorbercommented, Oct 27, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found