MAL-2026-12485Malicious code in trapp-configuration (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.5.3 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | trapp-configuration | * |
| npm | trapp-configuration | 20.5.3 |
{"schema_version":"1.7.4","id":"MAL-2026-12485","published":"2026-08-05T12:33:44Z","modified":"2026-08-06T01:00:43.078974746Z","aliases":["GHSA-4x68-h3j7-vc7v"],"summary":"Malicious code in trapp-configuration (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (370baaa269109c0e76c1e6ff8a0c9a9e1e424c53f3bb835ee53beefd3f2af70c)\nOn 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, dotnet_diag_<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.\n\n## Source: ghsa-malware (a2d58104b870146d82d76ecd070942f1e053a0bfb1de3ea939fa6a48a285dc94)\nAny 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.\n","affected":[{"package":{"name":"trapp-configuration","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.5.3"],"database_specific":{"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"}],"indicators":{"evidence_files":[{"path":"_adapter.js","sha256":"3c412fd024a50e9676a22c711b1e82666653d2f53bd44a906bcbefda053d6264","tlsh":"15a1b79a16b630194bb0d7e4861b4816f55be6633780c194fb9ca9985fb2024c3b2ffc"}],"package_integrity":[{"filename":"trapp-configuration-20.5.3.tgz","hashes":{"sha1":"999ef6c15d065b5930ee1a440196798bb51690ee","sha512_sri":"sha512-t0Okkv8KjVVjMTh2agQ5IwTxWVM7p2rLhBJKjwzPGcdZv5ZFaS02xGY1870idhIKht/+vK+uKJIQdqLeNqQzFg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/trapp-configuration/v/20.5.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4x68-h3j7-vc7v"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014706","import_time":"2026-08-05T13:08:39.408336286Z","modified_time":"2026-08-05T12:33:44Z","sha256":"370baaa269109c0e76c1e6ff8a0c9a9e1e424c53f3bb835ee53beefd3f2af70c","source":"amazon-inspector","versions":["20.5.3"]},{"id":"GHSA-4x68-h3j7-vc7v","import_time":"2026-08-06T00:58:53.285813782Z","modified_time":"2026-08-05T15:05:14Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a2d58104b870146d82d76ecd070942f1e053a0bfb1de3ea939fa6a48a285dc94","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0