# GHSA-jxf5-7x3j-8j9m: Malicious Package in load-from-cwd-or-npm

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T18:19:14.000Z
- Modified: 2021-09-30T20:05:11.000Z
- Weaknesses: CWE-506

## Description

Version 3.0.2 of `load-from-cwd-or-npm`  contains malicious code. The malware breaks functionality of the `purescript-installer` package by injecting targeted code.


## Recommendation

Upgrade to version 3.0.4 or later. There is no indication of further compromise.

(As written by GitHub Advisory Database.)

## Affected

- load-from-cwd-or-npm (npm): from 3.0.2 before 3.0.4

## References

- <https://www.npmjs.com/advisories/1082> (web)

## Sources

- GitHub Advisory Database: [GHSA-jxf5-7x3j-8j9m](https://github.com/advisories/GHSA-jxf5-7x3j-8j9m), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-jxf5-7x3j-8j9m · Whole record: https://cve.day/GHSA-jxf5-7x3j-8j9m.json · Rebuilt by cve.day 2026-11-25T22:56:45.851Z
