PT-2020-21468
Published
2020-09-11
·
Updated
2020-09-11
Description by
CVSS 3.1
9.8
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
shrugging-logging versions (affected versions not specified)
Description
The issue concerns malicious code in the
shrugging-logging package, specifically a postinstall script. This script fetches the names of npm packages owned by the user and attempts to add another maintainer to every package, which is a means of package hijacking.Recommendations
Remove the
shrugging-logging package from your system.
If you own any packages that were compromised, contact npm security immediately at security@npmjs.com.
Enable 2FA for publishing to further secure packages you maintain. Found an issue in the description? Have something to add? Feel free to write us 👾