# MAL-2026-14222: Malicious code in streak-cal-core (npm)


- **Type:** Malicious package
- **Package:** `streak-cal-core` (npm)
- **Published:** 19 Aug 2026

## What is MAL-2026-14222?

MAL-2026-14222 is a malicious package in streak-cal-core, published on 19 Aug 2026. 

### Official description

index.mjs (the package's main entry) contains a ~500 KB base64-encoded x86-64 ELF payload stored in a `_store` array disguised with a `// --- Calibration Data ---` comment. On import, the module joins the base64 chunks, writes the decoded bytes to disk with mode 0o755, dynamically imports `node:child_process`, and executes the dropped binary. The behavior fires as a top-level import side effect, so any consumer that `require`s or `import`s the package runs the embedded native code. The file's header comment labels the module `streak-larq-hydration` and references `svelte-insight-hydration`, while the package is published as `streak-cal-core` with a README pointing at `svelte-streak-cal` — internal naming does not match the published identity, consistent with a family of sibling typosquat variants. The advertised purpose (dependency-free calendar/streak math helper) is inconsistent with shipping and executing an opaque native binary.

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

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-14222 is a malicious package: streak-cal-core (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-14222/ (Markdown: https://insights.sbomify.com/MAL-2026-14222/index.md)
```

## Sources

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

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