MAL-2025-47009

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@magda/semantic-indexer-sdk/MAL-2025-47009.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-47009
Aliases
  • GHSA-r2gq-mhfx-9mh3
Published
2025-09-10T09:51:31Z
Modified
2026-08-18T21:45:20.241691721Z
Summary
Malicious code in @magda/semantic-indexer-sdk (npm)
Details

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

Source: amazon-inspector (020b70c247fbc09223610616ef9c39ce27218404bff50de29b8a28706679fc14)

@magda/semantic-indexer-sdk ships a minified dist/index.js bundle for a Magda semantic-indexer SDK. Static keyword patterns fired on the co-occurrence of POST HTTP verbs at several offsets in the minified bundle and on the substring dyndns at line 44075. These are keyword matches on a large rolled-up bundle — the POST occurrences reflect ordinary HTTP client usage expected from an SDK, and a dyndns substring in a minified blob does not by itself indicate a dynamic-DNS C2 destination (it commonly appears inside dependency names, TLD lists, or unrelated string tables). No hardcoded attacker-controlled domain or IP bound to install-time or import-time network I/O, no credential or environment scraping, no lifecycle-script execution, no dropper, and no obfuscated destination decoding are present. The observed patterns are consistent with a normal SDK client bundle.

Source: ghsa-malware (0ce59c9b39eeea0aa22df5f00b970f2543dc5da3003c0e73618cb45830d68274)

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": "2025-09-10T09:51:31Z",
            "sha256": "0ce59c9b39eeea0aa22df5f00b970f2543dc5da3003c0e73618cb45830d68274",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware",
            "id": "GHSA-r2gq-mhfx-9mh3",
            "import_time": "2025-09-11T00:34:35.485713011Z"
        },
        {
            "sha256": "c4058d332610cb9661b8a66ddb46bc4e48bc95479f6c05ccdcb8f76651dc56ec",
            "source": "ghsa-malware",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "modified_time": "2025-09-10T09:51:31Z",
            "id": "GHSA-r2gq-mhfx-9mh3",
            "import_time": "2025-09-12T00:33:58.101052235Z"
        },
        {
            "modified_time": "2026-07-15T08:05:44Z",
            "sha256": "661bd744356a15357f63280cf59d100532b5014b5947af7695f55ea8c0ea8736",
            "versions": [
                "6.1.0-alpha.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-010627",
            "import_time": "2026-07-15T08:51:04.692170346Z"
        },
        {
            "import_time": "2026-08-05T06:00:35.425588299Z",
            "modified_time": "2026-08-05T05:26:49Z",
            "versions": [
                "6.1.2-alpha.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013050",
            "sha256": "a956546effb95ee536d966c5717420c5b2c850f5f4460822cf5baa6bbd99c88c"
        },
        {
            "modified_time": "2026-08-05T05:36:45Z",
            "sha256": "b7b75e3847b2892b8e01b3252e129bfac8ab5b1fe0da5be6632951bb35f6ff29",
            "versions": [
                "6.1.2-pr.3759.1"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013120",
            "import_time": "2026-08-05T06:00:43.965942405Z"
        },
        {
            "sha256": "d2b2cd810d4e47394bd84235f8a4fa35fc1878ba5835ab8fccab7faac710505d",
            "source": "amazon-inspector",
            "versions": [
                "6.1.1-pr.3725.0"
            ],
            "modified_time": "2026-08-05T05:32:09Z",
            "id": "IN-MAL-2026-013088",
            "import_time": "2026-08-05T06:00:39.763300728Z"
        },
        {
            "import_time": "2026-08-05T06:00:40.49868547Z",
            "modified_time": "2026-08-05T05:33:03Z",
            "versions": [
                "7.0.0-pr.3637.2"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013094",
            "sha256": "933436592cd377e7d4bcffa326f4c24bbe19f53d0de127e41615f8ebd200cd4f"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T05:32:44Z",
            "versions": [
                "7.0.0-pr.3637.5"
            ],
            "sha256": "a6017b3dc943d4bdc2fa9e91c7d874ac69cb2cb0fd30a8f7c14f16f9cecb4fc2",
            "id": "IN-MAL-2026-013092",
            "import_time": "2026-08-05T06:00:40.287223182Z"
        },
        {
            "modified_time": "2026-08-05T05:33:30Z",
            "sha256": "d83863351b9e1f5e286e92e602f65f4eaa7375dd6c1e8553a876e66fd23bb2ea",
            "versions": [
                "6.1.0-alpha.1"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013097",
            "import_time": "2026-08-05T06:00:41.032263867Z"
        },
        {
            "sha256": "e4327efc4603b4d7daa73c2f0f9052d35c46d04a47399c70c677d486d5a4ef3f",
            "modified_time": "2026-08-05T05:33:20Z",
            "versions": [
                "6.1.1"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013096",
            "import_time": "2026-08-05T06:00:40.92633803Z"
        },
        {
            "import_time": "2026-08-05T06:00:39.521782559Z",
            "modified_time": "2026-08-05T05:31:53Z",
            "versions": [
                "6.1.2-pr.3759.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013086",
            "sha256": "f43dbe3754972f528303387ec0682da3dd5e0d4c4d7f9b350cb5f66eb017c652"
        },
        {
            "sha256": "57e758f2e76254912dbf57ec99d3ed2da95ed1725239ce03d03392d903ee7078",
            "modified_time": "2026-08-05T05:37:35Z",
            "versions": [
                "6.1.1-pr.3726.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013126",
            "import_time": "2026-08-05T06:00:44.743922373Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T05:27:30Z",
            "versions": [
                "6.1.0"
            ],
            "sha256": "5a1ae02e99bf6b45fa5332135d2c013ba003fb7f4a5cd90c75feb646a6357905",
            "id": "IN-MAL-2026-013055",
            "import_time": "2026-08-05T06:00:36.036311737Z"
        },
        {
            "sha256": "630498353d579940b17f3277aa899d53f9344b567e77e283bea1b717dba3acbb",
            "source": "amazon-inspector",
            "versions": [
                "6.1.2"
            ],
            "modified_time": "2026-08-05T05:30:39Z",
            "id": "IN-MAL-2026-013077",
            "import_time": "2026-08-05T06:00:38.503128468Z"
        },
        {
            "sha256": "8a9bcd6cb7a75e082b41f65f9788408dc824fcb75862bf00214c01f236f1e18a",
            "modified_time": "2026-08-05T05:37:18Z",
            "versions": [
                "7.0.0-pr.3637.4"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-013124",
            "import_time": "2026-08-05T06:00:44.521123204Z"
        },
        {
            "sha256": "a1315632762e64488d11a4066be2481823fc7eac68985c6dfe69bb1868fc142c",
            "source": "amazon-inspector",
            "versions": [
                "7.0.0-pr.3637.3"
            ],
            "modified_time": "2026-08-05T05:37:10Z",
            "id": "IN-MAL-2026-013123",
            "import_time": "2026-08-05T06:00:44.389610575Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-10T11:49:05Z",
            "versions": [
                "7.0.0-pr.3762.4"
            ],
            "sha256": "020b70c247fbc09223610616ef9c39ce27218404bff50de29b8a28706679fc14",
            "id": "IN-MAL-2026-017202",
            "import_time": "2026-08-10T11:51:54.319531793Z"
        },
        {
            "import_time": "2026-08-10T11:51:54.475676862Z",
            "modified_time": "2026-08-10T11:49:14Z",
            "versions": [
                "7.0.0-pr.3762.2"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017203",
            "sha256": "2a70e1926813552f90db8af9a22bef5c19d7721ecc22db91b1512c03cf4c8e12"
        },
        {
            "import_time": "2026-08-10T11:51:54.573581846Z",
            "modified_time": "2026-08-10T11:49:24Z",
            "versions": [
                "7.0.0-pr.3762.3"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017204",
            "sha256": "916530977e43d247a4eb3594a6388a514b7a7effaaac6a1034925452ab4ffec1"
        },
        {
            "import_time": "2026-08-12T12:24:11.141672676Z",
            "modified_time": "2026-08-12T12:18:00Z",
            "versions": [
                "7.0.0-pr.3767.2"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017412",
            "sha256": "15de07de7fb352305533d8c22c6681231342461610dd4f3d185e857343afa903"
        },
        {
            "sha256": "257af940cf8fe5c3524cdaba1519f8c4e14b3ef2877d50030f8d81e6b72c92a1",
            "modified_time": "2026-08-12T15:40:37Z",
            "versions": [
                "6.2.0-alpha.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017614",
            "import_time": "2026-08-12T15:53:00.993061756Z"
        },
        {
            "import_time": "2026-08-14T14:51:38.435692917Z",
            "modified_time": "2026-08-14T14:35:55Z",
            "versions": [
                "7.0.0-alpha.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017785",
            "sha256": "49d31f56be60e7a78c17d4b2758a1f979eb4277d47a8e94ab0073040702b4f53"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-18T21:05:20Z",
            "versions": [
                "7.0.0-alpha.1"
            ],
            "sha256": "c33a41ec98aa420d38fb5dc8b889d26f12e93eec2f75c3f6618fc7b4da76a0a6",
            "id": "IN-MAL-2026-018022",
            "import_time": "2026-08-18T21:10:29.528654678Z"
        },
        {
            "modified_time": "2026-08-18T21:10:37Z",
            "sha256": "49572ad021662f4f0c4f5743c4c296c8c14533f989fdeff9519686656f86f7cc",
            "versions": [
                "6.2.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018057",
            "import_time": "2026-08-18T21:41:56.25229121Z"
        },
        {
            "modified_time": "2026-08-18T21:13:44Z",
            "sha256": "ec73eaac7b20dfc924382e6f5e339f5b39c517345cc57b448b35ac3080056b0f",
            "versions": [
                "7.0.0-pr.3773.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018079",
            "import_time": "2026-08-18T21:41:58.812587337Z"
        }
    ]
}
References
Credits

Affected packages

npm / @magda/semantic-indexer-sdk

Package

Name
@magda/semantic-indexer-sdk
View open source insights on deps.dev
Purl
pkg:npm/%40magda/semantic-indexer-sdk

Affected ranges

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

Affected versions

6.*
6.1.0-alpha.0
6.1.0-alpha.1
6.1.0
6.1.1-pr.3725.0
6.1.1-pr.3726.0
6.1.1
6.1.2-alpha.0
6.1.2-pr.3759.0
6.1.2-pr.3759.1
6.1.2
6.2.0-alpha.0
6.2.0
7.*
7.0.0-alpha.0
7.0.0-alpha.1
7.0.0-pr.3637.2
7.0.0-pr.3637.3
7.0.0-pr.3637.4
7.0.0-pr.3637.5
7.0.0-pr.3762.2
7.0.0-pr.3762.3
7.0.0-pr.3762.4
7.0.0-pr.3767.2
7.0.0-pr.3773.0

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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@magda/semantic-indexer-sdk/MAL-2025-47009.json"
indicators
{
    "evidence_files": [
        {
            "path": "dist/index.js",
            "sha256": "8bbe12453a41e88f9c6df66a30c4a7f53c923bb310f441a365df97ba5dc5592f",
            "tlsh": "6f46948da9f311524663b0bd8f6f8006b6719557280ced34ba9c83d46f5953882fbbec"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "430aa2a3dbca758991b403d254263346af75203c",
                "sha512_sri": "sha512-nspqtQp5Q+LWjeJlLIMCUqTm6fRndP7HJ/aGWRkm2rby/pRQT+1gZnO2f36+ZFMi4z6ZyCpQ3/Oc5LR4mR4ghA=="
            },
            "filename": "semantic-indexer-sdk-6.1.0-alpha.0.tgz"
        }
    ]
}