stable-diffusion-image-generation
Pass
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill contains instructions to bypass safety guidelines by disabling the built-in safety checker in the image generation library.
- Evidence: In
SKILL.mdandreferences/troubleshooting.md, the code snippetpipe.safety_checker = Noneis suggested as a workaround for issues like black or noisy images. - [INDIRECT_PROMPT_INJECTION]: The skill establishes an attack surface for indirect prompt injection by ingesting untrusted text prompts for processing by generative models.
- Ingestion points: Text prompts are passed to the
pipe()call inSKILL.mdandreferences/advanced-usage.md. - Boundary markers: Absent; user inputs are passed directly as strings without delimiters or filtering instructions.
- Capability inventory: File system access via
image.save(), directory enumeration viaos.listdir(), and network access for downloading model weights from remote repositories. - Sanitization: The skill lacks prompt sanitization logic and explicitly provides instructions to disable the default content safety checker.
- [EXTERNAL_DOWNLOADS]: The skill fetches configuration and model weights from well-known model hosting services.
- Evidence: References to Hugging Face repositories such as
stabilityai/stable-diffusion-xl-base-1.0andrunwayml/stable-diffusion-inpaintinginSKILL.mdandreferences/advanced-usage.md. - [COMMAND_EXECUTION]: The skill provides standard shell commands for environment setup and model management.
- Evidence: Instructions for executing
pip install,docker, andhuggingface-clicommands for package and model management.
Audit Metadata