{"id":"MAL-2026-12286","summary":"Malicious code in trapp-check-logs (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fea7c6987689190a5c45008fc1bfbf14ae177c63630b38ced1190e0c5c3d7661)\nOn 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_\u003crand\u003e and dotnet_diag_\u003crand\u003e.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.\u003cdomain\u003e for a chunk count and then \u003ci\u003e.\u003cdomain\u003e 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.\n\n## Source: ghsa-malware (3c365a082f023a4fd7afb285809fc3faa40f26ef671ef9fded73a2e6f82f0233)\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","aliases":["GHSA-4xfj-589v-h29h"],"modified":"2026-08-06T01:21:39.916088323Z","published":"2026-08-05T09:10:20Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014575","import_time":"2026-08-05T09:28:27.034727548Z","modified_time":"2026-08-05T09:10:20Z","sha256":"fea7c6987689190a5c45008fc1bfbf14ae177c63630b38ced1190e0c5c3d7661","source":"amazon-inspector","versions":["20.1.9"]},{"id":"GHSA-4xfj-589v-h29h","import_time":"2026-08-06T00:58:53.286779295Z","modified_time":"2026-08-05T20:31:15Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"3c365a082f023a4fd7afb285809fc3faa40f26ef671ef9fded73a2e6f82f0233","source":"ghsa-malware"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/trapp-check-logs/v/20.1.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4xfj-589v-h29h"}],"affected":[{"package":{"name":"trapp-check-logs","ecosystem":"npm","purl":"pkg:npm/trapp-check-logs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.1.9"],"database_specific":{"indicators":{"evidence_files":[{"path":"_bridge.js","sha256":"873ccaddfab35cbebc8ab2eea48f6ff704671631aa7eb18ae22a8c6729fc6cad","tlsh":"eaa1c89a05a670194bb0dbe5c7174416f65be6633340d284fb6ca9944fb7124c3b2efc"}],"package_integrity":[{"filename":"trapp-check-logs-20.1.9.tgz","hashes":{"sha512_sri":"sha512-qL1Sn+RTXtHIk4XrLkKaGfWazFzvLGrW2wHxtfy7FqbStSZCOsYOMFmnLFWkr0T84nx5WHkQ9zy9eDaypy0ziw==","sha1":"5a44da83ef861b573667aed673920ea619adf8c6"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/trapp-check-logs/MAL-2026-12286.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}