Skip to main content
MalwarePublished

deposits-overnight (npm) · Malicious Code

Affects deposits-overnightSource GCVE Database

0

Malicious package : remove deposits-overnight and rotate any secrets on hosts that installed it.

Data as of 6 Aug 2026, 18:24 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12361

What to do

Remove deposits-overnight from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmdeposits-overnightAffected
  • =20.8.5
  • =35.5.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…