MAL-2026-5580

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/webpack-cache-reset/MAL-2026-5580.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5580
Aliases
  • GHSA-x29m-589q-wmg6
Published
2026-06-11T05:06:29Z
Modified
2026-07-15T05:20:19.552297181Z
Summary
Malicious code in webpack-cache-reset (npm)
Details

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

Source: amazon-inspector (fee0027f45dd4846b52b99120af39a0bca88f8693047612e946cd8d816f36e6c)

On npm install, the package's postinstall hook runs loader.js, which hex-decodes the URL https://jsonkeeper.com/b/INN1F (an anonymous JSON paste host), fetches the response, writes the embedded manifest.session payload to a temporary.js file, and require()'s it inside a detached child node process — executing attacker-controlled JavaScript on the installer's machine. The URL is obfuscated via Buffer.from(<hex>, 'hex') and the temporary file is cleaned up after load to hide traces. The package additionally impersonates a webpack utility: README is titled 'webpack-cache-plugin' and instructs users to npm install webpack-cache-plugin --save-dev, while the published name is 'webpack-cache-reset' and the declared repository (github.com/webpack-tools/webpack-cache-plugin) does not exist. Installers are lured under a webpack-ecosystem name into running arbitrary remote code at install time.

Source: ghsa-malware (e1eba3ce620a4c719ce4540d6dba27a804a00b1adaf564be5fa4a2a4735fc5aa)

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-11T05:06:30Z",
            "sha256": "7092bc577f8d9ec2d9b04d6afd5beffb37f4e9d7677a3c378397c0f350766be5",
            "versions": [
                "0.1.4"
            ],
            "import_time": "2026-06-11T05:41:05.479817348Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005545"
        },
        {
            "id": "IN-MAL-2026-005543",
            "sha256": "fee0027f45dd4846b52b99120af39a0bca88f8693047612e946cd8d816f36e6c",
            "modified_time": "2026-06-11T05:06:29Z",
            "versions": [
                "0.1.4"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-06-11T05:41:05.318993224Z"
        },
        {
            "source": "ghsa-malware",
            "sha256": "e1eba3ce620a4c719ce4540d6dba27a804a00b1adaf564be5fa4a2a4735fc5aa",
            "import_time": "2026-07-15T05:00:56.817435381Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-x29m-589q-wmg6",
            "modified_time": "2026-07-15T03:41:33Z"
        }
    ]
}
References
Credits

Affected packages

npm / webpack-cache-reset

Package

Name
webpack-cache-reset
View open source insights on deps.dev
Purl
pkg:npm/webpack-cache-reset

Affected ranges

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

Affected versions

0.*
0.1.4

Database specific

cwes
[
    {
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "webpack-cache-reset-0.1.4.tgz",
            "hashes": {
                "sha1": "81c501005d09385a62e4a8c89bd51d3fc8c960c8",
                "sha512_sri": "sha512-YHeZ2ymaH/i3UM5VRI0JUO7yQXNpSHRpdxQcylD/lucXz0QN2TmQ20fBmAWrYYtETTOrbfbumuRm8zLstr424w=="
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "15318a9e1ba52234da70d3d693235426d5a3e6727341e6c0b65c48d20fa2270d2b3dfc",
            "sha256": "8a4ce7cc6da98442369bdeab9c19d4af4dbbe2fd5d7c5305cc379bc7d9406ca4",
            "path": "loader.js"
        },
        {
            "tlsh": "0bd02b7c2099ba36543412c726212bf7f53f82fa02d254d129eab40c6081c5c572f0cf",
            "sha256": "3fe7223ec61255d007c2a77ea17dd5e7e291d521f210ea48b9faacb1f654c2af",
            "path": "README.md"
        }
    ],
    "domains": [
        "jsonkeeper.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/webpack-cache-reset/MAL-2026-5580.json"