generate-import-html
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes
cleaned.htmlandmetadata.json, which are external inputs derived from scraped webpages. It uses thehtmlFilePathfrom this metadata to determine the target directory for file writes and shell commands. This creates an attack surface where a malicious webpage could provide crafted metadata to trigger path traversal or include instructions designed to influence the agent's behavior during the generation process. - Ingestion points:
cleaned.htmlandmetadata.jsonproduced by thescrape-webpageskill. - Boundary markers: No specific delimiters or instructions are provided to the agent to treat the imported content as data that should not be interpreted as commands.
- Capability inventory: The skill has the capability to write files and execute shell commands (
mkdir,cp) to organize the local project environment. - Sanitization: There are no explicit instructions for path validation, character escaping, or content sanitization to mitigate risks from the ingested external data.
- [COMMAND_EXECUTION]: The skill directs the agent to execute shell commands (
mkdir -pandcp -r) for managing images. These commands rely on thehtmlFilePathextracted from the untrustedmetadata.jsonfile. If this path contains malicious characters or traversal sequences, it could lead to unauthorized file system operations. - [PROMPT_INJECTION]: The skill utilizes forceful, imperative language (
⚠️ CRITICAL REQUIREMENT,YOU MUST,UNACCEPTABLE) and explicit instructions to override typical agent constraints, such asNEVER truncate or skip sections due to length concerns. This pattern of instructing the agent to ignore its standard operational boundaries (like output length limits) is characteristic of prompt steering techniques.
Audit Metadata