MAL-2026-5374

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@doaction/mapstore/MAL-2026-5374.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5374
Aliases
  • GHSA-6mxf-8m2v-f345
Published
2026-06-09T14:17:42Z
Modified
2026-06-09T19:01:30.849651384Z
Summary
Malicious code in @doaction/mapstore (npm)
Details

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

Source: amazon-inspector (9692028d96015eee60ce05d38eac9bf0c6e51dd2153cea37cad4756e3b4b3de9)

@doaction/mapstore@99.99.99 is published to the public npm registry under a sentinel-high version (99.99.99) with a pinned @doaction/shared: ^99.99.99 dependency — the canonical shape of a dependency-confusion attack designed to be resolved over a private internal @doaction/* package. package.json declares "preinstall": "node scripts/postinstall.js", which require()s @doaction/shared/bin/postinstall.js; a sibling preinstall.js wrapper similarly require()s @doaction/shared/bin/preinstall.js. The wrappers self-describe as 'Triggers safe environment telemetry on npm install' and the package's main src/index.js documents the purpose as collecting environment variables and sending them to Datadog. Both wrappers catch and silently swallow non-MODULENOTFOUND errors so the install completes regardless of telemetry success/failure, minimizing installer visibility. The exfiltration runs unconditionally at npm install time with no user opt-in. Installer harm: CI/build environment variables (which routinely include cloud credentials, registry tokens, and CI secrets) are transmitted to a third-party endpoint whenever a build system mistakenly resolves this public package over the intended internal one.

Source: ghsa-malware (cdeb3abd32e243ae6dc4f5464008936d92ef2e0ae204ac4b5288e76f7247d6af)

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": [
        {
            "modified_time": "2026-06-09T14:17:42Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "cdeb3abd32e243ae6dc4f5464008936d92ef2e0ae204ac4b5288e76f7247d6af",
            "id": "GHSA-6mxf-8m2v-f345",
            "source": "ghsa-malware",
            "import_time": "2026-06-09T15:22:39.841823095Z"
        },
        {
            "modified_time": "2026-06-09T17:13:17Z",
            "versions": [
                "99.99.99"
            ],
            "sha256": "9692028d96015eee60ce05d38eac9bf0c6e51dd2153cea37cad4756e3b4b3de9",
            "id": "IN-MAL-2026-004991",
            "source": "amazon-inspector",
            "import_time": "2026-06-09T17:45:47.036201697Z"
        },
        {
            "import_time": "2026-06-09T17:45:47.164504455Z",
            "versions": [
                "99.99.99"
            ],
            "sha256": "bb19877e00283591ce71589511cadb1dccf94ca06e3c4293edf32da6bc95da20",
            "id": "IN-MAL-2026-004992",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T17:13:18Z"
        },
        {
            "modified_time": "2026-06-09T18:17:54Z",
            "versions": [
                "9.9.9"
            ],
            "sha256": "17cc6504e8b262c63026df7ddc9b2380c33bedf92549260a5cce60ca891247bf",
            "id": "IN-MAL-2026-005185",
            "source": "amazon-inspector",
            "import_time": "2026-06-09T18:50:23.39767403Z"
        },
        {
            "modified_time": "2026-06-09T18:17:55Z",
            "versions": [
                "9.9.9"
            ],
            "sha256": "f7443dd043cb2a549062968de3c3d5a096bf8c0b78ac045a9edcb470cf0a8ef5",
            "id": "IN-MAL-2026-005186",
            "source": "amazon-inspector",
            "import_time": "2026-06-09T18:50:23.480133359Z"
        }
    ]
}
References
Credits

Affected packages

npm / @doaction/mapstore

Package

Name
@doaction/mapstore
View open source insights on deps.dev
Purl
pkg:npm/%40doaction%2Fmapstore

Affected ranges

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

Affected versions

9.*
9.9.9
99.*
99.99.99

Database specific

indicators
{
    "domains": [
        "e1gjv2ne5a.execute-api.ap-northeast-1.amazonaws.com"
    ],
    "evidence_files": [
        {
            "sha256": "a2b10710ccda52e1edcba2a754525fa37e1d7985e9408b54f5463581a6975ad0",
            "tlsh": "c1d0225d3a8db77c7ce0493a2a43634b727181240230b6a8789a035687351446a1f4f1",
            "path": "scripts/postinstall.js"
        },
        {
            "sha256": "abb6493bf4f034d8e8324aa0c023867d110b172ca03d2ca16699457b2afd0807",
            "tlsh": "94f027303b525a331dc169a26d37802673b14e6f50447e082bcb121e876d6bbb6ff21d",
            "path": "package.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"
    },
    {
        "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/@doaction/mapstore/MAL-2026-5374.json"