photoshop-filter
Warn
Audited by Gen Agent Trust Hub on Jul 26, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: Dynamic method resolution in
scripts/apply_filter.py. Theapply_filtertool uses thegetattrfunction to dynamically resolve and call methods on the Photoshoplayer.filtersobject using the user-providedmethodstring argument. This pattern allows for the execution of arbitrary methods within the Photoshop filter namespace. - [PROMPT_INJECTION]: Indirect prompt injection surface in
scripts/apply_filter.py. The tool processes untrusted data (themethodparameter) and uses it to determine which Photoshop command to execute. The lack of an explicit allowlist or validation check against a set of known-safe filter names creates a surface where an attacker-influenced prompt could cause the agent to invoke unintended or harmful API functions within the active Photoshop session.
Audit Metadata