npm

leo-auth @4.0.6

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

Malicious

OSV ID

MAL-2026-6417

Ecosystem

npm

Summary

The package ships a binding.gyp file containing GYP command-expansion syntax (<!(...) / <!@(...) / <@(...)) inside its sources/targets configuration at line 6. npm implicitly runs node-gyp rebuild whenever a binding.gyp is present (no declared install/postinstall script is required), and the GYP configure step evaluates command-expansion expressions as shell commands. This means installing the package automatically executes the embedded command on the installer's machine before any user code runs. The package is named as an authentication helper and does not ship a real native addon source tree consistent with a legitimate build, so the only purpose of the binding.gyp file is to run the embedded shell command at install time. This is the structural fingerprint of install-time remote code execution via build-config command substitution.

Source: amazon-inspector (6fb699267ee396f96887aa6ab8538a62ecb0d2c0401aac12942b345bbe149928)

Protect your entire dependency tree

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