Skip to main content
MalwarePublished

modsync (npm) · Malicious Code

Affects modsyncSource GCVE Database

0

Malicious package : remove modsync and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:25 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14257

What to do

Remove modsync from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmmodsyncAffected
  • =5.0.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'modsync' version 5.0.2 is identified as malicious. It masquerades as a pino-like logger/middleware but contains a large obfuscated payload executed at module load time. The obfuscation and plagiarized documentation indicate the package is designed to hide malicious behavior rather than provide legitimate functionality.

References

Community reviews

Loading reviews…