skills/ajtazer/heckit/web-xss-stored/Gen Agent Trust Hub

web-xss-stored

Fail

Audited by Gen Agent Trust Hub on Oct 6, 2026

Risk Level: HIGHDATA_EXFILTRATIONCREDENTIALS_UNSAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DATA_EXFILTRATION]: The skill provides numerous JavaScript payloads designed to exfiltrate sensitive information to an external server. Specifically, it includes code to steal document.cookie, localStorage contents, and large portions of the page's HTML (DOM).
  • [CREDENTIALS_UNSAFE]: Instructions include techniques for stealing session cookies and performing account takeovers. It provides specific payloads for CSRF attacks to change user passwords or create new administrative users (role=admin) with attacker-defined credentials.
  • [DATA_EXPOSURE]: The skill includes instructions for exploiting server-side vulnerabilities to read sensitive local system files. Evidence includes payloads such as <iframe src="file:///etc/passwd"> and XMLHttpRequest scripts targeting file:///etc/passwd.
  • [COMMAND_EXECUTION]: The skill instructs the agent to execute local shell commands to set up infrastructure for receiving stolen data, such as running python3 -m http.server 8080.
  • [PRIVILEGE_ESCALATION]: The documentation describes methods for escalating access from a standard user or an unauthenticated state to an administrator. This includes stealing administrative session cookies through Blind XSS and using CSRF to register new admin accounts.
  • [DYNAMIC_EXECUTION]: The skill utilizes the browser_evaluate tool to execute arbitrary JavaScript payloads within the context of a target's web browser, which can be used to perform the data theft and privilege escalation actions described.
  • [INDIRECT_PROMPT_INJECTION]: The skill has a significant attack surface for indirect injection. It ingests external state data via get_state_summary() and uses browser tools to interact with untrusted third-party web content. There are no boundary markers or sanitization steps mentioned to prevent malicious instructions embedded in the target web pages or engagement state from influencing the agent's behavior.
  • Ingestion points: Reads engagement state using get_state_summary() and web content using browser_open and browser_navigate.
  • Boundary markers: None identified.
  • Capability inventory: Uses browser_evaluate for JS execution, curl for network requests, and shell execution for starting a listener.
  • Sanitization: None mentioned for processing external payloads or state summaries.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 6, 2026, 04:11 AM