autotel-aws@0.13.10
Malicious code in autotel-aws (npm)
Analysis
This version of autotel-aws is a trojanized build of the legitimate OpenTelemetry AWS instrumentation package. It achieves code execution at install time without any npm lifecycle script: the bundled binding.gyp file is weaponized so that node-gyp (run automatically by npm when a binding.gyp is present) executes the package index.js, with its output redirected to /dev/null to suppress evidence. The index.js is heavily obfuscated — it applies a ROT-style letter-substitution decoder to a large embedded character-code array and passes the result directly to eval. The decoded first stage is an async routine that loads node:crypto and builds an AES-128-GCM decryptor, then decrypts a multi-megabyte embedded ciphertext blob and executes it as a second stage. The behaviour is consistent with a self-propagating npm worm that, once running, harvests cloud and registry credentials and OIDC tokens and spreads by abusing compromised maintainer accounts and repositories. The package size is ~5.5x larger than prior legitimate releases, reflecting the embedded encrypted payload.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:41 PM
- analyzed
- Jun 28, 2026, 06:31 AM
- weekly installs
- 1,040
Related advisories
- path-internal@1.0.10
- autotel-tanstack@1.13.27
- ezymail@2.0.6
- @immobiliarelabs/backstage-plugin-gitlab-backend@3.0.3
- anthropic-internal-tools@1.0.0
- @apexcraft/nano-key@1.3.5
- codyx-ai-linux-x64-musl@1.14.42
- leo-aws@2.0.4
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.