oracledb

Warn

Audited by Socket on Jun 28, 2026

7 alerts found:

Anomalyx7
AnomalyLOW
scripts/get_query_plan.js

This module primarily delegates work to an external package/tool via npx and attempts to enforce a read-only SQL policy via assertReadOnlySql when the caller does not enable dangerous mode. However, it forwards high-value Oracle credentials/connection details into the spawned environment and supports a bypass path that skips read-only validation when specific CLI flags are present. No explicit malware behaviors (e.g., persistence, credential theft, or network exfiltration) are evident in this wrapper code alone; the dominant risk is delegation/supply-chain plus credential exposure and reliance on the correctness of the read-only enforcement logic.

Confidence: 62%Severity: 60%
AnomalyLOW
scripts/execute_sql.js

This module is primarily a command runner that can execute SQL via an external npm tool ("execute_sql") and forwards Oracle credentials/connection details from environment variables into that subprocess. It implements a read-only SQL heuristic filter for SELECT/WITH mode, but that protection is not a formally parsed SQL validator and may be bypassable. The biggest risk is operational/supply-chain: it dynamically runs an npm package via npx at runtime with inherited stdio and environment-based secrets. Overall, suspicious capability (SQL execution + credential forwarding) warrants review of the invoked @toolbox-sdk/server tool and the threat model for how --dangerous is authorized.

Confidence: 62%Severity: 66%
AnomalyLOW
scripts/list_invalid_objects.js

No direct malware is evident in this wrapper’s source code (it contains no obfuscation, eval/dynamic execution, or filesystem/network actions). The key security issue is that it performs runtime execution of a pinned third-party package via `npx` and forwards sensitive Oracle credentials (including `ORACLE_PASSWORD`) and connection/config values into the spawned process environment, with inherited stdio that could leak sensitive data to logs. The Windows use of `shell: true` and the lack of input validation further increase platform/tooling risk. Treat this as a moderate-to-high supply-chain/secret-handling concern pending review of the invoked `@toolbox-sdk/server@1.1.0` tool behavior and its argument/environment consumption.

Confidence: 62%Severity: 62%
AnomalyLOW
scripts/list_top_sql_by_resource.js

No direct malware behavior is evident in this wrapper code itself; it functions as a subprocess launcher. However, it materially increases security risk by dynamically executing an npm package via `npx` at runtime and by forwarding sensitive Oracle connection details (including ORACLE_PASSWORD and related fields) and proxy/trust settings into that external dependency’s environment. This design should be treated as high-sensitivity: audit/lock the exact `@toolbox-sdk/server@1.1.0` content, restrict credential propagation to the minimum required, and consider replacing runtime `npx` fetching with a pinned, verified, locally installed artifact.

Confidence: 63%Severity: 62%
AnomalyLOW
scripts/list_tables.js

This file does not show direct malicious logic (no backdoor/exfiltration implemented in the wrapper itself), but it creates a meaningful security risk by (1) executing an external npm-based tool via npx at runtime and (2) forwarding highly sensitive Oracle credentials (including ORACLE_PASSWORD/connection details) and network/proxy/cache configuration into that child process. Because stdio is inherited and no secret redaction is performed here, the effective risk is elevated if the invoked tool or its dependency chain is compromised or unusually verbose.

Confidence: 66%Severity: 62%
AnomalyLOW
scripts/list_tablespace_usage.js

This module is not overtly malicious on its own (no explicit exfiltration, reverse shell, or obfuscated code). However, it materially increases security exposure by (1) executing a runtime dependency via npx and (2) forwarding sensitive Oracle connection/credential environment variables (including ORACLE_PASSWORD and ORACLE_CONNECTION_STRING) directly to the invoked package/tool, with stdio inherited (increasing the chance secrets could appear in logs/output if the child mishandles or prints them). The overall risk is driven by supply-chain trust in the dynamically executed @toolbox-sdk/server and by the secrecy hygiene of the downstream tool.

Confidence: 65%Severity: 60%
AnomalyLOW
scripts/list_active_sessions.js

This module itself is a thin launcher and does not contain obvious in-module malware logic (no persistence, no obfuscated code, no direct exfiltration). However, it introduces meaningful security risk by executing an external package via npx at runtime and by forwarding high-sensitivity Oracle connection/credential variables (including ORACLE_PASSWORD and ORACLE_CONNECTION_STRING) and network/proxy/TLS-related environment settings to that spawned subprocess. The overall risk depends largely on the trustworthiness and behavior of @toolbox-sdk/server@1.1.0 and the tool it runs.

Confidence: 58%Severity: 60%
Audit Metadata
Analyzed At
Jun 28, 2026, 05:53 PM
Package URL
pkg:socket/skills-sh/kilo-org%2Fkilo-marketplace%2Foracledb%2F@b2ce50436eadb480b80cbb270c0a089dce6051149a555cf30cee191b67564540
Security Audit — socket — oracledb