Skip to content

An editorial team and a community building with AI

← All articles

News · GitHub Security Advisories / npm · 2 min read

Event date: · Published:

GitHub flags npm packages char-ai-sdk and character-ai-sdk as malware

GitHub's Advisory Database published two malware advisories on November 19, 2026 for npm packages posing as AI SDKs that run obfuscated droppers with no patched version available.

GitHub Security Advisories flagged two npm packages that impersonate AI SDKs as malware on November 19, 2026, publishing the char-ai-sdk advisory in GitHub's Advisory Database.

What the advisories flag

  • char-ai-sdk, version 1.0.0, is flagged as malware in GHSA-5f9p-65w4-73v8 (published November 19, 2026); it ships four obfuscated files disguised with fake build-cache filenames that run automatically on install or import.
  • Its native addon checks for hypervisor, QEMU, VirtualBox, Docker, Podman and WSL signatures to evade sandbox analysis.
  • Both advisories are classified under CWE-506, Embedded Malicious Code.
  • character-ai-sdk, versions 1.0.0 and 1.0.1, is flagged as malware in the character-ai-sdk advisory, also published November 19, 2026; it presents itself as a persona or memory SDK but runs roughly 300 KB of obfuscated loader code on module import.
  • Its native addons perform VM and sandbox detection using QEMU, VirtualBox, DMI and MAC-address checks alongside process-control behavior.
  • No patched version exists for either package; GitHub advises treating any host that installed either as fully compromised and rotating all credentials from a clean machine.

What it means for AI builders

Developers searching npm for an AI SDK by name can land on a full-compromise dropper with no safe version to fall back to, a sign of the ongoing wave of AI-tool-impersonating supply chain attacks. Because both packages run their payloads on install or import and actively check for sandboxes and virtual machines before acting, routine code review or a quick look inside a VM will not reliably catch them.

What to do now

Teams that installed char-ai-sdk or character-ai-sdk should treat the affected host as fully compromised, since neither package has a patched release to update to. GitHub recommends rotating all credentials from a separate, clean machine rather than from the infected host itself.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

GitHub flags npm packages char-ai-sdk and character-ai-sdk as malware | vibecoding.inc