# MAL-2026-4615: Malicious code in motion-tool (npm)


- **Type:** Malicious package
- **Package:** `motion-tool` (npm)
- **Published:** 25 May 2026
- **Also known as:** GHSA-hw79-5457-g9c3

## What is MAL-2026-4615?

MAL-2026-4615 is a malicious package in motion-tool, published on 25 May 2026. 

### Official description

This package masquerades as the `pino` logger (README copied from pino, exports `module.exports.pino = middleware`) but its middleware does no logging. When the exported function is invoked, index.js detach-spawns `node lib/initializeCaller.js` with `detached: true`, `stdio: 'ignore'`, and `child.unref()` so the child outlives the parent and runs silently. lib/initializeCaller.js shadows `process.env` with a local object whose `DEV_API_KEY` field is a base64 string decoding to `https://purple-kelila-79.tiiny.site/data.json`; an `x-secret-key` header is decoded the same way. The script fetches that anonymous tiiny.site URL via axios, takes `response.data.cookie`, and executes it with `new Function.constructor('require', response)(require)`, retrying up to 5 times. This grants the operator of `purple-kelila-79.tiiny.site` arbitrary code execution with full Node `require` access on any host that uses this package. The combination of (a) impersonation of a popular logger, (b) remote-code-fetch-and-execute from an anonymous static host with no integrity check, (c) base64 obfuscation disguised as developer env vars, and (d) detached-spawn lifecycle evasion is unambiguous active-attack shape.

Any 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.

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

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-4615 is a malicious package: motion-tool (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-4615/ (Markdown: https://insights.sbomify.com/MAL-2026-4615/index.md)
```

## Sources

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

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