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.html and metadata.json, which are external inputs derived from scraped webpages. It uses the htmlFilePath from 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.html and metadata.json produced by the scrape-webpage skill.
  • 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 -p and cp -r) for managing images. These commands rely on the htmlFilePath extracted from the untrusted metadata.json file. 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 as NEVER 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
Risk Level
SAFE
Analyzed
Nov 12, 2026, 08:56 PM