LWA-2026-2290 MAL-2026-5113 ↗ confirmed malware

@redhat-cloud-services/frontend-components@7.7.5

Malicious code in @redhat-cloud-services/frontend-components (npm)

Analysis

This package masquerades as the legitimate @redhat-cloud-services/frontend-components but ships a malicious install-time payload. Its package.json sets a preinstall hook (node index.js) so the code executes automatically when the package is installed. index.js is a single eval() over a Caesar-cipher-decoded character array; that first layer decrypts two AES-128-GCM encrypted blobs using hardcoded keys. The first decrypted blob is a bootstrapper that downloads the bun JavaScript runtime from the official bun GitHub releases URL into a temporary directory, unzips it and marks it executable. The second, larger blob is a heavily obfuscated (string-array rotation) main payload that talks to the GitHub REST API using an Authorization token header, hunts for credentials, and creates or dispatches GitHub Actions workflows in repositories (it parses for workflow_dispatch and writes workflow files with elevated permissions) to persist and spread. The combined behaviour - automatic install-time execution, multi-stage encrypted droppers, fetching an alternate runtime, credential access and self-propagation via injected CI workflows - is characteristic of a self-replicating supply-chain worm and is unambiguously malicious.

analyzed by
Leitwacht
first seen
Jun 1, 2026, 02:23 PM
analyzed
Jun 28, 2026, 06:13 AM
weekly installs
9,821

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.