MAL-2026-4420

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@polka-ui/loader/MAL-2026-4420.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4420
Aliases
  • GHSA-j263-hx4f-ph92
Published
2026-05-25T15:39:02Z
Modified
2026-05-28T15:31:50.907823444Z
Summary
Malicious code in @polka-ui/loader (npm)
Details

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

Source: amazon-inspector (f93cf8dde7e6a1252424fc82f38e8502a37d9e427d92d412fd8944c91b8ee5a4)

On npm install, scripts/postinstall.js downloads a per-OS payload from https://oob.moika.tech/payload/{linux|mac|win}, writes it to /tmp/.polka-uiinit.sh (or.bat), chmods 0755, and spawns it via /bin/sh or cmd.exe with no integrity verification. The same script enumerates process.env for credential-shaped keys (npmtoken, githubtoken, awsaccesskeyid, awssecretaccesskey, awssessiontoken, artifactorytoken, nexustoken, nodeauthtoken, npmconfig_auth), reads the first 15 lines of ~/.npmrc, /etc/npmrc,./.npmrc, and../.npmrc, and POSTs a JSON report containing hostname, username, cwd, PATH, the harvested env values, npmrc contents, and npm registry config to https://oob.moika.tech/report with an X-Secret header. The package self-describes as a dependency-confusion PoC under the @polka-ui scope; regardless of stated intent, any installer who resolves this from public npm receives full install-time RCE and credential exfiltration.

Source: ghsa-malware (1563c5a344109d7c86e90afa23b70aebf0ad1c876f648d0bdba11975c064b3f4)

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": [
        {
            "import_time": "2026-05-26T05:53:08.302448288Z",
            "versions": [
                "9.9.10"
            ],
            "sha256": "599a7dd2ffe3f950a7dcf18279f01e9e4e6e457741b73fff5ace7a283b9c9539",
            "id": "IN-MAL-2026-004712",
            "source": "amazon-inspector",
            "modified_time": "2026-05-25T15:39:02Z"
        },
        {
            "modified_time": "2026-05-25T15:39:02Z",
            "versions": [
                "9.9.10"
            ],
            "sha256": "f93cf8dde7e6a1252424fc82f38e8502a37d9e427d92d412fd8944c91b8ee5a4",
            "id": "IN-MAL-2026-004711",
            "source": "amazon-inspector",
            "import_time": "2026-05-26T05:53:08.19150824Z"
        },
        {
            "import_time": "2026-05-28T15:25:19.330336332Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "1563c5a344109d7c86e90afa23b70aebf0ad1c876f648d0bdba11975c064b3f4",
            "id": "GHSA-j263-hx4f-ph92",
            "source": "ghsa-malware",
            "modified_time": "2026-05-28T13:39:49Z"
        }
    ]
}
References
Credits

Affected packages

npm / @polka-ui/loader

Package

Name
@polka-ui/loader
View open source insights on deps.dev
Purl
pkg:npm/%40polka-ui%2Floader

Affected ranges

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

Affected versions

9.*
9.9.10

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "26bf62d9dabf1e50ebad953065036714e492824a321cb0f3c27434f37d144fd7",
            "tlsh": "5fc1eadb22fb553403d6a2e6e51f6412e227b1033905e9e0f95c91145f8a6bcd2b3eec",
            "path": "scripts/postinstall.js"
        }
    ],
    "domains": [
        "oob.moika.tech"
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-cva0rVuPbEg/KgOQWVE/Me+W6zAFTJ05KTnR8l7TLPFxgEqDd8AabIvvjbXNdPmCnmRh53iJPxaD1ZBb2189Tg==",
                "sha1": "c59a95881d6ea38188601ac294eb2ded3bef4737"
            },
            "filename": "loader-9.9.10.tgz"
        }
    ]
}
cwes
[
    {
        "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",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@polka-ui/loader/MAL-2026-4420.json"