cloud-sql-mysql-admin

Warn

Audited by Socket on Apr 29, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
scripts/list_databases.js

No direct malicious payload is visible in this wrapper, but it materially increases security exposure by (1) executing a third-party package via npx (@toolbox-sdk/server@1.1.0) and (2) propagating secrets/configuration from the host environment and an optional local .env file into the spawned process. Additionally, on Windows it runs with shell:true and forwards unvalidated user CLI arguments to the invoked tool. Treat this as a supply-chain/secret-handling risk that requires review of the executed dependency’s behavior and tightening of env/argument handling policies.

Confidence: 70%Severity: 60%
AnomalyLOW
scripts/get_instance.js

No clear malicious payload is present in this wrapper code itself (no obfuscation, no eval, no direct network/exfiltration logic). However, it has meaningful supply-chain and secret-forwarding risk because it executes an external dependency via npx (@toolbox-sdk/server@1.1.0) and broadly forwards environment variables into that child process, including values merged from a local '../../../.env' file when GEMINI_CLI is enabled. User-provided CLI arguments are also forwarded to the invoked tool without validation in this module. This warrants review of the invoked tool’s behavior and careful handling of .env/CI secrets and npx execution controls.

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

No overt malware logic is present in this module, but it acts as an orchestrator that (1) conditionally loads a local .env file and forwards its key/value pairs to a subprocess, and (2) executes an npm package via npx at runtime (supply-chain/code-execution risk). On Windows it also uses shell:true, slightly increasing risk around argument handling. Overall risk is moderate: review and restrict which environment keys are imported, avoid storing sensitive values in .env for this mode, and ensure the npx target/package is trusted and controlled (e.g., lockfiles/registry policy, CI-only resolution, and minimizing forwarded env).

Confidence: 63%Severity: 56%
Audit Metadata
Analyzed At
Apr 29, 2026, 05:19 AM
Package URL
pkg:socket/skills-sh/gemini-cli-extensions%2Fcloud-sql-mysql%2Fcloud-sql-mysql-admin%2F@6ea8144098a23db52b8f07f0586318e1ccc87640
Security Audit — socket — cloud-sql-mysql-admin