motion-tool
This report shows the evidence for motion-tool@2.3.8, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-4615 confirms this npm version as malicious.
Advisory
MAL-2026-4615
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in motion-tool (npm)
Details
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.
## Source: ghsa-malware (43abf1e27b44f8aa962b83a85c9c9b28ab5698f0b1abca5e22af781b93fd3c57) 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.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to motion-tool@2.3.8.
The versions list below shows the verdict for each recorded version.
- Avoid installing motion-tool@2.3.8. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.