Malicious code in motion-pull (npm)
The npm package motion-pull version 2.3.5 impersonates the pino logger and contains malicious code that exfiltrates environment variables to a remote server. It then executes arbitrary code returned from that server with full module-loading capabilities, enabling remote code execution (RCE). This behavior is obfuscated and designed to steal credentials and execute code on the host system.
AI Analysis
Technical Summary
[email protected] mimics the pino logger by exporting a similar API surface and internally spawns a detached Node.js child process running a script that base64-decodes a hardcoded URL. This script sends the entire process environment variables to the remote endpoint via POST requests with retries. The HTTP response is then executed as code using the Function constructor with require access, allowing the remote server to run arbitrary code within the host process. The code uses obfuscation techniques such as base64 encoding and a shadowed process object to conceal its malicious activity. This constitutes a targeted credential theft and remote code execution payload embedded in an npm package installer.
Potential Impact
An attacker controlling the remote server can receive sensitive environment variables from the victim's system and execute arbitrary code with full module-loading capabilities on the host running [email protected]. This can lead to credential theft, system compromise, and further malicious activity. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using motion-pull version 2.3.5. Since this is a malicious package impersonating a legitimate logger, removing the package and replacing it with a verified pino logger package is recommended. Monitor vendor advisories for any updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in motion-pull (npm)
Description
The npm package motion-pull version 2.3.5 impersonates the pino logger and contains malicious code that exfiltrates environment variables to a remote server. It then executes arbitrary code returned from that server with full module-loading capabilities, enabling remote code execution (RCE). This behavior is obfuscated and designed to steal credentials and execute code on the host system.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
[email protected] mimics the pino logger by exporting a similar API surface and internally spawns a detached Node.js child process running a script that base64-decodes a hardcoded URL. This script sends the entire process environment variables to the remote endpoint via POST requests with retries. The HTTP response is then executed as code using the Function constructor with require access, allowing the remote server to run arbitrary code within the host process. The code uses obfuscation techniques such as base64 encoding and a shadowed process object to conceal its malicious activity. This constitutes a targeted credential theft and remote code execution payload embedded in an npm package installer.
Potential Impact
An attacker controlling the remote server can receive sensitive environment variables from the victim's system and execute arbitrary code with full module-loading capabilities on the host running [email protected]. This can lead to credential theft, system compromise, and further malicious activity. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using motion-pull version 2.3.5. Since this is a malicious package impersonating a legitimate logger, removing the package and replacing it with a verified pino logger package is recommended. Monitor vendor advisories for any updates or official fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10534
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff6868715ace432f1ced
Added to database: 07/14/2026, 09:20:40 UTC
Last enriched: 07/14/2026, 09:34:26 UTC
Last updated: 07/29/2026, 04:00:17 UTC
Views: 28
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.