MAL-2026-18211

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ecg-internal/reviews-dialog-ui/MAL-2026-18211.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18211
Aliases
  • GHSA-r47j-grcr-p9h9
Published
2026-10-23T01:58:04Z
Modified
2026-10-23T02:45:04Z
Summary
Malicious code in @ecg-internal/reviews-dialog-ui (npm)
Details

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

Source: amazon-inspector (31d077157e19fb33158004d020ab55ba68751851a9dbab6a010064a83b8436c4)

The npm package @ecg-internal/reviews-dialog-ui@99.0.1 is a dependency-confusion payload targeting an internal @ecg-internal/* scope. package.json declares a postinstall hook (node beacon.cjs) that runs on every npm install, and beacon.cjs POSTs the installer's hostname (os.hostname()), install path (__dirname), current working directory (process.cwd()), node version, and package name over plain HTTP to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The published main is a no-op Proxy object (module.exports = new Proxy({}, { get:... })) so consuming builds do not fail at require time, and the version 99.0.1 is set abnormally high to win semver resolution against any legitimate internal package of the same name. The scoped internal-looking name, inflated version, inert Proxy shim, and install-time callback together constitute the canonical dependency-confusion attack shape, delivering reconnaissance of the installer's build/CI environment to an attacker-controlled IP.

Source: ghsa-malware (931cd681ef40eca7cb4c0f8ca9b8757d621f3a69cc5ff7f06c245cbb8a4fbdf3)

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-021584",
            "import_time":  "2026-10-23T02:25:37.713363564Z",
            "modified_time":  "2026-10-23T01:58:19Z",
            "sha256":  "31d077157e19fb33158004d020ab55ba68751851a9dbab6a010064a83b8436c4",
            "source":  "amazon-inspector",
            "versions":  [
                "99.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021585",
            "import_time":  "2026-10-23T02:25:37.773293275Z",
            "modified_time":  "2026-10-23T01:58:26Z",
            "sha256":  "971f8d7c983ed87130fa2043137381f6c235c176e94af181a8c12afdb0fd6f74",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021582",
            "import_time":  "2026-10-23T02:25:37.610615958Z",
            "modified_time":  "2026-10-23T01:58:04Z",
            "sha256":  "df31aa21f1b025f8e1e3b01066f80786683a7381ed32fa890725f452884d29c8",
            "source":  "amazon-inspector",
            "versions":  [
                "3.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021587",
            "import_time":  "2026-10-23T02:25:37.915534412Z",
            "modified_time":  "2026-10-23T01:58:39Z",
            "sha256":  "e9552c085ec1995eeea8a2636c59cbf607657e3f3943fdb5ac08024c32b7e94e",
            "source":  "amazon-inspector",
            "versions":  [
                "0.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021583",
            "import_time":  "2026-10-23T02:25:37.661842422Z",
            "modified_time":  "2026-10-23T01:58:12Z",
            "sha256":  "5061154b16539757fed5e624ab549ca182fa3d4edd90b7b1e9026da5131de5bc",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.1"
            ]
        },
        {
            "id":  "IN-MAL-2026-021588",
            "import_time":  "2026-10-23T02:25:37.976493331Z",
            "modified_time":  "2026-10-23T01:58:47Z",
            "sha256":  "7b355a4dd9d968fe4fece2f84a7121326e667c9e54c5dd03902105bd3a6bd86f",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "IN-MAL-2026-021586",
            "import_time":  "2026-10-23T02:25:37.833387111Z",
            "modified_time":  "2026-10-23T01:58:33Z",
            "sha256":  "834e609f11828e458a1b0ea0a6d2261064b44e060df941cc7d0b3506639b39cf",
            "source":  "amazon-inspector",
            "versions":  [
                "2.0.0"
            ]
        },
        {
            "id":  "GHSA-r47j-grcr-p9h9",
            "import_time":  "2026-10-23T02:36:25.387305246Z",
            "modified_time":  "2026-10-23T02:05:20Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "931cd681ef40eca7cb4c0f8ca9b8757d621f3a69cc5ff7f06c245cbb8a4fbdf3",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / @ecg-internal/reviews-dialog-ui

Package

Name
@ecg-internal/reviews-dialog-ui
View open source insights on deps.dev
Purl
pkg:npm/%40ecg-internal/reviews-dialog-ui

Affected ranges

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

Affected versions

0.*
0.0.1
1.*
1.0.0
1.0.1
2.*
2.0.0
2.0.1
3.*
3.0.0
99.*
99.0.1

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "beacon.cjs",
            "sha256":  "37093e867e15edf9c10c973ca0e7677e88ed8a7965b0c98b717e71bead242317",
            "tlsh":  "dc3140eba8e1a0089aab7098c94b4409b17af0078501ab54fd5c82955f7253c33ba8dc"
        },
        {
            "path":  "package.json",
            "sha256":  "8c27d7ef2e0ab53d191b1c74b30c05fd45b977fe461afcb8326d310998793e85",
            "tlsh":  "fad02e308a214e2364ca6ee20d266a0a51a20d6b0254bc08379b001c07feb3b24ff32e"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "reviews-dialog-ui-99.0.1.tgz",
            "hashes":  {
                "sha1":  "2e79ee8b0972516020484358b2f741c6125b3b32",
                "sha512_sri":  "sha512-94rfXNOiTXzhmMnbCzN46vm0dfQTGG+nBnxgzhYUp43WyAkqDDZdEyYhzfzvknInHR5ZLj2wWRcEvASEPV5xug=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ecg-internal/reviews-dialog-ui/MAL-2026-18211.json"