sra-perm-check
Pass
Audited by Gen Agent Trust Hub on Oct 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
check_perms.pyandsetup_perms.pyexecute shell commands using thesfCLI to interact with Salesforce organizations. This includes querying record data and deploying metadata. This behavior is the primary intended function of the skill for performing org audits and provisioning. - [DYNAMIC_EXECUTION]: The
setup_perms.pyscript generates Salesforce permission set XML metadata at runtime in a temporary directory and uses thesfCLI to deploy it to the target organization. This dynamic creation of configuration files is necessary for its advertised functionality. - [INDIRECT_PROMPT_INJECTION]: The skill ingests metadata and record information from Salesforce organizations via the
sfCLI. While this data is external, it is handled as structured JSON data for the purpose of generating a permission scorecard and does not appear to be used in a way that would influence agent behavior. - Ingestion points: User record data and permission set metadata from Salesforce organizations via
sf data queryincheck_perms.pyandsetup_perms.py. - Boundary markers: Not applicable; data is processed as structured JSON within the Python scripts rather than being directly interpolated into an LLM prompt.
- Capability inventory: The skill has the capability to execute shell commands and modify Salesforce organization metadata via the
sfCLI. - Sanitization: Input parameters for CLI commands are passed as lists to
subprocess.run, which prevents shell command injection.
Audit Metadata