GitHub Advisoryadvisory · npm
GHSA-qv78-398w-cxp7 Malicious Package in shrugging-logging
CRITICAL
Official page ↗
- Ecosystem
- npm
- Packages
- shrugging-logging
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-506
- Reviewed
- 2020-08-31
Affected packages
• npm shrugging-logging: all versions (no fix yet)
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 [email protected]. Also enable 2FA for publishing to further secure packages you maintain.
Related
Weakness · CWE (1)
- CWE-506 Embedded Malicious Code weakness