Malicious code in deposits-common (npm)
The npm package 'deposits-common' version 35.5.4 contains malicious code that reconstructs obfuscated hostnames to retrieve payloads via HTTPS or a DNS-TXT covert channel. The payload is saved to temporary directories under disguised filenames and executed without hash or signature verification. The malware respects certain environment variables to avoid detection in sandbox environments and uses a telemetry state file to prevent repeated execution. This malicious behavior is unrelated to the package's stated purpose as shared primitives.
AI Analysis
Technical Summary
The 'deposits-common' npm package version 35.5.4 includes a malicious loader implemented in _support.js that reconstructs obfuscated hostnames and attempts to retrieve payloads over HTTPS from worker.dev domains. If HTTPS retrieval fails, it falls back to a DNS-TXT covert channel using multiple dl.wel1.ru subdomains, resolving numbered TXT records and base64 concatenating chunks to reconstruct the payload. The payload is written to temporary directories with disguised filenames (e.g., dotnet_diag_<rand>.exe on Windows) and executed detached via shell commands without any hash or signature verification. The loader respects environment variables DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, and DO_NOT_TRACK to avoid telemetry and sandbox detection, and writes a state file to prevent re-execution. The delivery infrastructure and behavior are unrelated to the package's declared functionality.
Potential Impact
This malicious code enables arbitrary code execution on systems that install and run the affected package version, potentially allowing attackers to execute arbitrary payloads without user consent or verification. The use of covert DNS-TXT channels and obfuscated hostnames complicates detection and analysis. The malware's evasion of telemetry and sandbox detection increases the risk of persistent undetected compromise.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should avoid using the affected version 35.5.4 of the 'deposits-common' package. Verify package integrity before installation and consider removing or replacing this package if found in your environment. Monitor for suspicious network activity related to the described domains and payload execution patterns. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for current remediation guidance.
Malicious code in deposits-common (npm)
Description
The npm package 'deposits-common' version 35.5.4 contains malicious code that reconstructs obfuscated hostnames to retrieve payloads via HTTPS or a DNS-TXT covert channel. The payload is saved to temporary directories under disguised filenames and executed without hash or signature verification. The malware respects certain environment variables to avoid detection in sandbox environments and uses a telemetry state file to prevent repeated execution. This malicious behavior is unrelated to the package's stated purpose as shared primitives.
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-common' npm package version 35.5.4 includes a malicious loader implemented in _support.js that reconstructs obfuscated hostnames and attempts to retrieve payloads over HTTPS from worker.dev domains. If HTTPS retrieval fails, it falls back to a DNS-TXT covert channel using multiple dl.wel1.ru subdomains, resolving numbered TXT records and base64 concatenating chunks to reconstruct the payload. The payload is written to temporary directories with disguised filenames (e.g., dotnet_diag_<rand>.exe on Windows) and executed detached via shell commands without any hash or signature verification. The loader respects environment variables DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, and DO_NOT_TRACK to avoid telemetry and sandbox detection, and writes a state file to prevent re-execution. The delivery infrastructure and behavior are unrelated to the package's declared functionality.
Potential Impact
This malicious code enables arbitrary code execution on systems that install and run the affected package version, potentially allowing attackers to execute arbitrary payloads without user consent or verification. The use of covert DNS-TXT channels and obfuscated hostnames complicates detection and analysis. The malware's evasion of telemetry and sandbox detection increases the risk of persistent undetected compromise.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should avoid using the affected version 35.5.4 of the 'deposits-common' package. Verify package integrity before installation and consider removing or replacing this package if found in your environment. Monitor for suspicious network activity related to the described domains and payload execution patterns. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12690
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735736bf8831d5391433b7
Added to database: 08/05/2026, 15:31:02 UTC
Last enriched: 08/05/2026, 16:22:06 UTC
Last updated: 09/14/2026, 07:15:15 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.