difyctl
Pass
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill is centered around the use of the
difyctlCLI to discover and execute operations on a Dify server. It instructs the agent on how to map server operations to terminal commands and handle JSON-based results. - [CREDENTIALS_UNSAFE]: The documentation describes the use of
DIFY_TOKENfor authentication and notes thatdifyctl logincan store tokens in local files when the--no-keyringflag is used. It also mentions the--insecureflag, which allows the agent to skip TLS verification when communicating with a server. - [INDIRECT_PROMPT_INJECTION]: The skill instructs the agent to process
hintsandinput_schemareturned from the remote Dify server to decide on subsequent steps, such as form submissions or following a reply operation. This creates a potential surface where a compromised or malicious server could provide instructions that influence the agent's logic. - Ingestion points: JSON responses from the Dify server parsed via the
difyctlCLI (SKILL.md). - Boundary markers: The skill lacks explicit instructions to sanitize or validate the intent of the 'hints' provided by the server before the agent acts on them.
- Capability inventory: Access to the
difyctlCLI which can perform server-side runs, file uploads, workspace management, and authentication configuration. - Sanitization: While the skill mentions using the server's
input_schemafor structure, it does not define sanitization for the natural language content within the hints or error messages. - [EXTERNAL_DOWNLOADS]: The skill references the
difyctl install skillscommand, which is used to install additional agent capabilities from a provided path, facilitating the expansion of the agent's toolset from external sources.
Audit Metadata