MAL-2026-18640

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@adminide-stack/forms-core/MAL-2026-18640.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18640
Aliases
  • GHSA-qrh3-jr62-6rfm
Published
2026-11-04T19:46:25Z
Modified
2026-11-13T03:30:10Z
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/forms-core@5.1.9-alpha.3 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-qrh3-jr62-6rfm",
            "import_time": "2026-11-04T20:18:39.726222697Z",
            "modified_time": "2026-11-04T19:46:26Z",
            "sha256": "6b9e3f519363694211241ddf83d95c5f75a4f22ef9b5f60e2e962c01f97ddd25",
            "source": "ghsa-malware",
            "versions": [
                "5.1.9-alpha.3"
            ]
        },
        {
            "id": "IN-MAL-2026-022657",
            "import_time": "2026-11-13T03:14:09.38948092Z",
            "modified_time": "2026-11-13T03:00:58Z",
            "sha256": "9300d6b1357396fa416b67a6b22b3d44108b517a6a3de83ea88788292bbcb2e9",
            "source": "amazon-inspector",
            "versions": [
                "5.1.9-alpha.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @adminide-stack/forms-core

Package

Name
@adminide-stack/forms-core
View open source insights on deps.dev
Purl
pkg:npm/%40adminide-stack/forms-core

Affected ranges

Affected versions

5.*
5.1.9-alpha.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "lib/index.js",
            "sha256": "2368f49f46c62ae55a92dcbf8d259489833a9a74bf41d7fcc69963860ca6b3bb",
            "tlsh": "25824b7e3c2223318203a475cfde50b1b64ab4a83a14c2fafa7d55911b46578e278fd6"
        }
    ],
    "package_integrity": [
        {
            "filename": "forms-core-5.1.9-alpha.3.tgz",
            "hashes": {
                "sha1": "e430e731027843fde2db3d4790f5f3875892c9c2",
                "sha512_sri": "sha512-ByVD5W1h5jK8CR7aNJUI6FkkAbdYxoiZXkuojlYAwgL7o10vzbyCXqcAdskBhNrJhCPENpaNLdG5n4DNun3DDw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@adminide-stack/forms-core/MAL-2026-18640.json"