# MAL-2026-12003: Malicious code in streak-test-mathcore (npm)


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

## What is MAL-2026-12003?

MAL-2026-12003 is a malicious package in streak-test-mathcore, published on 5 Aug 2026. 

### Official description

Package main dist/index.mjs runs a top-level IIFE that spawns dist/math-core.bin via child_process.spawn on any import of the package. The bundled ELF is a remote-access implant that beacons to a hardcoded C2 at 217.60.77.63, accepts remote commands to execute shell, download and run ELF binaries and shellcode from http://217.60.77.63/Others/ and /SC/ endpoints (memfd/tmp chmod+x staging), enumerates and uploads host files including SSH keys, credentials, database contents, and clipboard via chunked POST /api/extract-receive, and installs user-level persistence by writing ~/.config/systemd/user/svc-update.service (labeled 'System Update Service') and running systemctl --user daemon-reload and enable --now. The JS wrapper describes the binary as a 'HIGH-PERFORMANCE MATH ENGINE LOADER' and wraps the spawn in a sham calibration loop; the README advertises dependency-free streak math, unrelated to the shipped binary.

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

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

## Sources

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

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