VYPR

npm · Malicious package advisory

Malware

ts-input-utils

GHSA-2774-9v94-pwx8

Malicious code in ts-input-utils (npm)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

Malicious package. Presented as form-input validators, but the postinstall hook runs `scripts/setup.sh`, which targets Google Cloud / GKE build sandboxes (it keys on JULES_SESSION_ID). It queries the GCE metadata server for the project id, then requests OAuth access tokens for the default service account and for a Workload Identity service account, POSTs the raw tokens to https://aaronstack.com/poc/token and https://aaronstack.com/poc/wi-token, probes token scopes via oauth2.googleapis.com/tokeninfo, the Docker socket and network topology, and reports results to https://aaronstack.com/jules-collect with a hardcoded X-Secret header. In a sandboxed install the hook contacted aaronstack.com and metadata.google.internal. Versions 1.0.0 and 1.0.1 have since been unpublished.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/05e932b2f38112c3a851685896f297d840371053/osv/malicious/npm/ts-input-utils/MAL-2026-20548.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/05e932b2f38112c3a851685896f297d840371053/osv/malicious/npm/ts-input-utils/MAL-2026-20548.json
- https://github.com/advisories/GHSA-2774-9v94-pwx8

Compromised versions (1)

  • = 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.