Bare minimum setup to reproduce GHSA-7884-8cw4-qpgx. See github/advisory-database#3487 for more details.
This example uses npm
workspaces. There are two private
packages: arduino-ide-extension
, and the other
(naming is irrelevant for the latter).
-
Install the dependencies. The project does not have any dependencies.
npm i
-
Verify the
workspaces
is correctly configured. Expect the project name to be echoed to the standard out.npm run echo
-
Run
npm audit
npm audit
% npm audit
# npm audit report
arduino-ide-extension *
Severity: critical
Malware in arduino-ide-extension - https://github.com/advisories/GHSA-7884-8cw4-qpgx
No fix available
node_modules/arduino-ide-extension
packages/arduino-ide-extension
1 critical severity vulnerability
Some issues need review, and may require choosing
a different dependency.