MAL-2026-13845

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/yangming708/MAL-2026-13845.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13845
Aliases
  • GHSA-vgr6-626m-8w22
Published
2026-08-12T10:29:52Z
Modified
2026-08-12T13:00:25.089962308Z
Summary
Malicious code in yangming708 (npm)
Details

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

Source: amazon-inspector (f670e6c07175c9534c5554cc89c44a73a22d46a18a9a19140030b5b446fba17f)

The tarball contains only package.json and index.html. package.json declares main: "index.html", which is not a requirable Node module, and no preinstall/install/postinstall/prepare lifecycle scripts are declared. index.html contains an obfuscated script (wrapped in a fake Cloudflare 'Just a moment...' template) that, if opened in a browser, decodes an encoded string and calls window.location.replace to redirect to the resulting URL. Because npm install does not execute HTML and require()/import cannot load this main, installing or loading the package does not execute any code on a developer or build machine. The artifact looks like registry spam / a browser-side redirect page mispublished as an npm package, not a supply-chain attack against installers.

Source: ghsa-malware (3c66586cb4455acd4f9845b0ac788de86f9814180ee81055925867864db2ca7f)

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": [
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-vgr6-626m-8w22",
            "import_time": "2026-08-12T10:39:02.430631834Z",
            "sha256": "3c66586cb4455acd4f9845b0ac788de86f9814180ee81055925867864db2ca7f",
            "modified_time": "2026-08-12T10:29:53Z",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-017531",
            "import_time": "2026-08-12T12:51:48.297799536Z",
            "sha256": "f670e6c07175c9534c5554cc89c44a73a22d46a18a9a19140030b5b446fba17f",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-12T12:34:41Z"
        }
    ]
}
References
Credits

Affected packages

npm / yangming708

Package

Affected ranges

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

Affected versions

1.*
1.0.0

Database specific

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.html",
            "tlsh": "eea2625073c07480215b8fb6bb3bb2d4e6291e5ab54408cbf45cbd44ffa6d89cada970",
            "sha256": "c37a4650e05ce15dee9abb2aa5a21a3d305794db42dc40b1fa10c1aeeaf7b557"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/yangming708/MAL-2026-13845.json"