project-init
Warn
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a bash script (scripts/init.sh) to perform file system operations like creating directories, copying templates, and creating symbolic links.
- [DYNAMIC_EXECUTION]: The scripts/init.sh file uses an unquoted heredoc (<< SKILLEOF) when generating the SKILL.md file. This allows for command substitution if the skill_name variable (derived from user input or directory names) contains shell commands like $(...). This could lead to arbitrary command execution when the initialization script is run.
- [INDIRECT_PROMPT_INJECTION]: The skill reads various project files such as README.md and package.json and uses their content to generate AGENTS.md, which defines the project's coordination rules for the AI. This creates a surface for indirect prompt injection where malicious instructions in a project's metadata could influence the agent's behavior.
- Ingestion points: SKILL.md Step 4 reads project metadata files including package.json, pyproject.toml, and README.md.
- Boundary markers: Absent. The skill interpolates the raw content of these files into the generated instructions without protective delimiters or warnings to ignore embedded instructions.
- Capability inventory: The skill can execute shell scripts, create symlinks, and write files to the project directory.
- Sanitization: No sanitization or escaping of the ingested content is performed before it is written to the instruction files.
- [COMMAND_EXECUTION]: The skill provides templates (assets/codex-config.toml) that configure local agent environments with sandbox_mode = "danger-full-access" and approval_policy = "never". If deployed, these settings disable standard security guardrails and approval prompts for the agent within that project.
Audit Metadata