modal
Pass
Audited by Gen Agent Trust Hub on Aug 17, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runandsubprocess.Popenin specific reference examples (e.g., ingpu.mdandweb-endpoints.md) for legitimate purposes such as launching training scripts or model servers. The documentation explicitly warns against building argument lists from unsanitized user input and recommends using fixed lists or validation checks. - [EXTERNAL_DOWNLOADS]: The skill documents methods to download external resources during container image builds, such as using
wgetorapt_installfor system packages anduv_pip_installfor Python dependencies. These operations are standard for defining cloud environments and are directed at well-known registries or user-defined URLs for model weights. - [REMOTE_CODE_EXECUTION]: While the platform is designed to execute code in the cloud, the skill emphasizes security best practices. It introduces
modal.Sandboxas the recommended mechanism for executing untrusted or agent-generated code, providing isolation through containerization and network egress control using CIDR allowlists. - [CREDENTIALS_UNSAFE]: Authentication is handled safely via environment variables (
MODAL_TOKEN_ID,MODAL_TOKEN_SECRET) or themodal.SecretAPI. The instructions specifically advise against logging or exposing credentials and provide guidance on using.envfiles for local development in a secure manner, emphasizing that only specific keys should be loaded.
Audit Metadata