MAL-2026-14054

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/depcruise-fmt/MAL-2026-14054.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14054
Aliases
  • GHSA-gh2x-96f9-2cgf
Published
2026-08-15T14:35:33Z
Modified
2026-08-18T17:15:25Z
Summary
Malicious code in depcruise-fmt (npm)
Details

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

Source: amazon-inspector (08675f5d3de6c71d05588ae719204e2919ffac836aaada2f24b2b61bed2291ba)

depcruise-fmt ships an empty module (index.js exports {}) and declares its only dependency, ltidisafe, as an arbitrary HTTPS tarball hosted at https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.7.3.tgz rather than a registry package. On npm install, npm fetches and installs that off-registry tarball into the dependency tree and executes any lifecycle scripts it contains. The wrapper package has no other functionality — its sole effect is to inject the externally hosted payload. The tarball is served from an author-controlled Google Cloud Storage bucket, is not subject to registry publish scanning, is not integrity-pinned, and its contents can be replaced at any time without a corresponding npm publish. The package name also resembles the popular dependency-cruiser tooling, positioning this as a lookalike lure whose only installation effect is to resolve to the GCS-hosted tarball.

Source: ghsa-malware (fcb3bc16724ee86eb43e9d012953d05ef1181b3fbffb92480776a5c8b39c06e4)

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: ossf-package-analysis (ea193e6cea73a06c8f92a684d56040564d6a0fef93da1d45010978107ea0fd0c)

The OpenSSF Package Analysis project identified 'depcruise-fmt' @ 99.9.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-15T14:41:48.22399979Z",
            "modified_time": "2026-08-15T14:35:33Z",
            "sha256": "ea193e6cea73a06c8f92a684d56040564d6a0fef93da1d45010978107ea0fd0c",
            "source": "ossf-package-analysis",
            "versions": [
                "99.9.1"
            ]
        },
        {
            "id": "IN-MAL-2026-017977",
            "import_time": "2026-08-15T18:45:40.56342538Z",
            "modified_time": "2026-08-15T18:11:46Z",
            "sha256": "08675f5d3de6c71d05588ae719204e2919ffac836aaada2f24b2b61bed2291ba",
            "source": "amazon-inspector",
            "versions": [
                "99.9.1"
            ]
        },
        {
            "id": "GHSA-gh2x-96f9-2cgf",
            "import_time": "2026-08-18T16:29:04.466290436Z",
            "modified_time": "2026-08-18T16:20:52Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "fcb3bc16724ee86eb43e9d012953d05ef1181b3fbffb92480776a5c8b39c06e4",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / depcruise-fmt

Package

Name
depcruise-fmt
View open source insights on deps.dev
Purl
pkg:npm/depcruise-fmt

Affected ranges

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

Affected versions

99.*
99.9.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "package.json",
            "sha256": "d0e9d7e41b1bb64ba7ee5b2dab2c5d59bdc75bcc50dd173703edda6498974bf5",
            "tlsh": "bde0c2304a6566335ec511f24c2b655bf3b18e5f4808bd0c5beb082c818dab368fa25c"
        }
    ],
    "package_integrity": [
        {
            "filename": "depcruise-fmt-99.9.1.tgz",
            "hashes": {
                "sha1": "08422f66c526c5836b043a1a3c0a35538a61da23",
                "sha512_sri": "sha512-c0WiHtxiTOk1MSVe/yD1O5qIElggcOFz9LynIdJPmGkZKzRqp3EHtg+FBr0pLXIzTnjwKL6qo5g1Gmc1zl+95w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/depcruise-fmt/MAL-2026-14054.json"