meitu-image-fix
Warn
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DATA_EXFILTRATION]: Accesses the configuration file
~/.meitu/credentials.jsonto retrieve API keys. This facilitates authentication between themeituCLI and the vendor's OpenAPI by reading sensitive local configuration data. - [COMMAND_EXECUTION]: Executes the
meituCLI and system commands such ascurlandrm. Thecurlcommand is utilized as a fallback to download intermediate image files from vendor-provided URLs to the/tmp/directory, whilermmanages the deletion of these temporary files. - [INDIRECT_PROMPT_INJECTION]: Ingests user-provided instructions and visual analysis results that are interpolated into command-line arguments for image processing. This creates an attack surface where maliciously crafted inputs could potentially influence the behavior of the underlying image editing models.
- Ingestion points: User instructions and visual analysis results.
- Boundary markers: None identified in the prompt construction logic.
- Capability inventory: Execution of
meitu,curl, andrmcommands, and file system access. - Sanitization: No explicit input sanitization is performed.
- [EXTERNAL_DOWNLOADS]: Recommends the installation of the
meitu-clitool from the official npm registry to ensure the necessary environment for processing is available.
Audit Metadata