MAL-2026-12826Malicious code in beaver-ui-storybook-addon-code-description (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | beaver-ui-storybook-addon-code-description | * |
| npm | beaver-ui-storybook-addon-code-description | 35.7.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12826","published":"2026-08-05T14:47:36Z","modified":"2026-08-06T01:00:37.756787056Z","aliases":["GHSA-cx2x-43mx-9cw3"],"summary":"Malicious code in beaver-ui-storybook-addon-code-description (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a8105d085fbf1a6ec1018ac850555ec02e022725ce198f54ac291133b847d9db)\nOn require() of the package main, _loader.js selects an OS-specific endpoint, downloads a binary via https.get from one of several hardcoded Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to /tmp/.cache_<hex> or %TEMP%\\dotnet_diag_<hex>.exe, chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. If HTTPS retrieval fails, the loader falls back to a DNS-TXT covert channel: it queries TXT records under *.dl.wel1.ru subdomains (sdk/ext/pkg/net.dl.wel1.ru), concatenates base64 chunks across sequentially-numbered records, decodes, writes, and executes the payload. No hash or signature verification is performed. C2 hostnames are assembled at runtime via array.join(\"\") splits to evade static string matching, and the code is framed with cover-story names (analytics_state, dotnet_diag_, DISABLE_TELEMETRY opt-out) unrelated to the package's declared Storybook-addon purpose. Fetched destinations are unrelated to the publisher's stated purpose, and the payload is attacker-controlled arbitrary code executed on the installer's machine at package load time.\n\n## Source: ghsa-malware (16b18111e619307c26865a435d893b1e8947711075425743f4f1d34820a1ad77)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"name":"beaver-ui-storybook-addon-code-description","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["35.7.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_loader.js","sha256":"7d6482954474efb58b851cba2a9e13441d4e1a6972774a8fdb1f759564e60317","tlsh":"cea1966a166630084bb0dbe4c6175416f657f2637280c2d4fb9c69981fb222483f3efc"}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/beaver-ui-storybook-addon-code-description/v/35.7.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cx2x-43mx-9cw3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015556","import_time":"2026-08-05T15:19:57.815175403Z","modified_time":"2026-08-05T15:04:21Z","sha256":"a8105d085fbf1a6ec1018ac850555ec02e022725ce198f54ac291133b847d9db","source":"amazon-inspector","versions":["35.7.7"]},{"id":"GHSA-cx2x-43mx-9cw3","import_time":"2026-08-06T00:58:53.357123082Z","modified_time":"2026-08-05T14:47:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"16b18111e619307c26865a435d893b1e8947711075425743f4f1d34820a1ad77","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0