T09 · Insecure Skill Coding Practices
- Location
scripts/ctl.js:143- Finding
JavaScript Injection Through Click and Fill Arguments
- Content
View full analysis
- Remediation
View remediation
{ const element = document.querySelector(${encodedSelector}); if (!element) throw new Error('Element not found'); element.value = ${encodedText}; })()` }); ``` Apply the same serialization approach to the `click` command. ]]>
