Malicious code in dxr-dos (npm)
Description
The dxr-dos npm package version 0.1.2 includes malicious code that unconditionally requires a third-party package pinned to the mutable 'latest' tag, allowing arbitrary code execution. It extracts a password-protected archive containing a PHP command and control (C2) panel and related files, which are hidden from scanners. The package advertises itself as a DDoS attack toolkit with C2 capabilities. This behavior poses a risk of unauthorized code execution and deployment of offensive tools.
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 dxr-dos npm package version 0.1.2 contains malicious code that unconditionally imports the external npm package 'deathoffather-project' pinned to the mutable 'latest' tag. This dependency immediately executes an opaque function referencing a token and a Telegram channel, enabling arbitrary code execution from the third-party package on every invocation. Additionally, the package shells out to 7z with a hardcoded password to extract a bundled PHP C2 panel and related files from a password-protected archive, which serves to hide the payload from registry scanners. The package advertises itself as an L4/L7 DDoS attack toolkit with a 'Create Panel C2' feature. The mutable dependency and hidden payload introduce significant security risks beyond the offensive capabilities advertised.
Potential Impact
Users running dxr-dos version 0.1.2 are exposed to arbitrary code execution via a mutable third-party dependency that is invoked at CLI startup. The extraction and deployment of a hidden PHP C2 panel further enable command and control capabilities on the compromised system. This can lead to unauthorized control, potential use in DDoS attacks, and other malicious activities. The hardcoded password and obfuscation techniques hinder detection by automated scanners.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using dxr-dos version 0.1.2 due to its malicious behavior. Since the package relies on a mutable third-party dependency, removing or blocking the 'deathoffather-project' package or avoiding the dxr-dos package altogether is recommended. Monitor for updates from the package maintainers or npm advisories for any official fixes. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14240
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c2acd9273b492524bf
Added to database: 08/19/2026, 13:50:58 UTC
Last enriched: 08/19/2026, 14:29:35 UTC
Last updated: 10/02/2026, 13:52:11 UTC
Views: 33
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.