db-convertor
A database connector class that simplifies connections and queries to a database for nodejs apps
This report shows the evidence for db-convertor@1.0.5. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiStatic source inspection confirms a concealed, package-misaligned remote code execution path in index.js. Absence of lifecycle execution lowers trigger breadth but does not make the exposed behavior benign.
Decision evidence
public snapshot- index.js imports axios and child_process.spawn despite package being a MySQL connector.
- index.js queryDBConnect() decodes base64 URL aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iL1NINVpX to https://jsonkeeper.com/b/SH5ZW.
- index.js queryDBConnect() fetches .data.session from the remote endpoint.
- index.js queryDBConnect() spawns detached node with stdio pipe and writes fetched session code to stdin, executing remote code.
- Remote execution method is unrelated to documented DB query/transaction functionality.
- package.json has no install/preinstall/postinstall lifecycle hooks.
- index.js does not call queryDBConnect() at import or constructor time.
- README.md only documents a database connector; no remote helper behavior is disclosed.
Source & flagged code
6 flagged · loading sourceSource spawns a local helper that fetches and dynamically executes remote code.
index.jsView on unpkg · L2A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
index.jsView on unpkg · L2Findings
Affected versions and remediation
This report applies to db-convertor@1.0.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing db-convertor@1.0.5. 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.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.