Malicious code in db-convertor (npm)
The npm package 'db-convertor' contains malicious code that fetches and executes attacker-controlled JavaScript code from an anonymous mutable paste service at runtime. This behavior is hidden behind base64 encoding and is undocumented, increasing the risk of accidental installation by users mistyping the legitimate 'dx-db-connector' package name. Execution of the fetched code occurs without any validation, allowing arbitrary code execution within the Node.js process. Systems with this package installed should be considered fully compromised.
AI Analysis
Technical Summary
The 'db-convertor' npm package exports a class with a method that base64-decodes a hardcoded URL pointing to a JSON paste on jsonkeeper.com. It retrieves a 'session' field from this JSON via axios and pipes the content as stdin into a detached Node.js child process, executing arbitrary attacker-controlled code. The use of an anonymous mutable paste host means the payload can be changed at any time, enabling ongoing remote code execution. The package name and keywords impersonate the legitimate Divblox 'dx-db-connector' package, increasing the likelihood of accidental installation. This backdoor is not documented and is designed to evade casual code review and string scanning.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker can execute arbitrary code with the privileges of the Node.js process, potentially leading to full system compromise. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
Immediate removal of the 'db-convertor' package is required. All credentials, secrets, and keys stored on the affected system should be rotated from a separate, uncompromised environment. Due to the high likelihood of full system compromise, a full forensic investigation and system rebuild are recommended. There is no official patch or fix for this malicious package; prevention relies on avoiding installation and verifying package authenticity before use.
Malicious code in db-convertor (npm)
Description
The npm package 'db-convertor' contains malicious code that fetches and executes attacker-controlled JavaScript code from an anonymous mutable paste service at runtime. This behavior is hidden behind base64 encoding and is undocumented, increasing the risk of accidental installation by users mistyping the legitimate 'dx-db-connector' package name. Execution of the fetched code occurs without any validation, allowing arbitrary code execution within the Node.js process. Systems with this package installed should be considered fully compromised.
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 'db-convertor' npm package exports a class with a method that base64-decodes a hardcoded URL pointing to a JSON paste on jsonkeeper.com. It retrieves a 'session' field from this JSON via axios and pipes the content as stdin into a detached Node.js child process, executing arbitrary attacker-controlled code. The use of an anonymous mutable paste host means the payload can be changed at any time, enabling ongoing remote code execution. The package name and keywords impersonate the legitimate Divblox 'dx-db-connector' package, increasing the likelihood of accidental installation. This backdoor is not documented and is designed to evade casual code review and string scanning.
Potential Impact
Any system with this package installed or running is considered fully compromised. The attacker can execute arbitrary code with the privileges of the Node.js process, potentially leading to full system compromise. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removal of the package alone does not guarantee elimination of all malicious artifacts or backdoors introduced by the attacker.
Mitigation Recommendations
Immediate removal of the 'db-convertor' package is required. All credentials, secrets, and keys stored on the affected system should be rotated from a separate, uncompromised environment. Due to the high likelihood of full system compromise, a full forensic investigation and system rebuild are recommended. There is no official patch or fix for this malicious package; prevention relies on avoiding installation and verifying package authenticity before use.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6726
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-p467-3jcx-48q5"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a46ece427e9c79719440eac
Added to database: 07/02/2026, 22:57:40 UTC
Last enriched: 07/10/2026, 13:04:55 UTC
Last updated: 07/31/2026, 10:32:30 UTC
Views: 125
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.