Advisory

MAL-2026-18640

Also known as: GHSA-qrh3-jr62-6rfm

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @adminide-stack/forms-core (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (9300d6b1357396fa416b67a6b22b3d44108b517a6a3de83ea88788292bbcb2e9)
The published tarball of @adminide-stack/[email protected] ships a lib/index.js (the package main) whose top-level content diverges from the declared source and build. src/index.ts is a 10-line re-export module and rollup.config.mjs produces plain ES re-exports, but lib/index.js prepends a ~16 KB IIFE invoked as })(global, require); that stashes require and module onto global via property names reconstructed from a custom string-shuffle routine (spin/splitLane/peel driven by NX/SX constant arrays), deshuffles the string "constructor" to obtain Function from an object reference (Forge = peel[ctor]), and invokes new Function with a deshuffled ~15 KB code body: Forge('z', peel("[...]"))(z);. The construct runs at import/require time with full Node capabilities (require, fs, net) available via the stashed require. The gap between declared source plus build config and the shipped main, combined with hand-written string deobfuscation of control identifiers and an executable payload, is the fingerprint of a payload injected into the published artifact after or outside the declared build pipeline.

Source: ghsa-malware (6b9e3f519363694211241ddf83d95c5f75a4f22ef9b5f60e2e962c01f97ddd25)
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.

Severity

Not rated by the source.

Dates

Published
2026-11-04 19:46 UTC
Modified
2026-11-13 03:30 UTC

Affected packages and fixes

@adminide-stack/forms-core

npm · All systems

Affected

  • Versions: 5.1.9-alpha.3

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences