---
canonical: "https://firewall.lpm.dev/npm/db-rake"
markdown: "https://firewall.lpm.dev/npm/db-rake/report.md"
package: "db-rake"
report_status: "published"
title: "db-rake@1.0.2 npm security report"
verdict: "malicious"
version: "1.0.2"
---

# db-rake@1.0.2 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked by malware advisory** — OpenSSF/OSV malware advisory MAL-2026-6540 identifies this version as malicious and supplies the Firewall block.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Trusted malware advisory block
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 1.0.2
- **Selected version is latest:** Yes
- **Analysis source:** OpenSSF/OSV Malicious Advisory (OpenSSF/OSV)

OpenSSF/OSV malware advisory MAL-2026-6540 identifies this version as malicious and supplies the Firewall block.

OpenSSF/OSV advisory MAL-2026-6540 confirms this npm version as malicious. When a consumer imports db-rake and constructs any Model, the package's \`resetor()\` method silently runs \`npm install db-dx-connector\` (unpinned, \`no-save: true\`, \`loglevel: silent\`, \`no-warnings: true\`) via oubliette's \`syncApi\`, then \`require\`s the freshly-fetched module and invokes \`new DxDatabaseConnector({}).queryDBConnect()\`...

## Latest scan
- **Scanner version:** external-osv-malicious-v1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 100.0%
- **Started:** 2026-06-30T15:00:00.099Z
- **Finished:** 2026-06-30T15:00:00.099Z
- **Download time:** Not available
- **Static scan time:** Not available
- **AI review time:** Not available
- **Total time:** Not available

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

No additional public attack-surface or AI-review details are available.

## Affected versions and remediation

This report applies to db-rake@1.0.2.

The same advisory and Firewall decision cover these 2 recorded versions: 1.0.1, 1.0.2.

- Avoid installing db-rake@1.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. High: Osv Malicious Advisory
- **Category:** External Intel
- **Confidence:** 100.0%

When a consumer imports db-rake and constructs any Model, the package's \`resetor()\` method silently runs \`npm install db-dx-connector\` (unpinned, \`no-save: true\`, \`loglevel: silent\`, \`no-warnings: true\`) via oubliette's \`syncApi\`, then \`require\`s the freshly-fetched module and invokes \`new DxDatabaseConnector({}).queryDBConnect()\`. The install primitive is concealed by aliasing the import as \`npm\` (\`const { syncApi: npm } = require("oubliette")\`) so call sites read as innocuous \`npm().install(...)\`, and all output is suppressed. The fetched package is attacker-mutable (latest tag), unrelated to the README's stated purpose (an in-memory mobx-backed database), and undocumented. A commented-out adjacent block in dist/index.js shows the same technique templated against a different target package (\`clsx-js\` via \`execSync('npm uninstall clsx-js && npm install clsx-js', { stdio: 'ignore', windowsHide: true })\`), corroborating that the live db-dx-connector path is a deliberately engineered dropper rather than benign auto-recovery. Any code published to db-dx-connector at any future time will be executed in the consumer's process.

\#\# Source: ghsa-malware (61e705f5c04c01f4d11eab78c795823a33d8f69d1d33848100d092efc03d0662) 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.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** db-rake
- **Ecosystem:** npm
- **Version:** 1.0.2
- **Version published:** 2026-06-20T19:06:06.956Z
- **Package first seen:** 2026-06-30T15:00:00.099Z
- **Package last seen:** 2026-06-30T15:00:00.099Z
- **Known versions:** 2
- **Latest version:** 1.0.2
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/db-rake>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-6540>)
- [PACKAGE](<https://www.npmjs.com/package/db-rake/v/1.0.2>)
- [PACKAGE](<https://www.npmjs.com/package/db-rake/v/1.0.1>)
- [ADVISORY](<https://github.com/advisories/GHSA-prxc-r4q3-q88m>)
