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

ai-sdk-helpers@1.2.1

Malicious code in ai-sdk-helpers (npm)

T1195.002 · Compromise Software Supply Chain

Analysis

Install-time reconnaissance harvester: ai-sdk-helpers@1.2.1 runs a postinstall script that collects os.hostname(), os.userInfo().username, the git email from ~/.gitconfig, the GitHub login/email from ~/.config/gh/hosts.yml, the current working directory, and CI environment variables, then sends all of it to the Cloud Run endpoint npm-package-logger-228835561205[.]europe-west1[.]run[.]app. The package also ships scripts/publish-versions.sh, which (by its own comment) bulk-publishes fake version history to "create the appearance of an active, maintained package." No token-theft markers in this version; the recon stage stages credentials/identifiers for follow-on theft.

analyzed by
Leitwacht
first seen
Jun 7, 2026, 06:19 PM
analyzed
Jun 7, 2026, 06:39 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.