alloydb-postgres-optimize
Audited by Socket on Apr 28, 2026
2 alerts found:
Anomalyx2No explicit malware or backdoor logic is present in this snippet. The main security concern is confidentiality and supply-chain risk: it executes a third-party package via npx and passes a broad set of environment variables—including values loaded from a local .env file—into that external tool. On Windows, shell:true plus forwarding user-controlled args adds additional risk of argument/shell interpretation issues. Review the invoked tool’s behavior and consider environment allowlisting/scrubbing before spawning external code.
This module is not clearly malicious by itself; it functions as a wrapper that executes a fixed tool via npx and forwards environment variables and user arguments. The main security concern is supply-chain/execution-time risk from invoking @toolbox-sdk/server@1.1.0 via npx and the potential secret exposure caused by loading a local .env file and passing broad environment data (including CLAUDE_PLUGIN_OPTION_* mapped values) into the spawned process. Review the invoked tool/dependency behavior and consider restricting environment propagation and argument forwarding.