ai-sdk-helpers@1.1.0
Malicious code in ai-sdk-helpers (npm)
T1195.002 · Compromise Software Supply ChainT1059 · Command and Scripting InterpreterT1546.016 · Installer PackagesT1082 · System Information DiscoveryT1552.001 · Credentials In FilesT1567 · Exfiltration Over Web Service
Analysis
A postinstall script in this package POSTs developer identity and system information — hostname, OS username, git config email, GitHub CLI identity from ~/.config/gh/hosts.yml, and current working directory — to hxxps://npm-package-logger-228835561205[.]europe-west1[.]run[.]app. This goes well beyond the README's claim of collecting only platform, Node version, and architecture.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:19 PM
- analyzed
- Jun 7, 2026, 06:45 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
- ai-sdk-helpers@0.5.0 same package
- ai-sdk-helpers@0.3.2 same package
- ai-sdk-helpers@0.4.0 same package
- ai-sdk-helpers@0.4.1 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.