array-flatten-utils@1.0.2
Lightweight array utilities for Node.js
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe Windows native module performs gated, concealed payload execution automatically when the package is imported, which is unrelated to its stated array utility purpose. The other platform binaries could not be analyzed, but the confirmed Windows behavior supports a malicious verdict.
Decision evidence
public snapshot- Importing index.js loads the platform native module twice before exporting the array helpers.
- The Windows native module checks environment variables and screens processes, system resources, and debugger state before proceeding.
- It writes decoded embedded bytes to a temporary-path file named with a .napi_cache suffix, marks the file hidden, and launches it with CreateProcessA.
- The package description and JavaScript exports are array utilities; the automatic native payload behavior is unrelated to that purpose.
- The manifest has no lifecycle scripts, bin, or declared dependencies.
- The Windows binary view shows no network APIs among its listed imports.
- The ELF and Mach-O binary views are unsupported, so their behavior could not be established.
Source & flagged code
8 flaggedImporting index.js loads the platform native module twice before exporting the array helpers.
index.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to array-flatten-utils@1.0.2.
See all versions of array-flatten-utils for other recorded verdicts.
- Avoid installing array-flatten-utils@1.0.2. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.