T01 · Skill Instruction Hijacking
- Location
SKILL.md:10- Finding
Mandatory Delegation Causes Skill Instruction Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a broad Opencode delegation wrapper that is not clearly malicious, but it gives an external coding tool wide repository authority with unsafe command templates and limited scoping.
Install only if you intentionally want repository coding tasks routed through Opencode. Use it on trusted repositories, avoid sensitive or production-impacting tasks without explicit review, and prefer safe process invocation over copying the shown shell templates with raw paths or user text.
SKILL.md:10Mandatory Delegation Causes Skill Instruction Hijacking
SKILL.md:20Shell Command Injection Through Unsafe Command Templates
The skill description claims applicability to broadly defined coding tasks, which can cause the agent to invoke this skill in many repository contexts without sufficient narrowing or safety gating. Overbroad activation increases the chance that sensitive, destructive, or out-of-scope coding requests are routed to an external tool workflow by default.
The instruction to use opencode for 'any problem related to coding of a repository' is ambiguous and effectively delegates a very wide class of tasks to the tool, including potentially risky repository operations. In this skill, the danger is amplified because the workflow mandates direct tool use and states that all planning and coding happen inside Opencode, reducing human constraint and increasing the blast radius of mistaken invocation.
No suspicious patterns detected.