agentforce-offline-experimentation-run
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
sfap_replay.pyusessubprocess.runto invokecurlfor API interactions. The command is constructed as a list of arguments and does not useshell=True, which is a secure practice to prevent shell injection. Theresolve-token.shscript utilizes standard command-line tools such assf,jq, andcurlto manage authentication and interact with Salesforce infrastructure. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process historical conversation logs for model evaluation, creating a surface for indirect prompt injection. (1) Ingestion points: The skill reads JSON data containing user utterances and agent responses from
/tmp/details_result.jsonand other temporary LLM step files. (2) Boundary markers: Replayed data is processed as structured JSON; no specific prompt delimiters or ignore instructions were observed for the replayed text. (3) Capability inventory: The skill has network access viacurlto Salesforce AI Gateway endpoints and file-writing capabilities to generate CSV and HTML reports. (4) Sanitization: The skill usesjson.dumpsto sanitize input into the API payloads and uses a separate LLM-as-judge process to score the outcomes. - [SAFE]: Sensitive credentials are handled using secure patterns. The
resolve-token.shscript writes session JWTs to temporary files withchmod 600permissions, ensuring that access is restricted to the current user and not exposed to other system processes. The skill exclusively interacts with vendor-owned resources (Salesforce APIs).
Audit Metadata