leo-logger @1.0.8
Vulnerability report · Last retrieved from osv.dev June 25, 2026 at 8:41 AM UTC
OSV ID
MAL-2026-6429
Ecosystem
npm
Summary
The package's binding.gyp contains GYP command-expansion syntax ( <!(...) / <!@(...) ) at line 6 inside a sources/targets field. npm implicitly runs node-gyp rebuild whenever a binding.gyp is present — even with no declared install/postinstall script — and GYP evaluates these expressions as shell commands during the configure step. This causes the embedded command to execute on every npm install of this package, functionally equivalent to a malicious lifecycle hook. The package presents itself as a 'logger' but ships no native C/C++ source that would justify a node-gyp build configuration, so the binding.gyp's only effective purpose is to trigger command execution at install time.
Source: amazon-inspector (b98872e21922ce7f9c334cab2e829035050df2964019c2879a9646710afc501f)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.