tavern-ai-sdk@1.0.0
Tavern AI SDK: default personality models with prompts, traits, and memory seeds - a persona loader that pairs with character-memory-runtime.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package hides process-launching behavior behind its persona API and ships a separate obfuscated module that evaluates code reconstructed from network transaction data. That is concrete concealed remote code execution unrelated to the package's stated purpose.
Decision evidence
public snapshot- The public getPersona() API calls into an obfuscated cache module on first use.
- That module starts a detached Node process while scanning package and project paths.
- The shipped build-cache.mjs queries network data and parses recent transaction input.
- It reconstructs a string from that data, evaluates it, and starts a detached process with it.
- The package metadata describes a persona SDK and exposes personas.mjs as its main entry point.
Source & flagged code
7 flaggedThe shipped build-cache.mjs queries network data and parses recent transaction input.
build-cache.mjsView on unpkg · L2The shipped build-cache.mjs queries network data and parses recent transaction input.
build-cache.mjsView on unpkg · L2Package source references dynamic require/import behavior.
build-cache.mjsView on unpkg · L1Package ships native binary artifacts.
native/linux/x64/cache-probe.nodeView on unpkgThe public getPersona() API calls into an obfuscated cache module on first use.
personas.mjsView on unpkg · L23The public getPersona() API calls into an obfuscated cache module on first use.
cache-warm.mjsView on unpkg · L2That module starts a detached Node process while scanning package and project paths.
cache-warm.mjsView on unpkg · L2Findings
Affected versions and remediation
This report applies to tavern-ai-sdk@1.0.0.
See all versions of tavern-ai-sdk for other recorded verdicts.
- Avoid installing tavern-ai-sdk@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.