widget-design
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for creating interactive widgets that ingest data via props (e.g.,
queryorinitialCount) and perform actions using theuseCallToolhook. This defines an attack surface where an agent could be influenced by malicious data passed into the widget's context. - Ingestion points: Widget component props and schema definitions in
SKILL.mdandreferences/design-principles.md. - Boundary markers: No specific delimiters or "ignore instructions" warnings are included in the provided design examples.
- Capability inventory: The examples demonstrate network operations via
fetch()and the ability to execute other agent tools viauseCallTool. - Sanitization: The documentation recommends using React Error Boundaries and
try/catchblocks for data parsing to prevent widget crashes. - [DYNAMIC_EXECUTION]: The skill demonstrates how to use template literals with the
text/html+skybridgeMIME type to inject HTML and external JavaScript into the widget environment. - Evidence: The
pizza-map.tsexample inreferences/design-principles.mdshows a resource handler returning a script tag pointing to{{PIZZAZ_JS_URL}}and a link tag for{{PIZZAZ_CSS_URL}}. - Context: This is a documented feature of the xmcp platform for creating custom UI components and is used strictly in an instructional capacity within this skill.
Audit Metadata