modal-serverless-gpu
Pass
Audited by Gen Agent Trust Hub on Sep 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The code examples for ML inference ingest user-supplied text prompts, creating a surface for indirect prompt injection. This behavior is inherent to the machine learning tasks the skill documents.
- Ingestion points:
TextGenerator.generate,predict, andbatch_predict(SKILL.md);predictandmonitored_inference(references/advanced-usage.md). - Boundary markers: None provided in the illustrative code examples.
- Capability inventory:
subprocess.run,modal.Volume,modal.Secret(SKILL.md);modal.Sandbox(references/advanced-usage.md). - Sanitization: No input sanitization or validation logic is present in the provided snippets.
- [COMMAND_EXECUTION]: The skill instructs the user to run
modal setupfor authentication and demonstrates the use ofsubprocess.runto executenvidia-smiandtorch.distributed.launchfor diagnostics and training orchestration within the remote environment. - [EXTERNAL_DOWNLOADS]: The skill documentation includes examples that fetch the
transformerslibrary directly from Hugging Face's official GitHub repository.
Audit Metadata