script-generator
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [DYNAMIC_EXECUTION]: The skill is designed to generate scripts (Python, PowerShell, Bash) and write them to a persistent location on the disk (
OUTPUT_DIR/artifacts/). This involves assembling executable code from user-defined tasks and context. - [INDIRECT_PROMPT_INJECTION]: The skill provides an attack surface for indirect prompt injection by ingesting untrusted data through the
TASKandCONTEXTfields. - Ingestion points: User-provided fields
TASK,TARGETS,CREDENTIALS, andCONTEXTdefined inSKILL.md. - Boundary markers: None identified; the skill does not instruct the agent to use delimiters or ignore instructions embedded within the user data.
- Capability inventory: File system write access (
OUTPUT_DIR/artifacts/) and syntax validation. - Sanitization: None identified; the skill lacks instructions for escaping, filtering, or validating the content of the
TASKbefore incorporating it into a script. - [COMMAND_EXECUTION]: The required output format includes a pre-constructed
EXECUTIONfield (e.g.,python3 OUTPUT_DIR/artifacts/task_name.py). This provides the exact command necessary to run the generated file, which could be exploited by downstream automation or an agent instructed to follow the generated output. - [CREDENTIALS_UNSAFE]: The skill's request format explicitly instructs the user to provide sensitive information, including
user, pass, hash, domain, certs, in plain text as part of the prompt context. While it advises against hardcoding secrets, these credentials remain exposed in the agent's working memory and input history.
Audit Metadata