autotel-mcp-instrumentation@29.0.2
Malicious code in autotel-mcp-instrumentation (npm)
Analysis
This package masquerades as an OpenTelemetry instrumentation library for the Model Context Protocol, and its TypeScript source and built dist/ output are indeed a clean tracing library. However, the published tarball also ships a top-level index.js that is not part of that library and is a multi-stage obfuscated dropper. index.js wraps a string-of-character-codes payload in an eval() of a Caesar-cipher decoder function; decoding it reveals an async loader that imports node:crypto and uses AES-128-GCM (createDecipheriv with hex key/IV and an auth tag) to decrypt large hex-encoded ciphertext blobs embedded in the same file, then eval()s the decrypted code. The encrypted second stage accounts for a roughly tenfold size increase of the package (about 0.5MB to 5MB). Layered obfuscation plus runtime decrypt-and-eval of a hidden payload that has no relationship to the advertised observability functionality is characteristic of malware staging, and the decrypted code is concealed precisely to evade static review.
- analyzed by
- Leitwacht
- first seen
- Jun 7, 2026, 06:55 PM
- analyzed
- Jun 28, 2026, 06:36 AM
- weekly installs
- 826
Related advisories
- executable-stories-vitest@2.0.1
- autotel-backends@2.12.26
- 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
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.