T01 · Skill Instruction Hijacking
- Location
agents/openai.yaml:6- Finding
Overly Broad Implicit Skill Activation Can Redirect Unrelated Requests
- Content
View full analysis
Vulnerability Details
File Location:
agents/openai.yaml:6-7,SKILL.md:3-4, andSKILL.md:42-50
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: MediumVulnerable Code
agents/openai.yaml:6-7:yaml policy: allow_implicit_invocation: trueSKILL.md:3-4:yaml description: >- Help users with Validated demand: People repeatedly need a practical, repeatable way to handle Optimizer Battery Efficiency. This requirement is supported by 12 separate online signals across 3 source families, so it represents broader demand rather than a single isolated request.. Use when a user asks for general-help, optimizer, battery, efficiency, would, or needs a practical workflow, artifact, checklist, analysis, or implementation support for this requirement.SKILL.md:42-50:markdown ## Triggers Keywords: `general-help`, `optimizer`, `battery`, `efficiency`, `would`, `suggest`, `now` Example trigger sentences: - `Help me People repeatedly need a practical, repeatable way to handle Optimizer Battery Efficiency.` - `I need a practical workflow for People repeatedly need a practical, repeatable way to handle Optimizer Battery Efficiency.` - `Use $usa-business-migration-planner to handle People repeatedly need a practical, repeatable way to handle Optimizer Battery Efficiency.`The localized skill file,
SKILL.zh-CN.md:3-4andSKILL.zh-CN.md:42-50, mirrors the same implicit activation conditions.Technical Analysis
The Agent configuration permits implicit invocation while the Skill declares generic trigger terms such as
would,suggest, andnow. These words occur frequently in conversations that have no connection to battery optimization. Consequently, normal user requests may activate the Skill without an explicit request to use it.Once activated, the Skill instructs the Agent to frame the task around “Optimizer Battery Efficiency” and fo ...[truncated 2038 chars]
- Remediation
View remediation
Remediation Suggestions
-
Disable implicit activation unless automatic invocation is strictly necessary:
yaml policy: allow_implicit_invocation: false -
Remove generic trigger terms including
would,suggest,now, andgeneral-help. -
Use narrowly scoped phrases such as
battery optimizer efficiency,EV battery optimization, or another term that uniquely identifies the supported domain. -
Require explicit Skill invocation before generating code changes, files, or other artifacts.
-
Rename the Skill and its display metadata so that the name accurately communicates its battery-efficiency purpose.
-
Keep the English and localized Skill definitions synchronized so that neither version reintroduces broad triggers.
-
Add activation tests confirming that unrelated prompts containing common conversational words do not invoke the Skill.
-
Add positive tests confirming that explicit, domain-specific battery optimization requests continue to invoke it correctly.
-
