experience-content-media-image-generate
Fail
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The
scripts/download-image.shscript programmatically retrieves a SalesforceaccessTokenusing thesf org displaycommand. While this is a standard Salesforce CLI operation, the script then handles this sensitive token in a way that risks exposure. - [DATA_EXFILTRATION]: The script uses
curlto download an image from a URL passed as the--urlargument. It includes the retrieved SalesforceaccessTokenin theAuthorization: Bearerheader. Because the--urlargument originates from the output of thecreate_imagetool, the script will transmit the credential to any URL provided by that tool. This creates a direct path for credential exfiltration if the tool response is malicious or manipulated. - [COMMAND_EXECUTION]: The skill executes a local shell script
scripts/download-image.sh. This script performs network requests, directory creation, and executes other CLI tools (sf,jq,code). - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerable surface where untrusted data from an external tool (
create_image) is directly processed by a script with high-privilege capabilities. - Ingestion points: The
<image_url_from_response>and<responseId>are taken from thecreate_imagetool output and passed as arguments to a bash script. - Boundary markers: None. The agent is instructed to pass the raw response values directly to the script.
- Capability inventory: The skill can execute shell scripts, perform network operations (
curl) with credentials, and run Salesforce CLI commands to retrieve tokens. - Sanitization: The
download-image.shscript performs basic checks (ensuring the URL starts withhttps://and the ID does not contain path traversal characters), but it does not validate the destination domain before sending the Salesforce access token.
Recommendations
- AI detected serious security threats
Audit Metadata