MAL-2026-3503

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/git-branch-selector/MAL-2026-3503.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3503
Aliases
  • GHSA-h5h4-xpf8-g55c
Published
2026-05-12T00:59:44Z
Modified
2026-05-12T07:57:00.716761Z
Summary
Malicious code in git-branch-selector (npm)
Details

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

Source: amazon-inspector (dab170d586455af0816362e715de0907ddaa19adb87c68ef59255139322dde69)

The package git-branch-selector was found to contain malicious code.

Source: ghsa-malware (daad8929067ee1563e49ce0f409f2e42bfaf8feb656b8c88097a305535743b24)

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: google-open-source-security (5e1924464368f0c5816ee84e000cc47017f44045140feafbbc9e685d847ed5a5)

This package was compromised as part of the "Mini Shai-Hulud is back" worm by the TeamPCP threat actor.

The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

Database specific
{
    "iocs": {
        "domains": [
            "git-tanstack.com",
            "filev2.getsession.org",
            "api.masscan.cloud",
            "seed1.getsession.org"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "GHSA-h5h4-xpf8-g55c",
            "import_time": "2026-05-12T01:08:51.473649133Z",
            "sha256": "daad8929067ee1563e49ce0f409f2e42bfaf8feb656b8c88097a305535743b24",
            "source": "ghsa-malware",
            "modified_time": "2026-05-12T00:59:45Z",
            "versions": [
                "1.3.7"
            ]
        },
        {
            "id": "GHSA-h5h4-xpf8-g55c",
            "import_time": "2026-05-12T05:27:55.250756478Z",
            "sha256": "26e49a001ffb87d42e761b64d482905347f25c2ddecedd16c3b074e634e337d5",
            "source": "ghsa-malware",
            "modified_time": "2026-05-12T03:38:49Z",
            "versions": [
                "1.3.6",
                "1.3.5",
                "1.3.4",
                "1.3.3",
                "1.3.7"
            ]
        },
        {
            "import_time": "2026-05-12T06:23:00.48559Z",
            "sha256": "5e1924464368f0c5816ee84e000cc47017f44045140feafbbc9e685d847ed5a5",
            "source": "google-open-source-security",
            "modified_time": "2026-05-12T06:19:26Z",
            "versions": [
                "0.10.1"
            ]
        },
        {
            "import_time": "2026-05-12T07:28:56.249881546Z",
            "sha256": "dab170d586455af0816362e715de0907ddaa19adb87c68ef59255139322dde69",
            "source": "amazon-inspector",
            "modified_time": "2026-05-12T06:53:21Z",
            "versions": [
                "1.3.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / git-branch-selector

Package

Name
git-branch-selector
View open source insights on deps.dev
Purl
pkg:npm/git-branch-selector

Affected ranges

Affected versions

1.*
1.3.3
1.3.4
1.3.5
1.3.6
1.3.7

Database specific

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/git-branch-selector/MAL-2026-3503.json"