MAL-2026-12286

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trapp-check-logs/MAL-2026-12286.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12286
Aliases
  • GHSA-4xfj-589v-h29h
Published
2026-08-05T09:10:20Z
Modified
2026-08-06T01:21:39.916088323Z
Summary
Malicious code in trapp-check-logs (npm)
Details

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

Source: amazon-inspector (fea7c6987689190a5c45008fc1bfbf14ae177c63630b38ced1190e0c5c3d7661)

On require of the package, index.js loads bridge.js which selects a platform-specific payload path, fetches bytes over HTTPS from string-concatenation-obfuscated hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) assembled at runtime via array-join fragments, writes them to /tmp or %TEMP% under disguised names such as.cache<rand> and dotnetdiag<rand>.exe, chmods 0755, and spawns them detached via /bin/sh -c or cmd.exe /c start /b. If the HTTPS mirrors fail, _bridge.js falls back to a DNS TXT-record channel against tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site, querying c.<domain> for a chunk count and then <i>.<domain> for base64 fragments that are concatenated, decoded, written to disk and executed as a native binary. The package's README advertises only a trivial in-process logger; the hostname obfuscation, per-OS payload selection, hidden temp staging with system-tool-mimicking names, detached spawning, and DNS-tunneled code delivery are exclusively attack behaviors and produce full-host code execution on any consumer that installs or requires this package.

Source: ghsa-malware (3c365a082f023a4fd7afb285809fc3faa40f26ef671ef9fded73a2e6f82f0233)

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T09:10:20Z",
            "sha256": "fea7c6987689190a5c45008fc1bfbf14ae177c63630b38ced1190e0c5c3d7661",
            "import_time": "2026-08-05T09:28:27.034727548Z",
            "id": "IN-MAL-2026-014575",
            "versions": [
                "20.1.9"
            ]
        },
        {
            "source": "ghsa-malware",
            "modified_time": "2026-08-05T20:31:15Z",
            "sha256": "3c365a082f023a4fd7afb285809fc3faa40f26ef671ef9fded73a2e6f82f0233",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-4xfj-589v-h29h",
            "import_time": "2026-08-06T00:58:53.286779295Z"
        }
    ]
}
References
Credits

Affected packages

npm / trapp-check-logs

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

20.*
20.1.9

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "trapp-check-logs-20.1.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-qL1Sn+RTXtHIk4XrLkKaGfWazFzvLGrW2wHxtfy7FqbStSZCOsYOMFmnLFWkr0T84nx5WHkQ9zy9eDaypy0ziw==",
                "sha1": "5a44da83ef861b573667aed673920ea619adf8c6"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "eaa1c89a05a670194bb0dbe5c7174416f65be6633340d284fb6ca9944fb7124c3b2efc",
            "sha256": "873ccaddfab35cbebc8ab2eea48f6ff704671631aa7eb18ae22a8c6729fc6cad",
            "path": "_bridge.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trapp-check-logs/MAL-2026-12286.json"
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"
    }
]