The npm package self-sign contains malicious code in its generate() function in version 5.6.7 and related versions. This function accepts an undocumented third parameter that, when passed a string, strips certificate headers, base64-decodes the content, and evaluates it with eval(), enabling arbitrary JavaScript execution. The package name and require identifier mismatch may cause confusion with a legitimate library. Any system with this package installed should be considered fully compromised, and secrets should be rotated immediately.