MAL-2026-13973

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@khaznatech/common/MAL-2026-13973.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13973
Published
2026-08-13T21:08:58Z
Modified
2026-08-13T21:30:25.925358846Z
Summary
Malicious code in @khaznatech/common (npm)
Details

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

Source: amazon-inspector (59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911)

The package's preinstall script (install-report.js) runs automatically on npm install and performs an HTTPS GET to a hardcoded webhook.site capture endpoint, appending the installer's hostname (os.hostname()) and current working directory basename (process.cwd()) to the URL path. webhook.site is an anonymous third-party request-capture service, not publisher infrastructure, and the exfiltrated values identify the installer's machine and project. The behavior is labeled as install telemetry in a comment but is not disclosed, not opt-in, and directed at an anonymous endpoint rather than a package-owned or caller-configured destination.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-017688",
            "import_time": "2026-08-13T21:20:57.739230508Z",
            "sha256": "59ac302f60b532a4e864c576593db300a20abba96ae2a53ba5da0cc06d8dc911",
            "versions": [
                "99.0.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-08-13T21:08:58Z"
        }
    ]
}
References
Credits

Affected packages

npm / @khaznatech/common

Package

Name
@khaznatech/common
View open source insights on deps.dev
Purl
pkg:npm/%40khaznatech/common

Affected ranges

Affected versions

99.*
99.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "install-report.js",
            "tlsh": "1bf0e1be43f460392ee2c1f0b9175ceae10ad519b25056c0d69922b14746cb50cb75f5",
            "sha256": "d6d5d7835070f0bac8a27aad788c19a99a97583aefdea9fdff198b8e5cbfe32f"
        }
    ],
    "package_integrity": [
        {
            "filename": "common-99.0.0.tgz",
            "hashes": {
                "sha1": "78d49089f40fd004cc0dfdc02a574d4fe18edab9",
                "sha512_sri": "sha512-ZJi4MQgqkvVq0RLAoYBsGpE7b4/XFpyYfnDymKril4JYbfFbqbGxS33+b7VWh0DGQSrAm5hGx6/QsBAIuF1p0w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@khaznatech/common/MAL-2026-13973.json"