{"id":"GHSA-mfc2-93pr-jf92","aliases":["GHSA-mfc2-93pr-jf92"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious code in `loadyaml`","summary":"npm packages `loadyaml` and `electorn` were removed from the npm registry for containing malicious code. Upon installation the package runs a preinstall script that writes a public comment on GitHub containing the following information:\n- IP and IP-based geolocation\n- home directory name\n- local username \n\nThe malicious packages have been removed from the npm registry and the leaked content removed from GitHub.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"npm packages `loadyaml` and `electorn` were removed from the npm registry for containing malicious code. Upon installation the package runs a preinstall script that writes a public comment on GitHub containing the following information:\n- IP and IP-based geolocation\n- home directory name\n- local username \n\nThe malicious packages have been removed from the npm registry and the leaked content removed from GitHub.","format":"markdown","source":"ghsa"}],"published":"2020-10-01T17:10:15.000Z","modified":"2020-10-01T17:09:29.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.2"}],"ecosystem":"npm","package":"loadyaml","purl":"pkg:npm/loadyaml","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1563","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mfc2-93pr-jf92","url":"https://github.com/advisories/GHSA-mfc2-93pr-jf92","licence":"CC-BY-4.0","modified":"2020-10-01T17:09:29.000Z"}],"updatedAt":"2026-11-25T22:56:45.939Z"}