hyva-cms-component
Pass
Audited by Gen Agent Trust Hub on Nov 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill performs standard Magento operations such as
bin/magento setup:upgradeto register new modules andbin/magento hyva:cms:list-fieldsto discover available field types. These commands are executed via a specialized shell command wrapper intended for development environments. - [EXTERNAL_DOWNLOADS]: The skill adds
hyva-themes/commerce-module-cmsas a dependency in the generatedcomposer.json. This is an official vendor package required for the core functionality of the CMS components. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection because it generates PHP templates from user-provided input (e.g., field labels). This is mitigated by strict requirements for data sanitization in the generated code.
- Ingestion points: Component metadata, field names, and labels provided by the user in
SKILL.mdworkflows. - Boundary markers: While no explicit input delimiters are used, the skill enforces clear separation between logic and data in the generated PHP code.
- Capability inventory: Includes file system writes for template creation and shell command execution for Magento maintenance.
- Sanitization: The instructions explicitly mandate the use of Magento's
Escapermethods (escapeHtml,escapeHtmlAttr,escapeUrl) for all user-controllable data within the generated PHTML templates. - [DYNAMIC_EXECUTION]: The skill dynamically generates PHTML and JSON files by interpolating user input into predefined templates (e.g.,
assets/templates/component/template.phtml.tpl). This behavior is the intended and primary function of the skill for automating component development.
Audit Metadata