MAL-2026-10138

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/uac-package/MAL-2026-10138.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10138
Aliases
  • GHSA-7cmm-649r-p3q2
Published
2026-07-10T15:50:23Z
Modified
2026-08-05T07:21:38.030433836Z
Summary
Malicious code in uac-package (npm)
Details

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

Source: amazon-inspector (cb2f1cf2dbbdb87f2b0c37826d8326ff0ca7ecfdbc3af1dd4fdd31a0c299c78b)

uac-package@1.4.4 is an analytics package that, on install, silently mutates the installer's project files: postinstall.js invokes integrate() which rewrites package.json scripts (dev/preview/start), edits vite.config./nuxt.config., and prepends import 'uac-package/track' to the first matching src/main.{js,ts,tsx,jsx} or src/index.{js,ts}. All mutations reference only the package's own modules; no remote code is fetched at install time. The injected runtime module (autoIdentity.mjs) runs later in the deployed app's browser and performs broad end-user identity extraction: it scans localStorage/sessionStorage against a large auth-key list (accesstoken, idtoken, refresh_token, jwt, persist:auth, okta-token-storage, firebase:authUser, @auth0spajs, msal.account.keys, CognitoIdentityServiceProvider, supabase.auth.token, Clerk/Amplify/Keycloak keys), decodes JWTs, reads auth cookies, and monkey-patches window.fetch and XMLHttpRequest to intercept auth-related responses; extracted name/email/custom fields are POSTed to https://uac-backend.clay.in. The install-time mutation targets the installer's project only and references first-party modules (no exfil, RCE, credential theft, or destruction on the installer's machine). The auth-token collection executes in the installer's end-users' browsers after deployment — the developer opts into this by installing an analytics package that advertises identity tracking, and the destination is the vendor's documented backend — so it is not a supply-chain attack on the installer, but the identity-extraction scope (broad auth-key list, fetch/XHR interception, JWT decoding) is materially broader than typical product analytics and may create downstream privacy/compliance exposure for the installer's end-users.

Source: ghsa-malware (ecd1d3f24d31780d5f1db222bced091f2c311926df12057168bfff46c1bc2a6d)

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": [
        {
            "sha256": "22d32047710ee8e566af17a54d0bc0859b75a1d066ad0ac17673b2de87dc10e7",
            "source": "amazon-inspector",
            "versions": [
                "1.4.5"
            ],
            "id": "IN-MAL-2026-009627",
            "modified_time": "2026-07-10T15:50:57Z",
            "import_time": "2026-07-10T16:19:42.792779791Z"
        },
        {
            "sha256": "52df4d1ea783c5388332f96f59cfb6a410b1e079411460f51db6f0404f9c7f05",
            "source": "amazon-inspector",
            "versions": [
                "1.4.6"
            ],
            "id": "IN-MAL-2026-009625",
            "modified_time": "2026-07-10T15:50:41Z",
            "import_time": "2026-07-10T16:19:42.54528858Z"
        },
        {
            "sha256": "95910a8bf91d2e7ae56853ea58c4cd6f14ee3f3c3f5168198bd241bc45b98371",
            "source": "amazon-inspector",
            "versions": [
                "1.4.1"
            ],
            "id": "IN-MAL-2026-009623",
            "modified_time": "2026-07-10T15:50:23Z",
            "import_time": "2026-07-10T16:19:42.301261567Z"
        },
        {
            "sha256": "2e485b0df43825244098a69bb078d36c4ce98243d46c652d92ebb1afb2ae36f5",
            "source": "amazon-inspector",
            "versions": [
                "1.4.3"
            ],
            "id": "IN-MAL-2026-009626",
            "modified_time": "2026-07-10T15:50:48Z",
            "import_time": "2026-07-10T16:19:42.675537508Z"
        },
        {
            "sha256": "4d2c2d224834611b638d571689ba89e7ad9b15f59f68a01f403056d02c9278c9",
            "source": "amazon-inspector",
            "versions": [
                "1.4.7"
            ],
            "id": "IN-MAL-2026-009624",
            "modified_time": "2026-07-10T15:50:33Z",
            "import_time": "2026-07-10T16:19:42.433889141Z"
        },
        {
            "source": "ghsa-malware",
            "sha256": "ecd1d3f24d31780d5f1db222bced091f2c311926df12057168bfff46c1bc2a6d",
            "versions": [
                "1.4.8",
                "1.4.7",
                "1.4.6",
                "1.4.5",
                "1.4.4",
                "1.4.3",
                "1.4.1",
                "1.4.0",
                "1.3.0",
                "1.2.1",
                "1.1.3",
                "1.1.2",
                "1.1.1",
                "1.1.0"
            ],
            "id": "GHSA-7cmm-649r-p3q2",
            "modified_time": "2026-07-20T02:20:52Z",
            "import_time": "2026-07-20T03:23:10.333106361Z"
        },
        {
            "sha256": "0ea82419384920371fde689d40b57ab6334deabf38e21562da67871db9989223",
            "source": "amazon-inspector",
            "versions": [
                "1.1.2"
            ],
            "id": "IN-MAL-2026-011254",
            "modified_time": "2026-08-04T21:54:42Z",
            "import_time": "2026-08-04T22:30:07.455734567Z"
        },
        {
            "sha256": "20b7b59475bf88559895faa827ec35c86b621cf554f899292774f3dc124aa294",
            "source": "amazon-inspector",
            "versions": [
                "1.1.3"
            ],
            "id": "IN-MAL-2026-011320",
            "modified_time": "2026-08-04T22:04:30Z",
            "import_time": "2026-08-04T22:30:10.80954699Z"
        },
        {
            "sha256": "30c97f46d85f6ee15b18ea66e1d4236303e34208c9761eee938bcf3a3a951ffb",
            "source": "amazon-inspector",
            "versions": [
                "1.3.0"
            ],
            "id": "IN-MAL-2026-011255",
            "modified_time": "2026-08-04T21:54:51Z",
            "import_time": "2026-08-04T22:30:07.491610498Z"
        },
        {
            "sha256": "c5d7ec8a8ecc24abbecf1420687336779e848609174b37632c69a34d2e01fc38",
            "source": "amazon-inspector",
            "versions": [
                "1.4.0"
            ],
            "id": "IN-MAL-2026-013236",
            "modified_time": "2026-08-05T05:53:49Z",
            "import_time": "2026-08-05T06:00:56.933444823Z"
        },
        {
            "sha256": "cb2f1cf2dbbdb87f2b0c37826d8326ff0ca7ecfdbc3af1dd4fdd31a0c299c78b",
            "source": "amazon-inspector",
            "versions": [
                "1.4.4"
            ],
            "id": "IN-MAL-2026-012925",
            "modified_time": "2026-08-05T05:08:58Z",
            "import_time": "2026-08-05T06:00:20.488689302Z"
        },
        {
            "sha256": "d2988f3dd57fa2c8f8c1f301a358cb9f02ed259bf9ec6c96300ec1b919c9fe02",
            "source": "amazon-inspector",
            "versions": [
                "1.4.8"
            ],
            "id": "IN-MAL-2026-013225",
            "modified_time": "2026-08-05T05:52:11Z",
            "import_time": "2026-08-05T06:00:55.834310797Z"
        },
        {
            "source": "amazon-inspector",
            "sha256": "d4d038e373afea1036835b3522f31ae75417f51ad9c7889beb5327ac71cdb49c",
            "versions": [
                "1.1.0"
            ],
            "id": "IN-MAL-2026-012926",
            "modified_time": "2026-08-05T05:09:05Z",
            "import_time": "2026-08-05T06:00:20.606957038Z"
        },
        {
            "sha256": "f8e40073a3f4bcaf47665bd9c9e1b3b611efb36c7ea05bd989281f905a02d30c",
            "source": "amazon-inspector",
            "versions": [
                "1.1.1"
            ],
            "id": "IN-MAL-2026-013237",
            "modified_time": "2026-08-05T05:53:56Z",
            "import_time": "2026-08-05T06:00:57.032855303Z"
        },
        {
            "sha256": "4b9f9572a9dedf5abb41283fe20b4ae4be63485adff0dffc13f5b255a660c61f",
            "source": "amazon-inspector",
            "versions": [
                "1.2.1"
            ],
            "id": "IN-MAL-2026-013331",
            "modified_time": "2026-08-05T06:07:49Z",
            "import_time": "2026-08-05T07:06:41.760723153Z"
        }
    ]
}
References
Credits

