{"id":"GHSA-jxf5-7x3j-8j9m","aliases":["GHSA-jxf5-7x3j-8j9m"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in load-from-cwd-or-npm","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 3.0.4 or later. There is no indication of further compromise.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 3.0.4 or later. There is no indication of further compromise.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T18:19:14.000Z","modified":"2021-09-30T20:05:11.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.2","status":"affected","fixed":"3.0.4"}],"ecosystem":"npm","package":"load-from-cwd-or-npm","purl":"pkg:npm/load-from-cwd-or-npm","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1082","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jxf5-7x3j-8j9m","url":"https://github.com/advisories/GHSA-jxf5-7x3j-8j9m","licence":"CC-BY-4.0","modified":"2021-09-30T20:05:11.000Z"}],"updatedAt":"2026-11-25T22:56:45.851Z"}