The package shrugging-logging was found to contain malicious code.
mitre ttp
T1195.001
// versions and what to do
Malicious
all versions
Clean
none confirmed
Remove it from every machine and lockfile it reached. Treat any credentials, tokens and SSH keys present on those machines as exposed and rotate them. Check CI runners and container images that installed it.
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
cvss
0.0
critical
severity band, no base score published
epss
not scored
chance of exploitation in 30 days
xyz score
0.0
medium
CyberXYZ composite out of 10
fig. 01 — GHSA-qv78-398w-cxp7, the advisory selected below
// 1 advisories
GHSA-qv78-398w-cxp7
CRITICAL
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.
// cvss v3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Checked 2026-10-04 at 01:13 UTC. The most recent advisory here was published 2020-09-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.