MAL-2026-12053
Dashboard / Malicious Package / MAL-2026-12053
MAL-2026-12053
Summary: Malicious code in tui-react-mobile-styles (npm)
Details: Source: amazon-inspector (30d6926a3b8c5bc55e60b4d4f98b2e06fb6c04608bb9442058516814dfb54f1b) The package presents itself as a React Native/mobile UI styles library but at module load time performs a full binary dropper chain. index.js require()s./_shim, which runs an init() at module load that reconstructs destination hostnames from split string fragments to yield oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, and oob-worker.cf100-416.workers.dev, plus a DNS-TXT chunked-base64 fallback path over *.dl.well1.site for environments blocking HTTPS. _shim.js downloads a platform-specific payload, writes it to /var/tmp (or %TEMP%) under cover-story filenames (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c "<path> &" or cmd /c start /b. lib/telemetry.js contains the same drop-and-exec primitives (base64 chunk assembly, chmod 0755, detached /bin/sh spawn), with API names split (require("child_" + "process"), fs["chmod" + "Sync"]) to defeat static analysis. The behavior has no relation to the package's stated UI-styles purpose and grants full-host code execution to whoever controls the Workers endpoints on any machine that installs or requires this package.
Affected packages
Package
Name: tui-react-mobile-styles
Purl: pkg:npm/tui-react-mobile-styles
Affected ranges
Type: N/A
Events:
