experience-cms-content-render
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes shell commands including
npm installfor dependency management andsf project retrievefor fetching Salesforce Content Type metadata. It also usesnpx tscfor type-checking generated code. - [EXTERNAL_DOWNLOADS]: The skill downloads the
@salesforce/ui-bundle-template-feature-cms-toolkitpackage from the official npm registry. As this is a well-known package from a trusted organization, it is considered safe. - [INDIRECT_PROMPT_INJECTION]: The skill processes content fetched from Salesforce CMS, which represents a potential indirect injection surface when rendered into the UI.
- Ingestion points: CMS data is ingested via toolkit functions
getCmsContentByUrlandgetCmsContentByKey(found inassets/react/useCmsItem.tsandassets/angular/cms-item.service.ts). - Boundary markers: The skill explicitly instructs the agent and the developer to use sanitizers, such as Angular's built-in
DomSanitizeror theDOMPurifyplug in React (described inreferences/failure-modes.mdandreferences/heuristic-render-rules.md). - Capability inventory: The skill possesses the capability to execute shell commands (
npm,sf,npx) and write generated React/Angular components and TypeScript definitions to the project directory. - Sanitization: RichText content is decoded using the
decodeRichHtmlEntitiesutility and is subjected to framework-level sanitization (e.g.,[innerHTML]in Angular) before being injected into the DOM.
Audit Metadata