MAL-2026-11045

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/subapp-pkg-util/MAL-2026-11045.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11045
Aliases
  • GHSA-f946-r32q-xrp6
Published
2026-07-24T06:42:00Z
Modified
2026-09-23T05:30:06Z
Summary
Malicious code in subapp-pkg-util (npm)
Details

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

Source: amazon-inspector (ae51b43e9a5110ec02eb9aa1cbf03837b2a560f4b6c8168b1c2d675802a113ae)

package.json declares a postinstall hook that runs index.js on npm install. index.js collects host identifiers (os.hostname(), os.userInfo(), os.platform(), OS release) and enriches them with public IP (via ipify) and geo/ISP (via ipapi.co), then POSTs the JSON payload to a hardcoded Burp Collaborator subdomain at https://dq7q2vt6l79ouvgyzavan3w2rtxkp8gw5.oastify.com/callback. The package self-describes as a dependency-confusion takeover PoC; the beacon fires automatically on install without user interaction.

Source: ghsa-malware (5c5d635b9d4401cf88a4590a6178993b363b1baf3d885642752825a2e0f3c65e)

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.

Source: ossf-package-analysis (9ec05191ebd2f02dcf912c49fc5d345c3b9201fb691a11a0142fec91cc6d42d4)

The OpenSSF Package Analysis project identified 'subapp-pkg-util' @ 99.0.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-07-24T08:21:08.880839307Z",
            "modified_time": "2026-07-24T06:42:00Z",
            "sha256": "9ec05191ebd2f02dcf912c49fc5d345c3b9201fb691a11a0142fec91cc6d42d4",
            "source": "ossf-package-analysis",
            "versions": [
                "99.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-011088",
            "import_time": "2026-08-04T21:33:16.396544544Z",
            "modified_time": "2026-08-04T21:30:49Z",
            "sha256": "ae51b43e9a5110ec02eb9aa1cbf03837b2a560f4b6c8168b1c2d675802a113ae",
            "source": "amazon-inspector",
            "versions": [
                "99.0.1"
            ]
        },
        {
            "id": "GHSA-f946-r32q-xrp6",
            "import_time": "2026-09-23T03:30:31.20602903Z",
            "modified_time": "2026-09-23T03:08:46Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "5c5d635b9d4401cf88a4590a6178993b363b1baf3d885642752825a2e0f3c65e",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-020469",
            "import_time": "2026-09-23T05:18:36.919148221Z",
            "modified_time": "2026-09-23T05:11:49Z",
            "sha256": "f81a15bc0c035de6d4887d8fdb43910533454719e7c1c26ed9e28dd17ba90a56",
            "source": "amazon-inspector",
            "versions": [
                "99.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / subapp-pkg-util

Package

Name
subapp-pkg-util
View open source insights on deps.dev
Purl
pkg:npm/subapp-pkg-util

Affected ranges

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

Affected versions

99.*
99.0.0
99.0.1

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "2a0584f72c042fb2449769de340230254e111f46cd502e0795085ec42e2c898c",
            "tlsh": "10710fbb15f5523476f3e29dca0b82012112f1473e45ae69798c33805fcd22a63b27f9"
        }
    ],
    "package_integrity": [
        {
            "filename": "subapp-pkg-util-99.0.1.tgz",
            "hashes": {
                "sha1": "f68f86bc19c140ffe18f27a8d09fe2a914f4d682",
                "sha512_sri": "sha512-3sSDnQobMfGkFDMxLtM5NFzVPDO/8QtWKHX8gHgdOKvKISnvhvbtpq8rK8nq1xZBbGhzNwQDsDZJFSL81LOlkQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/subapp-pkg-util/MAL-2026-11045.json"