clone-page
Fail
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: HIGHDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The
scripts/query.mjsutility contains a path traversal vulnerability in thefilecommand. TheCloneDataReader.readFilemethod usespath.joinwith a user-supplied relative path without validating that the result remains within the intended output directory. This could be exploited to read sensitive files from the host system by providing paths such as../../etc/passwd. - [DATA_EXFILTRATION]: The browser launch configuration in
scripts/lib/browser.mjsuses the--disable-web-securityand--no-sandboxflags. Disabling these security boundaries while visiting arbitrary, potentially malicious external URLs increases the risk of the execution environment being compromised by browser exploits. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process data from external URLs, which constitutes a significant attack surface.
- Ingestion points: Captured web content is stored in JSON files via
scripts/lib/init.mjs,scripts/lib/skeleton.mjs, andscripts/lib/section-styles.mjs. - Boundary markers: No delimiters or instructions are provided to the agent to treat the captured data as untrusted or to ignore instructions embedded in the data.
- Capability inventory: The skill possesses file read/write access and network capabilities via Playwright.
- Sanitization: The extracted text and metadata are stored and later read by the agent without any filtering or sanitization, creating a surface for indirect prompt injection attacks.
- [COMMAND_EXECUTION]: The
scripts/lib/browser.mjsfile usesexecSyncto perform environment setup, including installing theplaywrightpackage and the Chromium browser binary. - [EXTERNAL_DOWNLOADS]: The skill fetches the Playwright framework and Chromium browser from public registries. It also downloads assets from target web pages during the cloning process using the
scripts/lib/assets.mjsscript. - [DYNAMIC_EXECUTION]: The
scripts/lib/injected-function.mjsscript uses thenew Function()constructor to wrap and execute JavaScript code that is injected into the browser context for data extraction.
Recommendations
- AI detected serious security threats
Audit Metadata