Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsAvoid using load-from-cwd-or-npm version 3.0.2 altogether. Furthermore, upgrade load-from-cwd-or-npm to version 3.0.4 or higher.
load-from-cwd-or-npm is a package that can be used to load a module from either CWD or npm CLI directory.
Affected versions of this package are Malicious.
Version 3.0.2 of the packge was found to contain malicous code. The malicious code when executed, breaks functionality of the purescript-installer package by injecting targeted code.