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-rake (npm)

0
Critical
Published: 06/26/2026 (06/26/2026, 21:11:20 UTC)
Source: GCVE Database
Product: db-rake

Description

The db-rake npm package versions 1.0.1 and 1.0.2 contain malicious code that silently installs and executes an attacker-controlled package named db-dx-connector. This secondary package is fetched dynamically without user awareness or logging, enabling arbitrary code execution within the consumer's environment. The malicious behavior is deliberately obfuscated and designed as a dropper, posing a severe risk of full system compromise. Removal of db-rake alone may not eliminate all malicious artifacts, and secret keys on affected systems should be rotated immediately.

Affected software

npmghsa
db-rake
Affected versions
=1.0.2=1.0.1

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: 08/20/2026, 14:38:08 UTC

Technical Analysis

The db-rake npm package (versions 1.0.1 and 1.0.2) includes a method resetor() that, when any Model is constructed, silently runs an unpinned npm install of the attacker-controlled db-dx-connector package using an aliased and suppressed npm install call. The installed package is then required and executed, allowing arbitrary code execution. The technique is intentionally obfuscated and confirmed by similar commented-out code targeting another package. This design enables an attacker to execute any code they publish to db-dx-connector within the victim's process, effectively compromising the host system.

Potential Impact

Any system with db-rake versions 1.0.1 or 1.0.2 installed or running should be considered fully compromised. The malicious package can execute arbitrary code with the privileges of the running process, potentially leading to complete system takeover. All secrets and keys stored on the compromised system are at risk and must be rotated from a secure environment. Removing the db-rake package does not guarantee removal of all malicious components or persistence mechanisms.

Defensive Guidance

Immediate removal of the db-rake package versions 1.0.1 and 1.0.2 is recommended. However, due to the high likelihood of full system compromise, all secrets and keys on affected machines should be rotated from a different, trusted system. Conduct a thorough forensic investigation and consider rebuilding the affected systems to ensure complete eradication of malicious code. Monitor for any suspicious activity related to the db-dx-connector package or other unexpected npm installs.

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-6540
Osv Schema Version
1.7.4
Aliases
["GHSA-prxc-r4q3-q88m"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a870a77acd9273b49b593bc

Added to database: 08/20/2026, 14:08:55 UTC

Last enriched: 08/20/2026, 14:38:08 UTC

Last updated: 08/20/2026, 23:35:51 UTC

Views: 8

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