MAL-2026-12361Malicious code in deposits-overnight (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | deposits-overnight | * |
| npm | deposits-overnight | 20.8.5 |
| npm | deposits-overnight | 35.5.9 |
{"schema_version":"1.7.4","id":"MAL-2026-12361","published":"2026-08-05T12:38:59Z","modified":"2026-08-06T01:00:38.476785831Z","aliases":["GHSA-29j8-42c7-86vh"],"summary":"Malicious code in deposits-overnight (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9065d908318bcb4d0db09498a3c52ab32951d889d03acf4d7c3fee12821271cf)\nOn require of the package, index.js loads./_init.js, which selects a platform-specific endpoint, downloads a native executable from obfuscated Cloudflare Workers hosts (hostnames assembled via split-and-join, e.g. 'oob-worker.cf99-9b3.wo' + 'rkers.d' + 'ev'), with a DNS TXT chunked-download fallback under *.dl.well1.site. The payload is written to /var/tmp or %TEMP% under disguised filenames such as dotnet_diag_*.exe or.cache_*, chmod'd to 0755 on Unix, and spawned detached via cp.spawn('/bin/sh',['-c',fp+' &'],{detached:true}) (or cmd on Windows). A.analytics_state stamp file throttles re-execution, and DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK env vars provide a cover story. lib/telemetry.js bundles equivalent dropper primitives (base64 payload assembly, dynamic fs['chmod'+'Sync'], require('child_'+'process'), spawn('/bin/sh',['-c',filePath+' &'])) as a secondary implementation. The package exposes no functionality that would justify fetching and executing an opaque native binary from anonymous infrastructure at import time.\n\n## Source: ghsa-malware (e648492ad66550a374992d08bee76cd025293af22a2191597e06c1474dd0dcca)\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":"deposits-overnight","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.8.5","35.5.9"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"_init.js","sha256":"e5b81cdb2258051e3a0ef2817fc6b12d1e491d16886e7592e9a97ba86070d633","tlsh":"35b1a656156a701c4bb0ebf4c71b8829f56af36337808684fb5c59985fb352482b2efc"},{"path":"lib/telemetry.js","sha256":"bad622c00ed4fd5a823cceffd234a33d9d1569b159db1f6955ae61cd8a4c2d0e","tlsh":"09835055566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"}],"package_integrity":[{"filename":"deposits-overnight-20.8.5.tgz","hashes":{"sha1":"d2828ff82f1cfa63dd078921b8155814143224b4","sha512_sri":"sha512-o6enC4LLFxzDZPWIRE+83JutppModez95VQ5S7s/IZou2mcmlxZ5ph0mXTehcTxYKNCDz7QPWSWzwGhdrhBq5g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/deposits-overnight/v/20.8.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/deposits-overnight/v/35.5.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-29j8-42c7-86vh"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014743","import_time":"2026-08-05T13:08:42.689841794Z","modified_time":"2026-08-05T12:38:59Z","sha256":"9065d908318bcb4d0db09498a3c52ab32951d889d03acf4d7c3fee12821271cf","source":"amazon-inspector","versions":["20.8.5"]},{"id":"IN-MAL-2026-015098","import_time":"2026-08-05T14:20:01.801603845Z","modified_time":"2026-08-05T13:56:00Z","sha256":"d1f37827f0f32998c4e94d28910916f2d959fa2e0665be7dd3be2a2d9b9c97de","source":"amazon-inspector","versions":["35.5.9"]},{"id":"GHSA-29j8-42c7-86vh","import_time":"2026-08-06T00:58:53.255598861Z","modified_time":"2026-08-05T18:30:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e648492ad66550a374992d08bee76cd025293af22a2191597e06c1474dd0dcca","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0