MAL-2025-191202

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@clausehq/flows-step-jsontoxml/MAL-2025-191202.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191202
Aliases
  • GHSA-f23q-xj4h-4w4r
Published
2025-11-25T00:02:47Z
Modified
2025-12-01T04:37:53.188984Z
Summary
Malicious code in @clausehq/flows-step-jsontoxml (npm)
Details

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

Source: amazon-inspector (55490991efb020a37958f1460276c1439d022da66dd47d2799e4e676c1d898a2)

The package @clausehq/flows-step-jsontoxml was found to contain malicious code.

Source: ghsa-malware (36b86d636a81bfef198ef1c0cae8a1db2ba2f98e79bf90892ffac3697b82fc31)

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.

Source: google-open-source-security (6ba2b2b0c0c825b1043f11a2457917fe0d6737999ff4c154569559b7a1c89052)

This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2025-11-25T00:17:36.145656Z",
            "versions": [
                "0.1.14"
            ],
            "sha256": "6ba2b2b0c0c825b1043f11a2457917fe0d6737999ff4c154569559b7a1c89052",
            "modified_time": "2025-11-25T00:16:49Z",
            "source": "google-open-source-security"
        },
        {
            "import_time": "2025-11-25T00:47:38.275784033Z",
            "versions": [
                "0.1.14"
            ],
            "source": "ghsa-malware",
            "id": "GHSA-f23q-xj4h-4w4r",
            "modified_time": "2025-11-25T00:02:47Z",
            "sha256": "36b86d636a81bfef198ef1c0cae8a1db2ba2f98e79bf90892ffac3697b82fc31"
        },
        {
            "import_time": "2025-12-01T04:26:36.951454899Z",
            "versions": [
                "0.1.14"
            ],
            "sha256": "55490991efb020a37958f1460276c1439d022da66dd47d2799e4e676c1d898a2",
            "modified_time": "2025-12-01T04:11:22Z",
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / @clausehq/flows-step-jsontoxml

Package

Name
@clausehq/flows-step-jsontoxml
View open source insights on deps.dev
Purl
pkg:npm/%40clausehq/flows-step-jsontoxml

Affected ranges

Affected versions

0.*
0.1.14

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@clausehq/flows-step-jsontoxml/MAL-2025-191202.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]