MAL-2026-15900

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hydration-ui-pkg/MAL-2026-15900.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15900
Published
2026-09-04T03:44:53Z
Modified
2026-09-04T04:30:05Z
Summary
Malicious code in hydration-ui-pkg (npm)
Details

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

Source: amazon-inspector (d848dd11c0e0692f1f47c8fcb3cb0506316e96ab32f8b63a8913ad67e9570318)

Package main (dist/index.mjs) locates dist/internal/mathcalc.mjs — a raw x86_64 ELF binary shipped under an.mjs extension and described in the README as a 'native math accelerator' — chmods it to 0755, verifies a pinned SHA-256, and spawns it detached via child_process.spawn on any require/import of the package. daymath.mjs contains a stub function with a comment stating it exists to make the math functions 'look like they rely on the binary', confirming the cover story. The ELF is a full remote-access implant (REDSHELL/SECURE_BEACON) that beacons to hardcoded C2 IP 217.60.77.63 and exfiltrates to https://litterbox.catbox.moe/resources/internals/api.php. Operator commands include /ssh_keys, /creds, /dbfind, /download and /dataextract for harvesting installer SSH private keys, credentials and databases, streamed chunked to POST /api/extract-receive. /redshell elf and /redshell bin fetch additional ELFs and shellcode over TLS-disabled HTTP into memfd (memfd_create syscall 319) or /tmp/.elf_XXXXXX and /tmp/.sc_XXXXXX for in-memory execution. /redshell persist writes ~/.config/systemd/user/svc-update.service (Description=System Update Service, Restart=always) and enables it via systemctl --user for login persistence. Extension-mismatched ELF, fake dependency stub, cover-story README, and hardcoded non-first-party C2 confirm intentional trojanization.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-019446",
            "import_time":  "2026-09-04T04:21:20.590616337Z",
            "modified_time":  "2026-09-04T03:44:53Z",
            "sha256":  "d848dd11c0e0692f1f47c8fcb3cb0506316e96ab32f8b63a8913ad67e9570318",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / hydration-ui-pkg

Package

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

Affected ranges

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "dist/index.mjs",
            "sha256":  "5603d7db47d412f2eeb28f8a8da63b855e5016eb45e9ce9dc4232a81def21054",
            "tlsh":  "3f414266afbd532893fc07828e387193296994430f92e984d94d4b3871c0b98e7c496a"
        },
        {
            "path":  "dist/internal/mathcalc.mjs",
            "sha256":  "1cafe9068460d856d5646c4f8f775132c1142ffef7f4b8ea7dbfeb9fbd07ff96",
            "tlsh":  "3a531a2bbdc28e3fc084d53087dfd42369b0b05aaa33752f26115f293d59a59473f62a"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "hydration-ui-pkg-1.0.0.tgz",
            "hashes":  {
                "sha1":  "193a7d4e1514597d81fcc629e3ad5c13b580fa55",
                "sha512_sri":  "sha512-0Ujeqk8dNC1pGj6mMmT3UWaN0rPgjVZCxMLyUNHOMt9AY5qgMXGjhofDSFvji4+k34IEH9UPAozp5MxTBPvWwg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hydration-ui-pkg/MAL-2026-15900.json"