Skip to content
OpenAdvisories
Malicious MAL-2026-6552

insomnia-plugin-poc-m4gester

npm package · versions 1.0.0

Reported Jun 28, 2026 · Updated Jun 28, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (0eb7024d158c345559d9f130ba3a6b52563328467ec6bb560e196e5c7bc9b955)
package.json declares a postinstall lifecycle hook that runs a shell command writing a marker file to /tmp on `npm install` (`"postinstall": "echo PWNED_BY_DEEPLINK > /tmp/..."`). The package ships no library code, no plugin implementation, and the description field is literally "test" — there is no advertised functionality to justify the install-time shell execution. The package name `insomnia-plugin-poc-m4gester` further self-identifies as a proof-of-concept exploit targeting the Insomnia REST client plugin namespace. Installing this package results in attacker-chosen shell execution on the installer's machine; the current payload is benign (a marker file write) but the mechanism is arbitrary code execution at install time and could trivially be swapped for a destructive or exfiltrating command in a future version.