bigquery-data
Audited by Socket on May 20, 2026
3 alerts found:
Anomalyx3No overt malicious logic is present in this wrapper itself (no eval, no network/file-damage operations, no explicit exfiltration). However, it creates meaningful security exposure by executing an external tool via npx and forwarding both user-controlled CLI arguments and potentially sensitive environment values (including a local .env file and broad CLAUDE_PLUGIN_OPTION_* variables) into the subprocess with inherited stdio. Treat the invoked package/tool as untrusted code and ensure supply-chain integrity (lockfile/verified installs) and minimize secret propagation.
This module is primarily an execution wrapper with medium operational risk: it (1) conditionally loads a local .env file and forwards its contents as environment variables to a subprocess, potentially exposing credentials/secrets, and (2) invokes an external package at runtime via `npx`, which introduces supply-chain/execution uncertainty. No direct malicious payload is evident in this snippet, but the env passthrough and dynamic external execution should be reviewed/controlled (e.g., lock down registry access, validate/limit forwarded env and CLI arguments, and avoid loading unintended .env files in untrusted contexts).
This module is a launcher that primarily increases risk through delegated execution (npx running `@toolbox-sdk/server@1.1.0`) and by importing/forwarding environment variables—potentially including secrets—from a local .env file into the child process. The wrapper itself shows no direct malicious indicators (no exfiltration/backdoor code in this fragment), but the design creates meaningful supply-chain and secret-handling exposure that should be reviewed/mitigated (e.g., avoid broad .env import, restrict forwarded env keys, and ensure the invoked tool is trustworthy and integrity-verified).