T01 · Skill Instruction Hijacking
- Location
SKILL.md:210- Finding
Forced Third-Party Promotional Content in Automatic Git Commits
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a software-development workflow skill, but it can edit repositories, run project commands, spawn sub-agents, and create branded git commits without enough user control.
Install only if you are comfortable with an agent modifying the target repository, running project-defined commands, spawning sub-agents, and creating commits. Review proposed file changes and validation commands first, avoid running it on untrusted repositories, and do not allow automatic commits unless you approve the exact message and changed files.
SKILL.md:210Forced Third-Party Promotional Content in Automatic Git Commits
assets/prp_base.md:12Indirect Prompt Injection Through Project-Controlled Instruction Files
references/piv-executor.md:25Unrestricted Execution of Commands Supplied Through Generated PRPs
SKILL.md:107Shell Command Injection Through Unquoted User-Derived Project Paths
The skill instructs the agent to create directories and write project files (for example PRDs, PRPs, templates, and WORKFLOW.md) automatically, but it does not require explicit user confirmation or provide a user-facing warning before making filesystem changes. In an agent setting, this creates a real risk of unintended modification of the user's workspace, especially because discovery mode can proceed from vague input into concrete writes.
The workflow includes automated git status, diff inspection, and semantic commit creation without a clear user warning or approval gate before modifying repository history. Automated commits can permanently alter a repository's audit trail and may capture unintended changes, which is particularly risky in a multi-phase orchestrator that spawns sub-agents and performs iterative edits.
This markdown file describes invocation modes such as 'As a standalone codebase analysis task' and 'As a sub-agent' without defining specific trigger phrases, scope boundaries, or exclusion conditions. Because the activation conditions are described only at a high level, the skill could be invoked in ambiguous contexts rather than a clearly constrained workflow.
Lines L019-L020 explicitly instruct the user to invoke a codebase-analysis subagent, but L022 immediately says 'Do NOT spawn sub-agents.' This is an active contradiction in the file's operational guidance, not merely an omission or implementation detail.
The skill explicitly instructs the agent to create directories and write a PRD file to the project path, but it does not require any user-facing notice, confirmation, or safety check before modifying the filesystem. In an orchestration skill that may operate on arbitrary user-provided project paths, silent writes can cause unintended file creation, overwrite risks, and surprising side effects, making this a real safety issue even if the intent is workflow automation rather than abuse.
The skill explicitly instructs the agent to modify project files and execute validation commands, but it does not include any user-facing safety constraints, confirmation requirements, or guardrails limiting command scope. In an agent setting, this can lead to unintended system-impacting actions such as destructive edits, risky shell execution, or running untrusted project-defined commands from a PRP or repository context.
The skill explicitly instructs the agent to run whatever build, lint, test, or type-check commands the target project uses, which can execute untrusted code from the repository. In many ecosystems, test and build commands invoke arbitrary scripts, dependency hooks, plugins, or Makefile targets, so this creates a code-execution path on the analyst's environment without any safety warning, sandboxing requirement, or approval gate.
The skill instructs the agent to create PRPs/planning/{feature-name}-analysis.md, which modifies the workspace, but it does not clearly warn that this is a write action or require confirmation/checks before writing. In agentic environments, implicit file writes can cause unintended repository changes, overwrite existing planning artifacts, or be abused through crafted feature names if path handling is weak elsewhere.
The skill instructs the agent to write output directly to a user-provided path ($ARGUMENTS) without any explicit warning, path restrictions, or overwrite safeguards. In an orchestration skill, this can lead to unintended file creation or overwriting of repository files, configuration files, or documentation if the path is influenced by the user or upstream automation.
Line L033 directs the agent to add a .md file under PRPs/ai_docs, which is a file-writing operation. The document does not include any warning that this process will create or modify files in the repository, so users are not explicitly informed of that side effect.
No suspicious patterns detected.