Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in db-connector-log (npm)

0
Critical
Published: 06/18/2026 (06/18/2026, 22:29:10 UTC)
Source: GCVE Database
Product: db-connector-log

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (f0b028ed25796b267dc7df004e294b917a05c2e5fdd76e2540530b8c179843c6) [email protected] impersonates the legitimate dx-db-connector package (divbloxjs); package.json's repository/homepage point at the divbloxjs project and the library code is a near-verbatim copy with one added method. DivbloxDatabaseConnector.queryDBConnect contains a base64 literal HASH_KEY ("aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iL1NINVpX") that decodes via atob() to a jsonkeeper.com paste URL, fetches the.session field from that URL with axios, then spawns a detached node child process with stdio piped/ignored and writes the fetched string to its stdin for execution. This is fetch-and-exec of attacker-controlled, mutable remote JavaScript from an anonymous paste host, with the endpoint deliberately obfuscated via base64 encoding and a misleading variable name. Any consumer that invokes queryDBConnect (or any future release that wires this method into install/import paths) executes arbitrary attacker-controlled code in the installer's Node process. The combination of name impersonation of an established publisher, copy-paste of the victim package's code, an added remote-code-execution method, anonymous mutable code source, and URL obfuscation is the canonical typosquat dropper shape. ## Source: ghsa-malware (3bfecfb056db8c5e4aaed4e28024d4774d030e53b889b337bee712dfc6a31c21) 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

npmghsa
db-connector-log
Affected versions
=1.0.0

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

AILast updated: 07/10/2026, 13:05:36 UTC

Technical Analysis

The db-connector-log package version 1.0.0 impersonates the legitimate dx-db-connector package by copying its code and adding a malicious method, DivbloxDatabaseConnector.queryDBConnect. This method decodes a base64-encoded URL pointing to a jsonkeeper.com paste, fetches a '.session' field containing attacker-controlled JavaScript, and executes it via a detached Node.js child process. This fetch-and-execute behavior enables remote code execution controlled by an attacker. The package is a canonical example of a typosquatting dropper with obfuscated endpoints and a misleading variable name. Any system running this package is considered fully compromised.

Potential Impact

Systems with [email protected] installed or running are subject to arbitrary remote code execution by attackers. This can lead to full system compromise, including unauthorized access to secrets and keys stored on the machine. Because the malicious code is fetched dynamically from an attacker-controlled source, the attacker can modify the payload at any time. Simply removing the package does not guarantee full remediation due to potential persistence mechanisms established by the attacker.

Mitigation Recommendations

No official patch or fix is available. Immediate removal of the db-connector-log package version 1.0.0 is required. All secrets, credentials, and keys stored on affected systems should be rotated from a separate, trusted environment. Consider the affected system fully compromised and perform a thorough incident response and forensic analysis. Monitor for any signs of persistence or additional malicious activity.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6142
Osv Schema Version
1.7.4
Aliases
["GHSA-w7hw-9wmw-hj5w"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a46ece327e9c79719440e11

Added to database: 07/02/2026, 22:57:39 UTC

Last enriched: 07/10/2026, 13:05:36 UTC

Last updated: 07/22/2026, 05:12:19 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses