MAL-2026-12485

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trapp-configuration/MAL-2026-12485.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12485
Aliases
  • GHSA-4x68-h3j7-vc7v
Published
2026-08-05T12:33:44Z
Modified
2026-08-06T01:21:40.207240135Z
Summary
Malicious code in trapp-configuration (npm)
Details

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

Source: amazon-inspector (370baaa269109c0e76c1e6ff8a0c9a9e1e424c53f3bb835ee53beefd3f2af70c)

On require('trapp-configuration'), index.js loads adapter.js which selects a platform-specific URL, downloads an opaque binary from one of three Cloudflare Workers hosts whose hostnames are reconstructed by joining character-split arrays (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev), writes it to /tmp or TEMP under a disguised name (.cache<hex> on POSIX, dotnetdiag<hex>.exe on Windows), chmods it 0755, and spawns it detached via child_process spawn against /bin/sh or cmd. There is no hash or signature verification. When the HTTP mirrors are unreachable, _adapter.js falls back to a DNS-TXT covert channel against *.dl.well1.site (c.<domain> returns a chunk count, then numbered TXT queries at N.<domain> are base64-reassembled into the same payload) and executes the reconstructed binary. Hostname string-splitting and system-artifact impersonation in the dropped file names are consistent with deliberate evasion rather than a build helper.

Source: ghsa-malware (a2d58104b870146d82d76ecd070942f1e053a0bfb1de3ea939fa6a48a285dc94)

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": [
        {
            "import_time": "2026-08-05T13:08:39.408336286Z",
            "modified_time": "2026-08-05T12:33:44Z",
            "sha256": "370baaa269109c0e76c1e6ff8a0c9a9e1e424c53f3bb835ee53beefd3f2af70c",
            "id": "IN-MAL-2026-014706",
            "versions": [
                "20.5.3"
            ],
            "source": "amazon-inspector"
        },
        {
            "import_time": "2026-08-06T00:58:53.285813782Z",
            "sha256": "a2d58104b870146d82d76ecd070942f1e053a0bfb1de3ea939fa6a48a285dc94",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-4x68-h3j7-vc7v",
            "modified_time": "2026-08-05T15:05:14Z",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / trapp-configuration

Package

Name
trapp-configuration
View open source insights on deps.dev
Purl
pkg:npm/trapp-configuration

Affected ranges

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

Affected versions

20.*
20.5.3

Database specific

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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-t0Okkv8KjVVjMTh2agQ5IwTxWVM7p2rLhBJKjwzPGcdZv5ZFaS02xGY1870idhIKht/+vK+uKJIQdqLeNqQzFg==",
                "sha1": "999ef6c15d065b5930ee1a440196798bb51690ee"
            },
            "filename": "trapp-configuration-20.5.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_adapter.js",
            "sha256": "3c412fd024a50e9676a22c711b1e82666653d2f53bd44a906bcbefda053d6264",
            "tlsh": "15a1b79a16b630194bb0d7e4861b4816f55be6633780c194fb9ca9985fb2024c3b2ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trapp-configuration/MAL-2026-12485.json"