validate-block-markup
Pass
Audited by Gen Agent Trust Hub on Aug 25, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted WordPress block markup to perform structural validation. Malicious instructions could potentially be embedded in this markup to influence the agent's behavior.
- Ingestion points: Markup is read from files or stdin in
lib/validator.cjs. - Boundary markers: Documentation in
SKILL.mdinstructs the agent to report all findings and avoid silent substitution of content. - Capability inventory: Limited to parsing via
jsdomand official libraries; no network access is performed based on input content. - Sanitization: Relies on standard WordPress block parsing logic.
- [REMOTE_CODE_EXECUTION]: The skill downloads and installs Node.js runtime dependencies upon first use.
- Evidence:
scripts/validate-block-markup.cjsrunsnpm cito fetch packages. - Mitigation: The installation command uses
--ignore-scriptsto prevent the execution of arbitrary lifecycle scripts within the downloaded packages. All dependencies are pinned to specific versions from the official npm registry. - [DYNAMIC_EXECUTION]: The tool uses
JSON.parseto evaluate attribute strings within the block markup. - Evidence: Found in
lib/validator.cjsduring block hydration to extract metadata from the serialized block comments.
Audit Metadata