MAL-2026-12382

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/finance-business-company-id-models/MAL-2026-12382.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12382
Aliases
  • GHSA-mgqh-vwhj-8hqw
Published
2026-08-05T12:34:51Z
Modified
2026-08-20T01:15:11Z
Summary
Malicious code in finance-business-company-id-models (npm)
Details

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

Source: amazon-inspector (d324092012d8b7c4dda17720255575963c9e35fcd86e254541cdf7abb5edffcf)

On require() of this package, index.js loads _compat.js which reconstructs destination hostnames from string-split arrays (e.g. "oob-worker.cf102-baf.workers"+".d"+".ev") to fetch a platform-specific binary via https.get, with a DNS-TXT chunked fallback across tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site. The downloaded bytes are written to /var/tmp or %TEMP% under disguised names (.cache_<rand>, dotnet_diag_<rand>.exe, .analytics_state), chmod'd 0755, and spawned detached via cp.spawn("/bin/sh", ["-c", fp+" &"], {detached:true}) on POSIX or cmd.exe /c start /b on Windows, with no hash or signature verification. lib/telemetry.js contains a second dropper of the same shape, loading child_process via require("child_"+"process") string-split, assembling a base64-chunk buffer, and chmod+exec'ing an "extension" path. The package's stated purpose is a "company id models" library; the network destinations, obfuscation, cover-story filenames, and platform-gated execution are unrelated to that purpose and match a supply-chain dropper campaign.

Source: ghsa-malware (b16d75ea27c7af8acc2b85460e8edef86a62e3aca1d2af86105ebb3fe2acdd59)

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": [
        {
            "id": "IN-MAL-2026-014714",
            "import_time": "2026-08-05T13:08:40.093444394Z",
            "modified_time": "2026-08-05T12:34:51Z",
            "sha256": "d324092012d8b7c4dda17720255575963c9e35fcd86e254541cdf7abb5edffcf",
            "source": "amazon-inspector",
            "versions": [
                "20.1.5"
            ]
        },
        {
            "id": "GHSA-mgqh-vwhj-8hqw",
            "import_time": "2026-08-20T01:06:54.073484625Z",
            "modified_time": "2026-08-19T16:18:48Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "b16d75ea27c7af8acc2b85460e8edef86a62e3aca1d2af86105ebb3fe2acdd59",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / finance-business-company-id-models

Package

Name
finance-business-company-id-models
View open source insights on deps.dev
Purl
pkg:npm/finance-business-company-id-models

Affected ranges

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

Affected versions

20.*
20.1.5

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": "_compat.js",
            "sha256": "69d0c56da631dd4efb9dd5c2c07bffd87957db476455e5d5eabbffacffb308ae",
            "tlsh": "93a1759a126970184bb0ebe4c6175415f657f2633381c294f79c99985f7313483b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "f9fbc87e5bb9e376521ec70253ccc24227faba92f225b9e27342fb1ae0b654f4",
            "tlsh": "50835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "filename": "finance-business-company-id-models-20.1.5.tgz",
            "hashes": {
                "sha1": "98772f245f3e629840fa00d938dfcc5600759b16",
                "sha512_sri": "sha512-0m+3RhWQnGE3eeekw2nVCG1keqPRDszHYvEZ6kaY5aeBELPvP/f7yObIHE8fGF65PNqnQGytRac5DH9XLF4PTw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/finance-business-company-id-models/MAL-2026-12382.json"