MAL-2026-12128

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aasp-tent-aasp-tent-core/MAL-2026-12128.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12128
Published
2026-08-05T09:10:28Z
Modified
2026-08-05T10:05:42.172227835Z
Summary
Malicious code in aasp-tent-aasp-tent-core (npm)
Details

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

Source: amazon-inspector (8f40a1f6a1ee90eed076db7cd24155d8dd0ceb6f3bd3b0698eb9ff0b0543efee)

On require of the package, index.js loads compat.js, which detects the host OS/arch and fetches a per-platform native binary from author-controlled hosts whose names are assembled at runtime via array.join("") to hide them from static scanners: oob-worker.cf101-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, with a DNS TXT fallback across tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site (base64 chunks reassembled from TXT records). The downloaded bytes are written under disguised names into /var/tmp or %TEMP% (e.g., dotnetdiag<hex>.exe,.cache<hex>), chmod 0755, and detached-spawned via cp.spawn("/bin/sh", ["-c", path+" &"]) or cmd.exe /c start /b, yielding remote code execution on the installer's machine at import time. A second module lib/telemetry.js ships a near-identical dropper primitive (require("child_" + "process"), os"host" + "name", fs["chmod" + "Sync"], base64 decode + chmod 755 + spawn /bin/sh) that is not currently referenced by index.js but is staged for activation. The package is advertised as a "platform core" but ships no functionality matching that description; its only import-time effect is the binary drop-and-exec chain.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T09:10:49Z",
            "id": "IN-MAL-2026-014578",
            "import_time": "2026-08-05T09:28:27.300942553Z",
            "sha256": "8f40a1f6a1ee90eed076db7cd24155d8dd0ceb6f3bd3b0698eb9ff0b0543efee",
            "versions": [
                "0.0.2"
            ]
        },
        {
            "modified_time": "2026-08-05T09:10:28Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014576",
            "import_time": "2026-08-05T09:28:27.12576392Z",
            "sha256": "d58c21b32e0af7aee23f57ab94f87e6ea6a7fa8ff31efacdae2d5ebca6e94ceb",
            "versions": [
                "33.4.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / aasp-tent-aasp-tent-core

Package

Name
aasp-tent-aasp-tent-core
View open source insights on deps.dev
Purl
pkg:npm/aasp-tent-aasp-tent-core

Affected ranges

Affected versions

0.*
0.0.2
33.*
33.4.6

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "aasp-tent-aasp-tent-core-0.0.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-zOpCQf+Ty5+Ei0WtOrBePODzEPBnP+OM/xKlzrB1mdoq77zIIesSRj0jqztiwwQhd+UblkVVgSnRlfyXv7WUVA==",
                "sha1": "53ad8e31410cc63f4f5e8f2a3c698854b0a205b7"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "f9a18696066a702987b09be4c7174416f65ae26333908294f75c99885f7703483b1efc",
            "sha256": "44f31f3aa4d5fbb291c8c65237b4a198364aa93e3550e2c9971164a531c4b78b",
            "path": "_compat.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/aasp-tent-aasp-tent-core/MAL-2026-12128.json"
cwes
[
    {
        "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"
    }
]