Malicious code in deposits-overnight (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9065d908318bcb4d0db09498a3c52ab32951d889d03acf4d7c3fee12821271cf) On 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. ## Source: ghsa-malware (e648492ad66550a374992d08bee76cd025293af22a2191597e06c1474dd0dcca) 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.
AI Analysis
Technical Summary
The 'deposits-overnight' npm package, specifically versions 20.8.5 and 35.5.9, includes code in its index.js that loads a platform-specific native executable from obfuscated Cloudflare Workers hosts and a DNS TXT fallback domain. This executable is saved to temporary directories with disguised names, permissioned for execution, and launched detached from the main process using shell commands. The package also contains telemetry-related code that implements similar dropper functionality. This behavior occurs immediately upon requiring the package, with no legitimate justification for fetching and running an opaque native binary, indicating it is a malicious package designed to execute unauthorized code on the host system.
Potential Impact
Systems that import the affected versions of the 'deposits-overnight' package will have a native executable downloaded and executed without user consent, potentially leading to unauthorized code execution and compromise of the host environment. The malicious payload is delivered from obfuscated and anonymous infrastructure, complicating detection and attribution. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove the affected versions (=20.8.5 and =35.5.9) of 'deposits-overnight' from their projects and avoid installing or importing this package. Employing package integrity verification and sourcing dependencies from trusted repositories is recommended to prevent similar supply chain attacks.
Malicious code in deposits-overnight (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9065d908318bcb4d0db09498a3c52ab32951d889d03acf4d7c3fee12821271cf) On 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. ## Source: ghsa-malware (e648492ad66550a374992d08bee76cd025293af22a2191597e06c1474dd0dcca) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'deposits-overnight' npm package, specifically versions 20.8.5 and 35.5.9, includes code in its index.js that loads a platform-specific native executable from obfuscated Cloudflare Workers hosts and a DNS TXT fallback domain. This executable is saved to temporary directories with disguised names, permissioned for execution, and launched detached from the main process using shell commands. The package also contains telemetry-related code that implements similar dropper functionality. This behavior occurs immediately upon requiring the package, with no legitimate justification for fetching and running an opaque native binary, indicating it is a malicious package designed to execute unauthorized code on the host system.
Potential Impact
Systems that import the affected versions of the 'deposits-overnight' package will have a native executable downloaded and executed without user consent, potentially leading to unauthorized code execution and compromise of the host environment. The malicious payload is delivered from obfuscated and anonymous infrastructure, complicating detection and attribution. No known exploits in the wild have been reported yet.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should immediately remove the affected versions (=20.8.5 and =35.5.9) of 'deposits-overnight' from their projects and avoid installing or importing this package. Employing package integrity verification and sourcing dependencies from trusted repositories is recommended to prevent similar supply chain attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12361
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735730bf8831d53913cd93
Added to database: 08/05/2026, 15:30:56 UTC
Last enriched: 08/05/2026, 15:41:01 UTC
Last updated: 09/07/2026, 21:56:57 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.