Malicious code in insomnia-plugin-poc-m4gester-run (npm)
The npm package insomnia-plugin-poc-m4gester-run version 1.0.0 contains malicious code that executes arbitrary commands on Windows machines during installation. Specifically, its postinstall lifecycle hook runs calc.exe, demonstrating the capability for remote code execution at install time. The package does not provide any legitimate Insomnia plugin functionality and appears to be a proof-of-concept for exploitation. This behavior poses a risk to developers who install this package on Windows systems.
AI Analysis
Technical Summary
The npm package insomnia-plugin-poc-m4gester-run version 1.0.0 declares a postinstall lifecycle hook that executes calc.exe on the installer's Windows machine during npm install. The package exports an empty requestHooks array, providing no actual plugin functionality. The postinstall hook enables arbitrary command execution at install time, effectively allowing remote code execution on the developer's machine. The package name and behavior indicate it is a proof-of-concept malicious package designed to demonstrate install-time RCE via npm.
Potential Impact
Any developer installing insomnia-plugin-poc-m4gester-run version 1.0.0 on a Windows system will have arbitrary commands executed during installation, leading to potential full compromise of the development environment. Although the current payload is benign (calc.exe), the mechanism allows execution of any commands, posing a significant security risk.
Mitigation Recommendations
No official patch or fix is available for this package. The best mitigation is to avoid installing insomnia-plugin-poc-m4gester-run version 1.0.0 or any similarly suspicious packages. Developers should verify package authenticity and source before installation. Since this is a malicious package published on npm, consider reporting it to npm security teams for removal.
Malicious code in insomnia-plugin-poc-m4gester-run (npm)
Description
The npm package insomnia-plugin-poc-m4gester-run version 1.0.0 contains malicious code that executes arbitrary commands on Windows machines during installation. Specifically, its postinstall lifecycle hook runs calc.exe, demonstrating the capability for remote code execution at install time. The package does not provide any legitimate Insomnia plugin functionality and appears to be a proof-of-concept for exploitation. This behavior poses a risk to developers who install this package on Windows systems.
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
The npm package insomnia-plugin-poc-m4gester-run version 1.0.0 declares a postinstall lifecycle hook that executes calc.exe on the installer's Windows machine during npm install. The package exports an empty requestHooks array, providing no actual plugin functionality. The postinstall hook enables arbitrary command execution at install time, effectively allowing remote code execution on the developer's machine. The package name and behavior indicate it is a proof-of-concept malicious package designed to demonstrate install-time RCE via npm.
Potential Impact
Any developer installing insomnia-plugin-poc-m4gester-run version 1.0.0 on a Windows system will have arbitrary commands executed during installation, leading to potential full compromise of the development environment. Although the current payload is benign (calc.exe), the mechanism allows execution of any commands, posing a significant security risk.
Mitigation Recommendations
No official patch or fix is available for this package. The best mitigation is to avoid installing insomnia-plugin-poc-m4gester-run version 1.0.0 or any similarly suspicious packages. Developers should verify package authenticity and source before installation. Since this is a malicious package published on npm, consider reporting it to npm security teams for removal.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10493
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff9d68715ace432f6b30
Added to database: 07/14/2026, 09:21:33 UTC
Last enriched: 07/14/2026, 09:52:12 UTC
Last updated: 07/22/2026, 19:39:40 UTC
Views: 11
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.