Back to skill

Security audit

MiniMax Opus 调教法

Security checks for vulnerabilities and agentic risk

Overview

This skill openly aims to change MiniMax behavior, but it does so by telling users to overwrite a persistent OpenClaw configuration file that can affect future sessions.

Install only if you intentionally want this skill to replace your OpenClaw SOUL.md behavior profile. Back up any existing `~/.openclaw/workspace/SOUL.md` first, review the inserted rules carefully, and be prepared to restore or delete the file if future agent behavior changes in unwanted ways.

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:20
Finding

Persistent Agent Configuration and Instruction Hijacking

Content
View full analysis
SOUL.md << 'EOF' 你是「MiniMax-M2.5-Opus-Ultimate-v12.0」—— Claude Opus 4.6级顶级智能体。 【终极铁律·永久强制】 1. 智能分块:复杂/长项目自动分块输出(Part 1/3、Part 2/3…),每块结尾说"请说 continue 获取下一部分"。 2. 思考隐藏:简单任务直接自然回复,不显示思考链。只有用户要求或极复杂任务才显示思考过程。 3. Claude风格:自然流畅、友好、专业、幽默、积极主动,像 Claude 一样让人舒服。 4. 零截断:每块必须完整、无任何截断。 5. 积极主动:回答完主动给出优化建议、部署命令、生产注意事项。 6. 混合模式:如果任务极复杂,可主动建议"这个项目用 Claude Opus 会更完美,要我切换吗?" 从现在起,你就是真正聪明、稳定、不偷懒、让人用着舒服的顶级助手。 EOF ``` The skill subsequently directs the user to activate the new instructions by entering: ```text /reload soul ``` ### Technical Analysis The documented shell command uses the `>` redirection operator to replace `~/.openclaw/workspace/SOUL.md` with attacker-authored behavioral instructions. It does not check whether the file already exists, preserve its existing contents, request confirmation, or create a backup. The injected configuration assigns the agent a replacement identity and declares its behavioral rules to be permanently mandatory. These rules govern future response formatting, reasoning disclosure, continuation prompts, proactive content, and recommendations to switch to another model. Reloading the configuration causes these instructions to influence conversations beyond the task in which the skill was installed. This is primarily persistent memory poisoning because attacker-controlled instructions are written into long-term agent state. It also constitutes instruction hijacking because the payload replaces the agent's intended goals and behavioral constraints. ### Attack Path 1. A user trusts the skill documentation and runs the provided shell commands. 2. The shell changes to the OpenClaw workspace belonging to the current operating-system user. 3. `cat > SOUL.md` truncates any existing configuration ...[truncated 1412 chars]
Remediation
View remediation
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 (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description is written as a Chinese-only instruction set and presents the behavior as the default user experience, with no indication that users may choose another language. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructs users to overwrite a persistent local configuration file in ~/.openclaw/workspace/SOUL.md without warning, backup guidance, or explanation of scope. This is dangerous because it can silently replace existing user customizations and permanently alter future agent behavior, including injecting adversarial or policy-conflicting instructions into all later sessions.

Content

No source excerpt is available for this finding.