platform-sharing-rules-generate

Pass

Audited by Gen Agent Trust Hub on Nov 14, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill uses standard Salesforce CLI commands (sf project retrieve, sf data query) to interact with the Salesforce Metadata API. These operations are within the scope of its documented purpose for managing record-level access and ensuring the local project state matches the org.
  • [SAFE]: The bundled shell script scripts/count-remaining-rules.sh is used for localized XML parsing using xmllint. It is used to determine the count of sharing rule elements in a file to handle file cleanup during deletions and does not perform network operations or execute remote code.
  • [SAFE]: The skill incorporates defensive logic and validation checks to prevent common Salesforce configuration errors, such as enforcing specific XML requirements for Account objects and preventing invalid sharing targets for Guest user rules, which mitigates the risk of deploying broken security configurations.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 14, 2026, 11:52 PM