LWA-2026-2561 MAL-2026-5565 ↗ confirmed malware

ai-sdk-helpers@1.3.1

Malicious code in ai-sdk-helpers (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

A postinstall hook (scripts/postinstall.js) harvests PII at install time: it reads ~/.gitconfig for the git email and ~/.config/gh/hosts.yml for GitHub login/email, then POSTs hostname, username, git email, GitHub login, and current working directory to hxxps://npm-package-logger-228835561205[.]europe-west1[.]run[.]app (not the claimed ai-sdk.guide). The README claims the data is "anonymous" and "one-way hashed" — both false; raw identifiable data is exfiltrated. The library files are legitimate re-exports from the ai package, serving as camouflage for the install-time identity harvesting.

analyzed by
Leitwacht
first seen
Jun 7, 2026, 06:20 PM
analyzed
Jun 7, 2026, 06:34 PM
npm package ↗ OSV record MAL-2026-5565 ↗ source repo (declared, defanged): hxxps://github[.]com/ai-sdk-guide/ai-sdk-helpers Request takedown / dispute →

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.