T01 · Skill Instruction Hijacking
- Location
SKILL.md:32- Finding
Unvalidated External Protocol Can Override Agent Behavior
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This RAG memory skill is not clearly malicious, but it asks agents to implicitly follow unreviewed workspace files and can index private memory content into a plaintext local file.
Review this before installing if your OpenClaw memory folder contains private, medical, financial, business, or credential-like notes. Only use it in a workspace where you control the referenced protocol file and are comfortable with automatic retrieval behavior and creation of a plaintext memory index.
SKILL.md:32Unvalidated External Protocol Can Override Agent Behavior
scripts/build-capsule-index.py:14Broad Agent-Memory Content Is Aggregated into a Plaintext Index
The skill is described as an autonomous adaptive RAG engine with routing, CRAG correction, and validation, but the documented concrete behavior is limited to reading local files and running indexing/evaluation scripts. This mismatch can mislead operators and downstream agents into granting trust, autonomy, or broader activation than the implementation justifies, which is a security concern because capability transparency is required for safe delegation.
The skill advertises behavior that reads protocol and index files and invokes local Python scripts, but it does not declare any explicit tool scope such as file access permissions. In an agent environment, undeclared file read/write capability weakens least-privilege boundaries and can cause the skill to access or modify workspace data without clear review or consent.
The trigger description is very broad, covering memory search, retrieval, and answering complex questions, which overlaps with many normal conversations. In an agentic system, overly broad activation criteria can cause the skill to run unexpectedly, expanding access to files and scripts in contexts where the user did not intend retrieval or background processing.
文件中的名称说明和整体使用文案均以中文固定表述,且未声明这是面向特定中文环境的受限技能,也未向用户提供语言/locale 选择。按照语言/locale 策略,若技能实际强制特定语言而无用户选择或合理约束说明,属于自然语言政策风险。
Stating that the skill operates at the protocol layer and does not require explicit invocation makes activation implicit, while the document does not define concrete constraints or guardrails for when it should run. Implicit auto-execution increases the chance of unauthorized or unintended behavior, especially for a skill that reads files and influences memory/search workflows across conversations.
This code file includes natural-language strings such as the title, usage comments, argument help text, and runtime output only in Chinese. That imposes a specific language on all users without any documented opt-in or locale selection, which matches the language/locale policy violation category.
This Python file contains natural-language descriptions and console output in Chinese only, including the header comments and runtime status messages. Under the policy for natural-language violations, forcing a specific language without opt-in can be a locale-policy issue when no alternative or user choice is offered.