# GHSA-qv78-398w-cxp7: Malicious Package in shrugging-logging

- 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-11T21:08:19.000Z
- Modified: 2021-09-30T22:00:05.000Z
- Weaknesses: CWE-506

## Description

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,


## Recommendation

Remove 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.

(As written by GitHub Advisory Database.)

## Affected

- shrugging-logging (npm): all versions

## References

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

## Sources

- GitHub Advisory Database: [GHSA-qv78-398w-cxp7](https://github.com/advisories/GHSA-qv78-398w-cxp7), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-qv78-398w-cxp7 · Whole record: https://cve.day/GHSA-qv78-398w-cxp7.json · Rebuilt by cve.day 2026-11-25T22:56:46.345Z
