skills/jeremylongshore/tons-of-skills-marketplace/generating-docker-compose-files/Gen Agent Trust Hub
generating-docker-compose-files
Warn
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/deploy.shscript employs theevalcommand within itsrun_commandfunction to execute shell operations. The command strings are constructed using variables such asCOMPOSE_FILE,STACK_NAME, andNAMESPACE. If these inputs contain shell escape characters, it could lead to arbitrary command execution. - [DYNAMIC_EXECUTION]: The use of
evalinscripts/deploy.shto process dynamically generated strings at runtime is a risk, particularly because the script targets files found within the user's project directory. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function involve scanning the local project for
docker-compose.ymlandDockerfilefiles to generate configuration. This creates a surface where malicious content within those project files could influence the agent's behavior. - Ingestion points: Project scanning in
SKILL.mdand file reading inscripts/generate_env_file.py. - Boundary markers: No delimiters or instructions are used to distinguish project data from agent instructions.
- Capability inventory: Access to
Bash(docker and kubectl) andWritetools. - Sanitization: There is no evidence of sanitization or content validation for the files read from the project.
- [EXTERNAL_DOWNLOADS]: The
scripts/deploy.shscript references a download URL for thekomposetool from the official Kubernetes GitHub repository. This is a reference to a well-known and trusted organization. - [CREDENTIALS_UNSAFE]: Multiple files including
assets/compose_template.ymlandassets/example_app_architectures.mdcontain hardcoded example credentials likePOSTGRES_PASSWORD=password. While intended as placeholders for templates, these represent insecure defaults if used without modification.
Audit Metadata