oracledb
Audited by Socket on Jun 19, 2026
3 alerts found:
Anomalyx3No clear indicators of intentional malware are present in this wrapper code. However, it introduces meaningful risk by (1) executing an external npm package at runtime via npx (supply-chain/execution delegation), and (2) optionally loading '../../../.env' and forwarding its contents into the subprocess environment, which can leak local secrets to the executed tool. Windows uses shell:true, slightly increasing command-parsing/argument-handling risk. Overall: likely a legitimate tooling wrapper, but it should be reviewed and used with caution, especially regarding .env contents and the integrity of the npx-fetched dependency.
No clear evidence of intentional malware (no obfuscation, no direct exfiltration, no backdoor primitives) is present in this wrapper. However, it introduces meaningful security risk by dynamically executing a pinned third-party tool via `npx` and by forwarding nearly the entire environment plus (conditionally) a local `../../../.env` into the spawned dependency. It also forwards user-supplied CLI arguments broadly to that tool. This warrants review of the invoked package/tool behavior and tighter control over environment/argument handling.
This code is a security-sensitive launcher/adapter: it may load secrets from a local `../../../.env` into the environment and then uses `npx` to invoke `@toolbox-sdk/server@1.1.0` with an `execute_sql` capability, forwarding user-supplied CLI arguments with minimal validation. While there is no explicit malware logic in the wrapper itself (no exfiltration/persistence), the combination of external execution, Windows `shell:true`, and an SQL-execution target creates meaningful abuse and supply-chain risk that warrants review and input/secret handling controls in the parent and downstream tool.