T01 · Skill Instruction Hijacking
- Location
SKILL.md:56- Finding
Untrusted GitHub Issue Content Can Hijack Agent Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is disclosed as an automated GitHub issue fixer, but it needs review because it can read untrusted issue content, edit repositories, and run repository-defined commands on the user's machine.
Review before installing. Use this only with repositories and issue authors you trust, or run it in a disposable/sandboxed development environment. Carefully review commands, diffs, and PR text before approving any push or pull request creation.
SKILL.md:56Untrusted GitHub Issue Content Can Hijack Agent Instructions
SKILL.md:221Repository-Controlled Test and Lint Commands Execute Without Isolation
The declared description promises a functional skill that automates fixing GitHub issues and creating pull requests. The actual code chunk is strictly an installation script for deploying SKILL.md into a local skills directory and optionally uninstalling it. While installer behavior can be a supporting component, this chunk by itself does not perform the core declared functionality at all. Therefore the description does not accurately represent what this supplied code chunk actually does.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
mkdir -p ~/.qoder/skills/git-mender
cp SKILL.md ~/.qoder/skills/git-mender/SKILL.md
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/.qoder/skills/git-mender
cp SKILL.md ~/.qoder/skills/git-mender/SKILL.md
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
The manifest description says the skill will automatically fix GitHub issues, but it does not clearly warn that it may modify repository code and submit pull requests autonomously. For a skill with write-side effects on source code and GitHub workflows, omission of that warning can mislead users about the level of autonomy and the scope of actions taken, increasing the chance of unintended code changes or unauthorized PR submissions.
The security manifest is inaccurate: the script explicitly creates and writes to ~/.qoder/skills/git-mender/ despite claiming no local files are written. Misleading installation metadata can cause users or automated reviewers to underestimate filesystem changes, reducing transparency and weakening trust and review controls.
The manifest claims the installer contacts GitHub via 'git clone only', but this script never performs any network operation. While this is not direct code execution risk, inaccurate network-use disclosures undermine security review and may mask future unexpected outbound behavior if users rely on the manifest.