hwc-forms-validation
Pass
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: In
references/2023-11-07-turbo-frames-typeahead-search.md, the example code usesnew RegExpwith unsanitized user input from a search field to perform text highlighting. This could be exploited to cause a client-side Regular Expression Denial of Service (ReDoS) or unexpected UI behavior if a user enters specific regex control characters.- [INDIRECT_PROMPT_INJECTION]: The skill defines patterns for processing and rendering untrusted user data within the agent's operating context, which constitutes an injection surface. - Ingestion points: Search query inputs and form fields described in
references/2023-11-07-turbo-frames-typeahead-search.mdandreferences/2025-10-20-turbo-frames-typeahead-validation.md. - Boundary markers: None present in the provided HTML/ERB templates to distinguish between user-supplied data and developer-defined instructions.
- Capability inventory: The skill utilizes DOM manipulation (e.g.,
innerHTMLupdates) and automated form submissions viarequestSubmit(). - Sanitization: While the documentation mentions backend sanitization, the client-side examples demonstrate direct
innerHTMLmanipulation which is a common vector for Cross-Site Scripting (XSS) if not handled by the underlying framework's protections.- [EXTERNAL_DOWNLOADS]: The skill fetches JavaScript dependencies including@hotwired/turbo,@hotwired/stimulus, andes-module-shimsfrom thega.jspm.ioCDN. These are well-known services for hosting NPM packages as ES modules.
Audit Metadata