autotel-backends@2.12.26
Malicious code in autotel-backends (npm)
Analysis
The published package contains a top-level index.js whose entire body is wrapped in eval() over a Caesar-cipher (rotate-by-8) encoded string. The decoded bootstrap is an async IIFE that pulls in node:crypto and builds an AES-128-GCM decryptor, then decrypts two hardcoded ciphertext blobs embedded in the file. The first decrypted blob is a runtime dropper: it derives the host OS/arch, constructs a download URL for the Bun JavaScript runtime (github[.]com/oven-sh/bun/releases/download/bun-v1.3.13/bun-<os>-<arch>.zip), fetches it with curl into a freshly created temp directory, unzips it, and chmod 755s the resulting bun binary, exposing its path via globalThis. The second, much larger decrypted blob is a hidden second-stage payload intended to be executed by that downloaded Bun runtime; this multi-megabyte encrypted blob inflates the package to ~4.79MB, roughly 17x a normal release. This is a multi-stage obfuscated dropper that downloads and runs an unsanctioned runtime to execute concealed code, behaviour entirely inconsistent with the package being an OpenTelemetry vendor-backend configuration helper. None of this exists in the legitimate upstream package.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:41 PM
- analyzed
- Jun 28, 2026, 06:34 AM
- weekly installs
- 1,034
Related advisories
- autotel-drizzle@0.0.27
- autotel-adapters@0.3.5
- autotel-aws@0.13.10
- 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
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.