cvelo
P2 · HighMalware

Malicious code in ts-input-utils (npm)

  • MAL-2026-20548

Description

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.

Text from the OSV record.

Affected

  • ts-input-utilsnpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.