ai-image-editing
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as an educational resource for integrating image editing APIs. It demonstrates how to use well-known and trusted services such as Replicate, Stability AI, and Fal.ai for tasks like inpainting, outpainting, and ControlNet guidance.
- [SAFE]: The skill includes dedicated sections for security best practices. Specifically,
references/validations.mdprovides patterns for detecting exposed API keys and missing moderation, while thecontent-moderationsection inreferences/patterns.mdprovides code examples for using the OpenAI Moderation API and SightEngine to sanitize user inputs and generated outputs. - [DATA_EXPOSURE_AND_EXFILTRATION]: The code examples use environment variables (e.g.,
os.environ["REPLICATE_API_TOKEN"]) to handle credentials, which is a recommended security practice to avoid hardcoding secrets. Network operations are directed towards well-known service endpoints (e.g.,api.stability.ai,replicate.com), which are standard for the skill's stated purpose. - [INDIRECT_PROMPT_INJECTION]: The skill acknowledges the risk of malicious user prompts. While it provides patterns that interpolate user-provided strings into API requests, it mitigates this by documenting and recommending multi-layer moderation strategies in the
content-moderationandsharp_edges.mdfiles.
Audit Metadata