script-web-scraper-dev
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted data from external
.pdt(Payload Data Task) files and potentially from the content of targeted websites during the scraping process. - Ingestion points: The agent reads the
.pdtfile and navigates to external web URLs to implement scraping logic. - Boundary markers: The instructions lack explicit delimiters or safety prompts to ignore malicious instructions that might be embedded in the scraped HTML or the task payload.
- Capability inventory: The agent has access to
run_terminal,write_file, andread_filetools, which can be leveraged if the agent is manipulated. - Sanitization: There is no mention of sanitizing input or validating the logic of generated scripts before execution.
- [COMMAND_EXECUTION]: The skill uses the
run_terminaltool to verify its work empirically whentdd_capabilityis enabled. It is instructed to "run linters, compile code, or execute tests" and "self-correct" based on terminal output. This autonomous loop allows for the execution of arbitrary commands if the generated script is influenced by malicious input. - [DYNAMIC_EXECUTION]: The agent dynamically generates scraping scripts at runtime using libraries like Selenium and BeautifulSoup and then executes them to satisfy the "Output Quality Gates."
Audit Metadata