MAL-2026-16051

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@umschool/analytics/MAL-2026-16051.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16051
Published
2026-09-08T21:04:35Z
Modified
2026-09-09T02:00:04Z
Summary
Malicious code in @umschool/analytics (npm)
Details

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

Source: amazon-inspector (da14c2843514d3c9103335648bc81a8bce18fc173b27c2ab39ebe2c6c0abe028)

@umschool/analytics@999.0.4 targets the internal @umschool npm scope with an implausibly high version number to force resolution over any private package of the same name. Its postinstall.js runs on npm install and collects host identity (os.hostname, os.userInfo, process.cwd), reads /etc/hostname, /etc/hosts, /etc/resolv.conf, and /proc/version, filters process.env for credential-shaped keys matching a broad regex (token/secret/key/pass/aws/db/jwt/auth/etc.), and walks parent directories to read.env and config.* files. Each payload is base64-encoded and transmitted via three HTTPS GET beacons to akko.requestcatcher.com, with an additional hex-encoded DNS beacon of hostname+user to the same domain. A README/comment self-labeling the code as a 'HARMLESS PoC' does not change the observed behavior: credential-shaped environment variables, dotenv files, and internal network configuration leave the installer's build host to a third-party request-catcher.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019715",
            "import_time": "2026-09-08T21:14:30.933342582Z",
            "modified_time": "2026-09-08T21:04:35Z",
            "sha256": "730be45f4ca0d1b8df021cbd506e8ee293c8e9bc4a8ad3854b42408bd80e3162",
            "source": "amazon-inspector",
            "versions": [
                "999.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-019716",
            "import_time": "2026-09-08T21:14:30.998808771Z",
            "modified_time": "2026-09-08T21:04:44Z",
            "sha256": "7ce44bf9d1ffcc0a63fbc4e955c97cbd45f928e90ba052c49d4cce211b7fed96",
            "source": "amazon-inspector",
            "versions": [
                "999.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-019737",
            "import_time": "2026-09-09T01:51:47.650395877Z",
            "modified_time": "2026-09-09T01:32:34Z",
            "sha256": "b97a13f964bb64cd1a38a1e31b247917d6cea8f7aeae7bba3a6b7e6aa1feb4ef",
            "source": "amazon-inspector",
            "versions": [
                "999.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-019736",
            "import_time": "2026-09-09T01:51:47.500023483Z",
            "modified_time": "2026-09-09T01:32:23Z",
            "sha256": "da14c2843514d3c9103335648bc81a8bce18fc173b27c2ab39ebe2c6c0abe028",
            "source": "amazon-inspector",
            "versions": [
                "999.0.4"
            ]
        },
        {
            "id": "IN-MAL-2026-019738",
            "import_time": "2026-09-09T01:51:47.823483096Z",
            "modified_time": "2026-09-09T01:32:41Z",
            "sha256": "979621128350544996205e9516804472bf66eec1ff9f22a57111756158e9af8b",
            "source": "amazon-inspector",
            "versions": [
                "999.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @umschool/analytics

Package

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

Affected ranges

Affected versions

999.*
999.0.0
999.0.1
999.0.2
999.0.3
999.0.4

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"
    },
    {
        "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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "9fa1a2280370830680e73bb23c8185c40e442d46a60bbd845a2f98e48f590edb",
            "tlsh": "0b21e5b524b4f37c18b20ac194a6985b6163e3013102f8c0b86d136d5bddee528a74fe"
        },
        {
            "path": "package.json",
            "sha256": "e9214653648775a79e85ef9c5afc609da0b57468667660e343084da49951135e",
            "tlsh": "64e02659242412332cd282a6083260096524ce064145b91c17d72284828eb6345fa39d"
        }
    ],
    "package_integrity": [
        {
            "filename": "analytics-999.0.1.tgz",
            "hashes": {
                "sha1": "63a69e7156d323b4bc8cc3b7f0629e0b9d304744",
                "sha512_sri": "sha512-fztSb711q5a4YnMdbkProlUm88aO/URGtUzg+nhf3iiTfpOg5rCAgsmAqe0t7UC2uOjNwb6CLbngKJ+sO71dBg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@umschool/analytics/MAL-2026-16051.json"