This report shows the evidence for imgbundle@1.0.2. 3 of 5 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-17330 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as clean; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-17330 confirms this npm version as malicious.
Advisory
MAL-2026-17330
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in imgbundle (npm)
Details
The package advertises itself as an image bundler, but index.js performs no image bundling. On require, a top-level IIFE reads an AES-256-CBC-encrypted file at `cdn-img-fetch/.cache/banner.jpg` inside the sibling dependency `cdn-img-fetch`, decrypts it with a hardcoded key derived from `sha256('nif-runtime-2027')`, writes the plaintext to `cdn-img-fetch/.runtime/rt.jpg`, deletes the source file, and registers an `fs.watch` on the source directory so the decrypt-and-stage step still fires if the encrypted blob is delivered later. The package also calls `cif.ensureCached()` on the `cdn-img-fetch` dependency in an error-recovery path, wiring the two packages together as a coordinated staged dropper: `cdn-img-fetch` supplies the encrypted bytes and `imgbundle` acts as the decoder that materializes attacker-controlled content onto the installer's filesystem at import time. The README description of image bundling does not correspond to any code path in the module, and hardcoded-AES-key decryption of an opaque blob from another package is not a legitimate implementation of that stated purpose.
## Source: ghsa-malware (6175161f6fa075711e55b1f0db7d346357ce5593b1e3b48fc30cd85aaad81576) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
LPM's AI review found this version clean. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The inspected source contains ordinary caller-directed asset copying and no concrete malicious behavior. The imported external dependency is unavailable for inspection, which limits confidence but does not itself establish an attack.
Static reason
No blocking static signals were detected.
Trigger
Import loads cdn-img-fetch; calling bundle activates local file operations.
Impact
Caller-selected output files may be created or overwritten. No malicious effect is established by the available source.
Mechanism
The function creates a destination directory and copies the supplied file; no local network, credential harvesting, shell execution, or agent configuration mutation appears.
Independent scan evidence
public snapshot
AI called this Clean at 88.0% confidence as Benign with low false-positive risk.
Evidence for AI clean decision
package.json defines index.js as the entrypoint and contains no lifecycle scripts or self-dependency.
index.js loads cdn-img-fetch at import time; the dependency's implementation is absent from this snapshot.
The caller-invoked bundle function creates the output directory and copies the caller-selected input file to the output.
The versions list below shows the verdict for each recorded version.
Avoid installing imgbundle@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.