MAL-2026-5738

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/postinstall-logger-7x9z/MAL-2026-5738.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5738
Aliases
  • GHSA-j5hw-j4vj-f38v
Published
2026-06-13T07:15:46Z
Modified
2026-06-18T06:01:49.304175350Z
Summary
Malicious code in postinstall-logger-7x9z (npm)
Details

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

Source: amazon-inspector (6e89b603ffc718873a9d4c42167bf0c667c995cc2547bc9b99373ad4e9f0ca1e)

On install, package.json's postinstall hook ("postinstall": "node run.js") triggers execution of bundled beacon scripts (beacon15.js and beaconlinux.js). These scripts pull in childprocess, os, and http modules and issue outbound HTTP GET/POST requests carrying host identifiers including os.hostname() and os.platform(). The combination of automatic execution at install time, host-information collection, and outbound HTTP requests to a hardcoded destination is the canonical install-time exfiltration beacon shape. Any developer or CI system running npm install for this package will silently leak host data and execute code from the bundled scripts under the installing user's privileges.

Source: ghsa-malware (e91d5c0b2a31907feedaf2f7c1e590bf3a18e7315f534c41cb684bdafe8c6a4f)

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": [
        {
            "source": "amazon-inspector",
            "sha256": "6e89b603ffc718873a9d4c42167bf0c667c995cc2547bc9b99373ad4e9f0ca1e",
            "import_time": "2026-06-13T07:25:41.036314332Z",
            "modified_time": "2026-06-13T07:15:46Z",
            "id": "IN-MAL-2026-006339",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-06-13T07:25:41.1120905Z",
            "sha256": "7bd01e5566ec604864f993b9387139fdf2145f9f9ffbb9a255e1a9947441a454",
            "modified_time": "2026-06-13T07:15:47Z",
            "versions": [
                "1.0.0"
            ],
            "id": "IN-MAL-2026-006340",
            "source": "amazon-inspector"
        },
        {
            "id": "GHSA-j5hw-j4vj-f38v",
            "sha256": "e91d5c0b2a31907feedaf2f7c1e590bf3a18e7315f534c41cb684bdafe8c6a4f",
            "modified_time": "2026-06-18T03:28:02Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-06-18T05:54:18.962866813Z"
        }
    ]
}
References
Credits

Affected packages

npm / postinstall-logger-7x9z

Package

Name
postinstall-logger-7x9z
View open source insights on deps.dev
Purl
pkg:npm/postinstall-logger-7x9z

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "postinstall-logger-7x9z-1.0.0.tgz",
            "hashes": {
                "sha1": "4eb3dfab06f56f14dca3db811070f8c0a6d6fcae",
                "sha512_sri": "sha512-rzjumtVEUtiJk0cHCdq/GowbmlHDjm5lpxbm4UEghruVShk3xzjEWIUPRVApNEWCljsOod6yXEBJJSQYKc4NyQ=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "9602a515f2a46d90539294b8da4ab448242b921f7d21bde0b7cf06dc2fec65e92309fd",
            "sha256": "b15b7345d68f1ae807f297406c204efb63f92bb3597cf507fc508110bc99b267",
            "path": "beacon15.js"
        },
        {
            "tlsh": "5db1b7d6a57b41282bd3b89c679f84061823f217b512d8d0b6dc06248fc7924a1a2ded",
            "sha256": "60a0fbee8014300d0dd230765cbea7b61e9660a1584ad6a265de71927ff04c68",
            "path": "beacon_linux.js"
        },
        {
            "tlsh": "d2f081549d306d336ac03aa80d519d4afa358f0a6140395d82bb192c019fe7930bb26d",
            "sha256": "2a7d836cda57c9cc3da4ab92bba038ba74a5c966b64f408da9c74903ec6f2c2a",
            "path": "package.json"
        }
    ],
    "ips": [
        "104.16.9.34",
        "10.1.0.2",
        "173.255.233.239"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/postinstall-logger-7x9z/MAL-2026-5738.json"