generating-apex
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill mandates strict security guardrails for generated Apex code, such as requiring 'with sharing' keywords, enforcing CRUD/FLS via 'WITH USER_MODE', and preventing SOQL injection through the use of bind variables.
- [SAFE]: It provides a structured workflow (Phases 1-3) that includes mandatory code analysis and unit testing to validate the security and functionality of the generated assets.
- [SAFE]: All templates and reference files follow the separation of concerns principle, delegating queries to Selectors and business logic to Services, which minimizes the risk of accidental privilege escalation or data exposure.
- [SAFE]: No suspicious network operations, hardcoded credentials, or obfuscated code patterns were found. The mention of external tools and repositories is limited to standard Salesforce development utilities and attributions.
Audit Metadata