greensaver
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
This report shows the evidence for greensaver@1.2.3. 3 of 3 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is a concealed install-time remote code execution chain, not functionality required for a glob matcher. The automatic execution, opaque payload retrieval, evaluation, and cleanup establish malicious intent.
Decision evidence
public snapshot- The automatic postinstall hook runs the package's main library.
- The library decodes hidden code from bundled map files, writes it as JavaScript, and loads it.
- The decoded hidden code fetches an encrypted remote payload, decrypts it, and evaluates it.
- The loader deletes the encoded and temporary payload files after loading them.
- The library base64-decodes data and writes it as a JavaScript file.
- The visible exported API is a glob matcher.
- No direct credential upload was confirmed in the visible loader.
Source & flagged code
4 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThe automatic postinstall hook runs the package's main library.
package.jsonView on unpkg · L32Findings
Affected versions and remediation
This report applies to greensaver@1.2.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing greensaver@1.2.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.