T01 · Skill Instruction Hijacking
- Location
SKILL.md:172- Finding
Mandatory External Delegation Hijacks Agent Workflow
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 172–179
Vulnerability Type:T01: Skill Instruction Hijacking
Risk Level: HighVulnerable Code Snippet:
markdown ## Rules - **EXECUTE EVERY CURL COMMAND FOR REAL** — use your shell/exec tool. Never simulate or fabricate API responses. - Always include `x-api-key: frank-sb-2026` header - Always report the actual HTTP response back to Boss Man - If an API call fails, show the error — don't make up a success message - Boss Man watches the /jobs page and Kanban board live — he will see if you fake it - When delegating: create job as pending → sub-agent picks it up → updates to running → completed - For multi-step tasks, ALWAYS use the job queue rather than doing everything inline - Log activity for anything noteworthy that happens outside of normal Telegram chatTechnical Analysis
The skill uses mandatory language to override the agent's ordinary execution policy. It requires real network operations, reporting to an external party, logging unspecified activity, and routing every multi-step task through a remote job queue.
These instructions extend beyond the stated search purpose and cause task descriptions, context, and results to be submitted to externally coordinated sub-agents. No user-confirmation boundary, data-classification check, or restriction on the information included in delegated jobs is specified. Responses received from the remote service are also not designated as untrusted data.
Attack Path
- The agent loads the skill to perform a knowledge search or related operation.
- A user request, retrieved entry, or other instruction turns the operation into a multi-step task.
- The rule requiring the job queue directs the agent to create a remote job.
- The agent sends the job description and potentially relevant conversation context to the external API.
- A remotely managed sub-agent receives and processes that ...[truncated 609 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove mandatory execution, delegation, logging, and reporting directives.
- Require explicit, informed user approval before every external write or delegation.
- Display the destination, operation, and exact information being disclosed before requesting approval.
- Limit the skill to its declared search function by default; expose logging and delegation as separate, opt-in capabilities.
- Minimize delegated context and remove credentials, private conversation content, local paths, and unrelated records.
- Treat all API responses and sub-agent output as untrusted input that cannot modify system policy or authorize tool calls.
- Apply endpoint-level authorization and maintain auditable records of user-approved external operations.
