ai-sdk-helpers@1.4.2
Malicious code in ai-sdk-helpers (npm)
Analysis
A postinstall script in this package harvests developer identity and system information — reading the git config (email) from ~/.gitconfig and GitHub CLI credentials from ~/.config/gh/hosts.yml, plus hostname, OS username, and current working directory — and POSTs it to hxxps://npm-package-logger-228835561205[.]europe-west1[.]run[.]app. The README understates the collection scope, claiming only platform/Node/architecture are gathered. The package has no working library code (its declared dist/index.js entry point is absent), serving only as a delivery vehicle for the install-time identity-harvesting beacon.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:20 PM
- analyzed
- Jun 7, 2026, 06:27 PM
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
- @cloudplatform-single-spa/enterprise@99.99.99
- @cloudplatform-single-spa/notification-gateway@99.99.99
- @cloudplatform-single-spa/security-groups@99.99.99
- @cloudplatform-single-spa/svp-gateways@99.99.99
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.