array-flatten-utils@1.0.1
Lightweight array utilities for Node.js
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe package automatically loads a Windows native module that decodes and executes a staged JavaScript payload, with checks for analysis tools. This is concealed, unrelated execution triggered by import, so the package is malicious.
Decision evidence
public snapshot- On import, index.js synchronously loads a platform-specific native module.
- The Windows native module reads a `.napi_cache` file and XOR-decodes its contents.
- It writes the decoded payload to a temporary `.js` file and launches it with `CreateProcessA`; embedded strings identify a `node` command.
- The native module checks for debugger presence and process names associated with analysis tools.
- The JavaScript exports ordinary `flatten`, `compact` and `unique` array helpers.
- The manifest declares no lifecycle scripts or dependencies.
Source & flagged code
9 flaggedOn import, index.js synchronously loads a platform-specific native module.
index.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to array-flatten-utils@1.0.1.
See all versions of array-flatten-utils for other recorded verdicts.
- Avoid installing array-flatten-utils@1.0.1. 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.