modal

Fail

Audited by Snyk on Aug 17, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 1.00). This skill instructs placing API tokens directly into shell/CLI commands and to read specific keys from a .env, e.g. export MODAL_TOKEN_* and modal secret create ... API_KEY=sk-xxx, which requires handling secret values verbatim and can lead to exfiltration if the agent outputs them.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). Modal’s required runtime workflow can expose outsider-authored free text via user inputs to web endpoints (e.g., @modal.fastapi_endpoint/@modal.asgi_app handlers that accept text/prompt from HTTP request bodies), which the function can then pass into model inference.

Issues (2)

W007
HIGH

Insecure credential handling detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
HIGH
Analyzed
Aug 17, 2026, 02:14 AM
Issues
2