Skip to main content
MalwarePublished

tavern-ai-sdk (npm) · Malicious Code

Affects tavern-ai-sdkSource GCVE Database

0

Malicious package : remove tavern-ai-sdk and rotate any secrets on hosts that installed it.

Data as of 27 Nov 2026, 02:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20675

What to do

Remove tavern-ai-sdk 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
npmtavern-ai-sdkAffected
  • =1.0.0
Fixed in–

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

Description

The tavern-ai-sdk npm package version 1.0.0 contains malicious code disguised as a persona-JSON loader. It includes large obfuscated JavaScript bundles and native binaries that perform anti-analysis checks for virtual machines and sandboxes. The code references child process execution and AWS-related strings, indicating potential for code execution and cloud credential theft. This malicious behavior is hidden behind innocuous file names and a misleading package purpose.

References

Community reviews

Loading reviews…