# MAL-2026-12462: Malicious code in streak-day-engine (npm)


- **Type:** Malicious package
- **Package:** `streak-day-engine` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12462?

MAL-2026-12462 is a malicious package in streak-day-engine, published on 5 Aug 2026. 

### Official description

index.mjs runs a hex-obfuscated top-level async IIFE at module import time. Identifiers and payload constants (`process`, `fetch`, `child_process`, `fs/promises`, target paths, URL, tar command, VBS template) are stored hex-encoded in a `_c` table and decoded via `Buffer.from(h, 'hex').toString()`. On import, the code fetches https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/helper.tar.gz, writes the archive under the user's AppData directory, extracts it via `tar -xzf`, and writes a VBS launcher (`vite-native-helper.vbs`) into `AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup` that uses `CreateObject("WScript.Shell").Run p, 0, False` to invoke the extracted `RenameMe.exe` hidden at every user login. Result: attacker-controlled bytes land on the installer's host on `import`/`require` of the package, and a login-persistent execution channel is established via the Windows Startup folder.

## What should I do about MAL-2026-12462?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-12462 is a malicious package: streak-day-engine (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-12462/ (Markdown: https://insights.sbomify.com/MAL-2026-12462/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-12462

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-12462/
Summaries are generated and may contain mistakes; the official description above is the record.
