omni-image
Fail
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The main script
scripts/omni_image.pycontains a hardcoded Google API key under the Google provider configuration:hardcoded_key: "AIzaSyCZqClxP5DXTSZEoE22KcbHJBKI1fPPj9o". Hardcoding secrets in source code is a major security risk as it exposes the developer's quota and access to the service. - [COMMAND_EXECUTION]: The wrapper script
examples/python_wrapper_example.pyuses thesubprocess.run()function to execute a system commandomni-image. While the provided example uses static prompts, this pattern is dangerous if user-supplied input is incorporated into the prompts without strict sanitization, potentially leading to shell command injection. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted data (images and JSON manifests) and passes that data to powerful AI models.
- Ingestion points: The
describecommand inscripts/omni_image.pyanalyzes arbitrary image files using vision models, and thebatchcommand processes external JSON manifests. - Boundary markers: There are no explicit delimiters or instructions to the model to ignore potential malicious content embedded within images (e.g., text-in-image attacks).
- Capability inventory: The skill possesses the ability to make network requests to multiple AI providers and write files to the local disk.
- Sanitization: The script concatenates prompt segments (subject, style, etc.) and style prefixes without any sanitization or validation to filter out adversarial instructions.
- [EXTERNAL_DOWNLOADS]: The
unifiedprovider inscripts/omni_image.pypoints tohttps://api.302.ai/v1. This is a third-party API aggregator/proxy service. Sending API requests and keys through a third-party intermediary introduces a risk of data interception or service manipulation by the proxy provider.
Recommendations
- AI detected serious security threats
Audit Metadata