ai-sdk-helpers@1.4.1
Malicious code in ai-sdk-helpers (npm)
T1195.002 · Compromise Software Supply Chain
Analysis
A postinstall script collects PII — hostname, OS username, git config email, GitHub CLI identity, current working directory, platform, and architecture — and POSTs it to a Google Cloud Run endpoint. The README claims "anonymous diagnostics" while the script actually transmits email addresses and identity data. This is deceptive install-time identity harvesting.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:20 PM
- analyzed
- Jun 7, 2026, 06:30 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
- ai-sdk-helpers@1.2.0 same package
- ai-sdk-helpers@1.2.1 same package
- ai-sdk-helpers@1.3.0 same package
- ai-sdk-helpers@0.1.2 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.