Affected packages

npm / uac-package

Package

Affected ranges

Affected versions

1.*
1.1.0
1.1.1
1.1.2
1.1.3
1.2.1
1.3.0
1.4.0
1.4.1
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "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"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/uac-package/MAL-2026-10138.json"
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha1": "b2e3f74febb5e561f043fe1318cd20f348674c1a",
                "sha512_sri": "sha512-RWVOSP5ZJ7RGJEpNs4BPzM65WmWDuTlA7wTB9K0fWgiRDeGUTAOd4c6Kw7MWIXYHztoC4KNkN4WrwAykg20iGA=="
            },
            "filename": "uac-package-1.4.5.tgz"
        }
    ],
    "evidence_files": [
        {
            "sha256": "8cd1981b41c7162369d3e59ec9c7faac4f012b27ba721058d1d47a6abfe7360c",
            "tlsh": "8ee12349684be61687f2ab79d9438409fb3ba1736208519579dd91dc3ff022081e3eef",
            "path": "lib/integrate.js"
        },
        {
            "sha256": "21e0ace857aeeb5b4896e4cdfc6c66f0ce7f058a085f80b50928cf8647f2ae57",
            "tlsh": "df52956e38f33034056750b9abdf7405b226a413384ee8d436ac87157fed52a96f2acd",
            "path": "lib/autoIdentity.mjs"
        },
        {
            "sha256": "b25f814bb5b1b4132a92e40ca1abd2e2a819b0be9eaad39b6f194a71ada16f8c",
            "tlsh": "ab5294ad7df2203d0577616c240bf01a3b7ac543290dcd92b7ac87606fd96298af1acc",
            "path": "lib/track.mjs"
        }
    ]
}