Unitech / Unitech/pm2

"monorepo-symlink-test" dependencies malicious

Open
#5,669 11 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

when we install pm2 it also install 5 level dependency ""monorepo-symlink-test"" which is known as malicious.

steps:
install pm2 globally
use any sca scanner in project directory or
check /usr/local/lib/node_modules/pm2/node_modules/resolve/test/resolver/multirepo/package.json
you can see "monorepo-symlink-test" there which is malicious on synk website

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting /usr/local/lib/node_modules/pm2/node_modules/resolve/test/resolver/multirepo/package.json and tracing why this test dependency is included in the published global installation. Review the dependency tree and the issue’s scanner report before deciding how the finding should be addressed. Done means the reported dependency concern is resolved and the global installation no longer triggers the finding without breaking dependency tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.