ideogram-security-basics
Pass
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [SAFE]: The skill serves as a security guide for API key management. It provides standard industry practices such as environment isolation and secret management.
- [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for processing user-supplied prompts. It includes explicit mitigation logic to reduce risks associated with malicious or improper input.
- Ingestion points: Untrusted data enters via the
promptvariable in thereq.json()body inapi/ideogram-proxy.tsand thepromptparameter in thesanitizePromptfunction. - Boundary markers: None explicitly defined in the prompt interpolation, although the data is structured as JSON for the API request.
- Capability inventory: Uses
fetchto communicate with the Ideogram API. No unsafe evaluation (eval) or shell command execution is performed using the user input. - Sanitization: Implements length constraints (10,000 characters) and PII redaction for emails, phone numbers, and Social Security Numbers using regular expression replacement.
- [COMMAND_EXECUTION]: The instructions include template shell commands for administrative tasks and security controls.
- Administrative Commands: Provides
curlexamples for API verification and CLI usage forvercel,gh, andawssecret management tools. - Security Tooling: Includes a bash script for a git pre-commit hook that uses
grepto scan staged changes for potential API key patterns, which is a standard defensive measure.
Audit Metadata