google-cloud-filestore-nfs-browser
Audited by Socket on Sep 6, 2026
1 alert found:
AnomalyFunctionally, this fragment behaves like a remote, read-only filesystem inspection utility over SSH to a GCE VM, returning JSON with tree/search/read/stat results. The dominant security concern is not direct exfiltration visible in the snippet, but the use of dynamic remote code execution: it executes base64-decoded Python via exec() in a python3 -c one-liner. While the embedded payloads appear intended for inspection and include some containment safeguards (notably in read/stat), the traversal hardening appears inconsistent in the tree/search logic shown and the overall snippet is incomplete. Treat this capability as high-risk and ensure strict trust boundaries and input validation throughout the full package before use.