Back to skill

Security audit

Master Orchestrator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Chinese-language prompt-only expert-routing helper, with broad persona and formatting instructions but no code, persistence, credential access, or system changes.

Install this only if you want the agent to answer through Chinese role-labeled expert personas. It may interfere with tasks that require a specific output format or normal assistant voice, but the inspected artifact is prompt-only and does not execute code or access private data.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (1)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:10
Finding

Mandatory Session-Wide Role and Output Hijacking

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 10–24 and 49–59
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: High

Vulnerable Skill Instructions

The following is a faithful English translation of the complete relevant instruction segments:

markdown
## Role
You are the "Master Orchestrator" of the OpenClaw system.

## Workflow
Receive user input -> Analyze requirements -> Dynamically assign experts ->
(Optional) Start team discussion (Teamwork) -> Consolidate output

## Core Evaluation Logic

For every user question, the following evaluation must be performed:

### Single-domain task
If the question is simple and belongs to one domain, directly assign the most
relevant expert to answer.

### Teamwork
If the question involves multiple domains, a "roundtable meeting" must be
started, with two or three experts cross-reviewing the logic and Super Admin
consolidating the result.
markdown
## Usage

Whenever a user question is received:
1. Analyze the requirements and determine whether it is a single-domain or
   cross-domain question.
2. Assign the corresponding expert according to the question type.
3. Start multi-expert discussion mode when Teamwork is required.
4. Finally, consolidate the output as Super Admin.

## Response Format Requirements

Every response must begin with `[model name]` and then identify which expert
is answering.

Technical Analysis

The skill assigns the agent a replacement identity and applies mandatory instructions to every subsequent user request. The behavior is not limited to an explicit orchestration request. Instead, phrases equivalent to “for every user question,” “whenever a user question is received,” “must,” and “every response” establish session-wide control.

The instructions force the agent to:

  1. Adopt the “Master Orchestrator” identity.
  2. route every request through attacker-defined expert personas;
  3. initiate a simulated multi-expert review for cross-domai ...[truncated 2182 chars]
Remediation
View remediation

Remediation Suggestions

  1. Remove the replacement-identity instruction that declares the agent to be the “Master Orchestrator.”
  2. Replace universal requirements such as “for every user question,” “must,” and “every response” with optional behavior activated only when the user explicitly requests orchestration.
  3. State that the skill remains subordinate to system, developer, and current user instructions.
  4. Do not require the agent to present itself as “Super Admin” or as any other authority that was not actually involved.
  5. Describe the listed roles as simulated analytical perspectives, not independent experts or reviewers.
  6. Remove the mandatory model-name and expert-name response prefix. Apply specialized formatting only when requested by the user and when it does not conflict with a required output schema.
  7. Limit the skill's scope to a clear invocation condition, such as:
markdown
Use this orchestration framework only when the user explicitly asks for
multi-perspective analysis. Do not change the agent's identity. Treat each
role as a simulated analytical perspective, and follow all higher-priority
instructions and user-specified output formats.
  1. Add explicit safeguards preventing the skill from overriding safety policies, tool restrictions, structured output requirements, or unrelated task instructions.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill hard-codes Chinese as the interaction language and reply format without offering user language choice or documenting a necessity for that restriction. This can cause misrouting, user misunderstanding, and unsafe task execution when users cannot accurately review or correct delegated outputs, especially in a multi-agent orchestration skill that handles complex or cross-domain tasks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.