commit-message
Pass
Audited by Gen Agent Trust Hub on May 14, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill is vulnerable to Cross-Site Scripting (XSS) due to unsafe DOM manipulation in the webview.
- Ingestion Point: The
assets/webview.htmlfile retrieves user-influenced data (type, scope, message) from URL parameters. - Vulnerable Code: In
assets/webview.html, the script usesline.innerHTML = type + '(<span class="scope">' + scope + '</span>): ' + message;to display the commit message. - Impact: Since the
messageandscopevariables are derived from the user's change description, an attacker could provide a description that results in the execution of arbitrary JavaScript (e.g., using<img src=x onerror=...>or<script>tags) within the webview context. - Mitigation: Replace
innerHTMLwithtextContentfor thetypeandmessagevariables, or use a sanitization library to ensure no executable HTML is injected.
Audit Metadata