Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cortex XDR flags dependency as malware #5796

Closed
5 tasks
joshleblanc opened this issue Oct 27, 2021 · 3 comments
Closed
5 tasks

Cortex XDR flags dependency as malware #5796

joshleblanc opened this issue Oct 27, 2021 · 3 comments
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request

Comments

@joshleblanc
Copy link

馃悰 Bug Report

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

Not really a bug - but if you install the latest version of Docusaurus and follow that up with yarn install, Cortex XDR flags one of your dependencies as a trojan.

Steps to reproduce

  1. run `npm init docusuaurs@latest [name] classic
  2. run yarn install

Expected behavior

The install to work

Actual behavior

Anti-virus throws a fit

image
image
image

Your environment

  • Public source code: https://github.com/joshleblanc/crayta-docs
  • Docusaurus version used: 2.0.0-beta.8
  • Environment name and version (e.g. Chrome 78.0.3904.108, Node.js 10.17.0): Node v14.17.0
  • Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 10 Pro 21H1
@joshleblanc joshleblanc added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Oct 27, 2021
@Josh-Cena
Copy link
Collaborator

#5769 Really surprised to see it still in effect

@joshleblanc
Copy link
Author

@Josh-Cena That's my mistake. This happened on the 22nd, I'm only just getting around to reporting it now.

Looks like this is already resolved.

@slorber
Copy link
Collaborator

slorber commented Oct 27, 2021

@joshleblanc here's a good overview of the problem: https://blog.expo.dev/ua-parser-js-and-malicious-npm-packages-8c13ee4141a

Was wondering, if you run yarn install again, does it still contain the malicious package? Is your lockfile updated after a re-install?

@Josh-Cena Josh-Cena added closed: duplicate This issue or pull request already exists in another issue or pull request and removed status: needs triage This issue has not been triaged by maintainers labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants