@brandkit/theme (npm) · Malicious Code
Affects @brandkit/themeSource GCVE Database
Malicious package : remove @brandkit/theme and rotate any secrets on hosts that installed it.
Data as of 19 Nov 2026, 07:51 UTC
Malicious package
Published to npm · OSV MAL-2026-20041
What to do
Remove @brandkit/theme 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
| Product | Affected | Fixed in |
|---|---|---|
| npm@brandkit/theme | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
@brandkit/theme versions 2.4.1 and 2.4.2 include a postinstall script that downloads and executes an unsigned native binary from an external Gitea repository. This binary collects environment variables including sensitive API keys and sends them to a public request-capturing service, exposing credentials present during installation.