MAL-2026-6571

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-wp-viewer/MAL-2026-6571.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6571
Aliases
  • GHSA-566x-g457-qg8g
Published
2026-06-29T04:17:26Z
Modified
2026-08-21T12:30:11.153261799Z
Summary
Malicious code in react-wp-viewer (npm)
Details

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

Source: amazon-inspector (443f37b7957fe3f1d4dd836b3a0e6eeddb513e334700e0c0a4616570071c13d8)

react-wp-viewer 0.2.4 is a dependency-confusion package. Its postinstall hook performs an HTTP GET to a hardcoded bare-IP endpoint at http://130.49.177.51:18080/p/dc-20260627-yandex-geobase carrying the package name, version, and a fixed nonce. The package self-identifies as a dependency-confusion proof-of-concept (__dependency_confusion_poc__: true) and the URL path encodes a campaign identifier referencing an internal package namespace, indicating the public name is being squatted to win resolution against an identically-named private/internal package. Any build that resolves react-wp-viewer from the public registry will silently execute the postinstall beacon, disclosing the installer's source IP, hostname-derived network position, and the fact that this internal name resolves within their environment, to an attacker-controlled host over plain HTTP. No installer credentials are read in the traced code, but the install-time callout to an attacker-controlled IP is the dependency-confusion attack pattern and provides material reconnaissance value to the operator.

Source: ghsa-malware (dae245d908c5e9ae1001f2590c5d362fa1f21e148cdf565487424fabdad44700)

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": [
        {
            "sha256": "08fd73c12a730e8dfbaa5bf21aa086a0a3de88241fbd6d880a20805838929572",
            "import_time": "2026-06-29T05:07:05.765202301Z",
            "id": "IN-MAL-2026-007713",
            "modified_time": "2026-06-29T04:17:26Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "0.2.15"
            ]
        },
        {
            "sha256": "443f37b7957fe3f1d4dd836b3a0e6eeddb513e334700e0c0a4616570071c13d8",
            "import_time": "2026-06-29T05:07:06.066562413Z",
            "id": "IN-MAL-2026-007715",
            "modified_time": "2026-06-29T04:17:42Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "0.2.4"
            ]
        },
        {
            "sha256": "5b9202fdee16d26d0f7484f7f9a0d2d264b38ad3200b396ef483cc2439225360",
            "import_time": "2026-06-29T05:07:05.929844066Z",
            "id": "IN-MAL-2026-007714",
            "modified_time": "2026-06-29T04:17:35Z",
            "source": "amazon-inspector",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "versions": [
                "0.2.99"
            ]
        },
        {
            "sha256": "dae245d908c5e9ae1001f2590c5d362fa1f21e148cdf565487424fabdad44700",
            "id": "GHSA-566x-g457-qg8g",
            "modified_time": "2026-08-21T11:53:39Z",
            "import_time": "2026-08-21T12:26:03.440499087Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / react-wp-viewer

Package

Affected ranges

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

Affected versions

0.*
0.2.4
0.2.15
0.2.99

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "4511fad6b3a02db6a7d6ceffff5f43aff822a423a273336b0dfb0aa02c28bade",
            "path": "postinstall.js",
            "tlsh": "60f05cb856f580782ded41c9f3d1b85f95cee241f1557480ed9217d123d369326b26b0"
        },
        {
            "sha256": "4f315412d4445d69898f3f3f6c1216cf13ffba2c1b1cf45a9711f38890d02e1d",
            "path": "package.json",
            "tlsh": "7ce07d185821a73328c04a971577550694706d0b0108790c03e78838d3ce663c2be20f"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-oGM3xkjQzReHwrsEy9hoHOaIdmo7Ga1Gb73CIu5nAPiASgvr3pKZ0wso5zb7HusX40p2YWECxnDjKT5thV3lHQ==",
                "sha1": "2c07f5333e631d27ff6b7aa942dcd1f3605087aa"
            },
            "filename": "react-wp-viewer-0.2.15.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/react-wp-viewer/MAL-2026-6571.json"