MAL-2026-14303

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/x6842179305/MAL-2026-14303.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14303
Published
2026-08-19T17:44:01Z
Modified
2026-08-19T18:30:03.256425319Z
Summary
Malicious code in x6842179305 (npm)
Details

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

Source: amazon-inspector (ca4cf1d317cc7c96f8007c983999e18529f2cb8dea5514dcc68f704c7bda5638)

Package x6842179305 ships a main entry (1.js) that invokes the Function constructor over a custom-encoded, keyed/XOR-decoded byte buffer, causing an opaque payload to execute whenever the module is required or imported. A sibling file (ui.js) contains a matching custom-alphabet decoder feeding another opaque byte stream. The runtime behavior of the decoded payload — including any network destinations, credential access, or filesystem writes — is not statically determinable because the code has no readable source form. The package name is a numeric burner-style identifier with no documented purpose, no README describing functionality, and no legitimate library shape (no exported API surface, no source tree). A Function()-constructor executor over a custom-encoded byte table on module load has no benign engineering rationale and matches the obfuscated-loader / dropper pattern used to hide install- or import-time payloads from static review.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T18:12:44.470953903Z",
            "sha256": "21e4abc72b566010f36056a923127aceb70b5ef4bba919a6cced26d6ca662df2",
            "modified_time": "2026-08-19T17:44:01Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018424",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-08-19T18:12:44.611632194Z",
            "sha256": "ca4cf1d317cc7c96f8007c983999e18529f2cb8dea5514dcc68f704c7bda5638",
            "modified_time": "2026-08-19T17:44:14Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018425",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / x6842179305

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/x6842179305/MAL-2026-14303.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "62eab048607b37e78c5813024f3394ec77716269e06332033b13d27749e81898",
            "tlsh": "14e4855b15e1346ae47eb7ca8e33ecbc40b24a730e176805752f74879f2c1e167e42a6",
            "path": "1.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "x6842179305-1.0.0.tgz",
            "hashes": {
                "sha1": "c346cc6390fa616c4a23cc4440238bcae02b1c22",
                "sha512_sri": "sha512-hURFKwl8ts2YC24rKq1Nu+h4aDmu4wMUbAJHdGerS6cwZzGAdPUuUijL8FLPxYYpdWUJlku7FT/t0JpVXi0wDw=="
            }
        }
    ]
}
cwes
[
    {
        "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."
    }
]