MAL-2026-14429

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dim-hydration-ui/MAL-2026-14429.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14429
Aliases
  • GHSA-6797-g855-4767
Published
2026-08-24T16:44:38Z
Modified
2026-08-26T01:21:15Z
Summary
Malicious code in dim-hydration-ui (npm)
Details

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

Source: amazon-inspector (3fefcd7c94e6eed5b5a69ce9ad5f4489c6532472ec604e6d15e5a96f63c59e51)

The package is presented in its README as a set of day-math primitives, but dist/index.mjs runs a top-level async IIFE on import that chmod 0755's dist/internal/math.bin, verifies a hardcoded SHA-256, and cp.spawn's the ELF detached with stdio pipes. The shipped binary is not a math accelerator: strings inside dist/internal/math.bin identify it as a 'RedShell' remote-access implant with a command dispatcher exposing reverse-shell, /sysinfo, /ssh_keys, /creds, /dbfind, /clipboard, /env, /download, /upload, /dataextract, /shellcode, /memfd, SOCKS5 proxy, and port-forward capabilities. The implant beacons to a hardcoded C2 at 217.60.77.63, exfiltrates chunked file loot via HTTP POST /api/extract-receive, pulls follow-on payloads via curl over HTTP into memfd or /tmp with chmod +x, and installs user-level systemd persistence via svc-update.service. Simply importing the module launches a background process that gives a remote operator full shell, file, credential, and network control of the installer's host, with no advertised remote-access purpose and no user consent. The 'native math accelerator' naming and the SHA-256 integrity-pin framing serve as a cover story for the import-time C2 spawn.

Source: ghsa-malware (7f06c4a45969cedb7bedd514395820ff4f73696b8366f66142c7494233299846)

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": "IN-MAL-2026-018640",
            "import_time": "2026-08-24T16:49:14.254070885Z",
            "modified_time": "2026-08-24T16:44:38Z",
            "sha256": "3fefcd7c94e6eed5b5a69ce9ad5f4489c6532472ec604e6d15e5a96f63c59e51",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-6797-g855-4767",
            "import_time": "2026-08-25T17:25:28.090459752Z",
            "modified_time": "2026-08-25T16:48:34Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "7f06c4a45969cedb7bedd514395820ff4f73696b8366f66142c7494233299846",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / dim-hydration-ui

Package

Name
dim-hydration-ui
View open source insights on deps.dev
Purl
pkg:npm/dim-hydration-ui

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

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": "dist/index.mjs",
            "sha256": "77087f69469ba5eaf871bc1ecee9e579d7aa8177cd9f441d813b03ee28a114ad",
            "tlsh": "7d418666afbd532997fc0783ce38b193196d94430f92ed84d94d473871c0b58d7c0965"
        },
        {
            "path": "dist/internal/math.bin",
            "sha256": "1cafe9068460d856d5646c4f8f775132c1142ffef7f4b8ea7dbfeb9fbd07ff96",
            "tlsh": "3a531a2bbdc28e3fc084d53087dfd42369b0b05aaa33752f26115f293d59a59473f62a"
        }
    ],
    "package_integrity": [
        {
            "filename": "dim-hydration-ui-1.0.0.tgz",
            "hashes": {
                "sha1": "2594514fe1f8a15932d58495472b24a32c942b51",
                "sha512_sri": "sha512-/hpJT+4HQ0l/Xf2Se08iWL5nDna3cxG8+3NWYX3EIGgmrnBWC9K9JWUgpbf2CS9TmyG+weEqNvRj0w5rREFbgg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/dim-hydration-ui/MAL-2026-14429.json"