npm

rstreams-metrics @2.0.2

Vulnerability report · Last retrieved from osv.dev June 25, 2026 at 8:41 AM UTC

Malicious

OSV ID

MAL-2026-6432

Ecosystem

npm

Summary

The package ships a binding.gyp file that uses GYP command-expansion syntax (<!(...)) at line 6, in the sources/targets configuration. npm implicitly invokes node-gyp rebuild whenever a binding.gyp is present — even without any declared install/postinstall lifecycle script — and GYP evaluates <!(...) expressions as shell commands during the configure step. This causes arbitrary shell execution on the installer's machine as a side effect of npm install , functionally equivalent to a postinstall hook but hidden inside the native-build configuration. The mechanism is a well-known install-time RCE vector and does not require any user opt-in or explicit CLI invocation.

Source: amazon-inspector (9d9e133bf9dbd9eea22952c5acb674e61c46e4a75b64fd2b9166480094fe0eaf)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.