Skip to main content
MalwarePublished

lovable-tager (npm) · Malicious Code

Affects lovable-tagerSource GCVE Database

0

Malicious package : remove lovable-tager and rotate any secrets on hosts that installed it.

Data as of 10 Jul 2026, 10:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10088

What to do

Remove lovable-tager 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
npmlovable-tagerAffected
  • =1.4.0
  • =1.4.1
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 'lovable-tager' is a typosquatting malicious package impersonating the legitimate 'lovable-tagger' Vite plugin. Its ESM build contains obfuscated malicious code appended after the clean plugin code, which executes attacker-controlled code when loaded in a Node environment. This code can access require, filesystem, and network capabilities of the build host. The CommonJS build does not contain this payload, indicating the malicious code was added post-build and hidden via tab padding. Versions 1.4.0 and 1.4.1 are affected.

References

Community reviews

Loading reviews…