Malicious code in ts-input-utils (npm)
MAL-2026-20548
Published · Modified
Dependency scanning
Check whether ts-input-utils is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes