antigravity-swarm
Audited by Socket on Feb 13, 2026
4 alerts found:
filesystemAccessSecurityusesEvalshellAccessThis module is a thin dispatcher that intentionally executes side-effect directives emitted by an external 'gemini' CLI. While the source file contains no hidden obfuscation or explicit hard-coded malware, its core behavior (parsing untrusted stdout and performing file writes and shell execution with shell=True) creates a critical security risk: an attacker who can influence the gemini binary, its output, or PATH/GEMINI_PATH can achieve arbitrary code execution, file overwrite, and data exfiltration. Running this script in untrusted or production environments without strict controls (binary integrity checks, allowlists for file paths/commands, sanitization, sandboxing, logging redaction, and resource/time limits) is unsafe.