knowledge-catalog-discovery
Audited by Socket on Jun 28, 2026
4 alerts found:
Anomalyx4No direct evidence of malware within this snippet itself; however, it is a high-impact execution wrapper. It runs an external npx-invoked package at runtime and forwards potentially sensitive Google Cloud credential/config environment variables and proxy settings to that subprocess, while also passing caller-controlled arguments with minimal validation. The main risk is supply-chain and data exposure through the delegated tool context rather than malicious behavior implemented in this wrapper.
This module is not self-evidently malicious in isolation (no obfuscation, eval, persistence, or direct exfiltration). However, it is a high-impact execution wrapper: it runs a third-party package/tool via npx and forwards arbitrary caller-controlled CLI arguments into that tool. It also forwards proxy/network-affecting settings and credential-adjacent Google environment variables into the child process, expanding potential data exposure and abuse impact if the invoked tool/package or its resolution path is compromised or behaves unexpectedly. Treat this as a supply-chain execution and input/credential delegation risk rather than confirmed malware.
This module is best characterized as an execution delegator rather than a self-contained malicious payload: it runs an external npm package via npx at runtime and forwards user-provided CLI arguments and potentially sensitive environment configuration (including cloud credential-related variables and proxy settings) into the child process. While the snippet itself does not show direct data theft or obfuscation, the combination of runtime npx execution and credential-bearing environment forwarding creates meaningful supply-chain and execution-context risk that warrants review and strict controls (e.g., pinning/verification of the executed package, restricting env exposure, and assessing the invoked tool’s behavior).
No explicit malicious/backdoor logic is present in this wrapper alone, but it meaningfully increases supply-chain and secret-exposure risk by runtime-executing a third-party package via npx and forwarding sensitive cloud credential/config environment variables into that subprocess. The overall behavior is best treated as a privileged launcher for externally sourced code; the invoked dependency’s integrity and required permissions should be reviewed and the forwarded env should be minimized if possible.