{"id":"GHSA-qv78-398w-cxp7","aliases":["GHSA-qv78-398w-cxp7"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Package in shrugging-logging","summary":"All versions of `shrugging-logging` contain malicious code as a postinstall script. The package fetches all names of npm packages owned by the user and attempts to add another maintainer to every package as a means of package hijacking,\n\n\n## Recommendation\n\nRemove the package from your system. If you own any packages that were compromised please contact npm security immediately at security@npmjs.com. Also enable 2FA for publishing to further secure packages you maintain.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `shrugging-logging` contain malicious code as a postinstall script. The package fetches all names of npm packages owned by the user and attempts to add another maintainer to every package as a means of package hijacking,\n\n\n## Recommendation\n\nRemove the package from your system. If you own any packages that were compromised please contact npm security immediately at security@npmjs.com. Also enable 2FA for publishing to further secure packages you maintain.","format":"markdown","source":"ghsa"}],"published":"2020-09-11T21:08:19.000Z","modified":"2021-09-30T22:00:05.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":"0","status":"affected"}],"ecosystem":"npm","package":"shrugging-logging","purl":"pkg:npm/shrugging-logging","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/920","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qv78-398w-cxp7","url":"https://github.com/advisories/GHSA-qv78-398w-cxp7","licence":"CC-BY-4.0","modified":"2021-09-30T22:00:05.000Z"}],"updatedAt":"2026-11-25T22:56:46.345Z"}