MAL-2025-190936

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/typefence/MAL-2025-190936.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-190936
Aliases
  • GHSA-rjj3-hm27-gx8v
Published
2025-11-24T21:20:53Z
Modified
2025-11-26T00:13:27.653368Z
Summary
Malicious code in typefence (npm)
Details

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

Source: amazon-inspector (6c9ac344bf18963e146d64aec1de72c3db819eb2c4356be7257ef1980555a17f)

The package typefence was found to contain malicious code.

Source: ghsa-malware (28d8025e6d485b7679079ba265b2ed9a28c10029903c94441308121d974cbf18)

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 (e565319fd026f7c2cc4aa2f6eac5604d201f2797082c085171f44be87180c052)

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": [
        {
            "modified_time": "2025-11-24T21:22:00Z",
            "sha256": "28d8025e6d485b7679079ba265b2ed9a28c10029903c94441308121d974cbf18",
            "versions": [
                "1.2.2",
                "1.2.3"
            ],
            "import_time": "2025-11-24T21:23:33.107315885Z",
            "source": "ghsa-malware",
            "id": "GHSA-rjj3-hm27-gx8v"
        },
        {
            "sha256": "6c9ac344bf18963e146d64aec1de72c3db819eb2c4356be7257ef1980555a17f",
            "versions": [
                "1.2.2",
                "1.2.3"
            ],
            "import_time": "2025-11-24T23:07:24.132814139Z",
            "source": "amazon-inspector",
            "modified_time": "2025-11-24T22:54:02Z"
        },
        {
            "sha256": "e565319fd026f7c2cc4aa2f6eac5604d201f2797082c085171f44be87180c052",
            "versions": [
                "1.2.2",
                "1.2.3"
            ],
            "import_time": "2025-11-25T00:17:35.709311Z",
            "source": "google-open-source-security",
            "modified_time": "2025-11-25T00:16:49Z"
        }
    ]
}
References
Credits

Affected packages

npm / typefence

Package

Affected ranges

Affected versions

1.*
1.2.2
1.2.3

Database specific

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