T01 · Skill Instruction Hijacking
- Location
SKILL.md:17- Finding
Automatic Persistent Collection of Personal Information Without Explicit Consent
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This biography skill is purpose-aligned but needs Review because it automatically stores sensitive life-story content and has weak controls around privacy, paths, and network imports.
Install only if you are comfortable with the agent saving personal life details to local files automatically. Treat imported URLs as untrusted, avoid sensitive or third-party details unless you manually control what is saved, and do not rely on the [私密] marker to be filtered from generated books in this version.
SKILL.md:17Automatic Persistent Collection of Personal Information Without Explicit Consent
life-book.sh:30Path Traversal Through Unvalidated User and Chapter Names
life-book.sh:213Server-Side Request Forgery Through Unrestricted Remote Material Import
life-book.sh:266Documented Privacy Filtering Is Not Enforced During Book Generation
This variant of the mismatch is more serious because the skill also advertises local and network material collection while the metadata does not clearly surface that user topics may trigger remote retrieval (curl/web search) and persistent storage. Users may disclose sensitive biographical data believing it remains local or limited in scope, when the skill can interact with external resources and save data durably.
This variant of the mismatch is more serious because the skill also advertises local and network material collection while the metadata does not clearly surface that user topics may trigger remote retrieval (curl/web search) and persistent storage. Users may disclose sensitive biographical data believing it remains local or limited in scope, when the skill can interact with external resources and save data durably.
The operating instructions direct silent persistence of highly personal life details to local files without an upfront warning or consent notice. Because the skill is specifically designed to elicit autobiographical content, the context increases the danger: the data is likely to include names, relationships, health, finances, trauma, and other sensitive material.
The skill defaults to continuous recording of all life details and places the burden on users to mark items as private afterward. That design is dangerous because it encourages overcollection of sensitive personal data first and relies on users to recognize and annotate privacy risks in real time.
The skill directs automatic logging of user-provided autobiographical content into persistent chapter files under a fixed workspace path. Persistent structured storage of personal narratives increases the risk of later unauthorized access, unintended reuse, or aggregation of sensitive information.
The privacy section says no content is uploaded externally, yet the instructions direct use of web_search to fetch background material based on user-provided topics. Even if raw content is not uploaded verbatim, user topics, names, places, or events may be sent to external services, making the privacy claim misleading and potentially causing unintended disclosure.
The guidance says user statements should be recorded immediately and broadly treated as source material, without clear minimization limits. In this skill context, that encourages bulk retention of sensitive biographical information, including data about third parties, which increases privacy harm, accidental over-collection, and downstream misuse if the stored book is exposed.
The examples direct the agent to automatically persist intimate personal details as the conversation proceeds, but do not require an upfront notice or consent step. In a biography-building skill, this can silently collect and retain highly sensitive life history, relationship, education, and work information the user may not expect to be stored permanently.
The documentation asserts that all data is stored locally, but the example workflow explicitly instructs using web_search to gather external material. That creates a misleading privacy guarantee and can cause personal context about the user's life story to be sent to external services, increasing disclosure risk for sensitive biographical data.
This file presents all operational instructions and user-facing descriptions exclusively in Chinese, including headings, feature descriptions, and usage notes. Under the stated policy, forcing a specific language without user opt-in or justification is a natural-language policy violation.
L53 明确宣称该技能“完全本地化”,这会让读者理解为技能相关操作不涉及外部网络或远程服务。但本文件 L15-L27、L33-L45 又指导用户使用 clawhub login/publish/install 与远程平台交互,和“完全本地化”的表述存在直接张力。
The skill explicitly instructs use of shell execution (exec, bash, curl) and filesystem writes, but does not declare any tool scope or allowed-tools boundary. This creates an authorization and transparency gap: a reviewer or runtime may underestimate the skill's ability to execute commands, write persistent files, or fetch remote content.
The skill instructs the agent to automatically record any life-related user statement without explicit opt-in. This is unsafe because users may casually disclose sensitive personal information in conversation without realizing it will be persistently logged to disk.
Creating persistent directories under ~/.openclaw/workspace/life-books/ is not inherently malicious, but it does establish session persistence for sensitive user data. In a biography skill, persistent storage materially increases privacy and data retention risk, especially when combined with automatic recording defaults.
初始化目录(首次使用时):
mkdir -p ~/.openclaw/workspace/life-books/default/{chapters,materials,raw}
The follow-up strategy is explicitly designed to solicit additional personal detail after each write, which expands the volume and sensitivity of collected data. In this context, the elicitation behavior makes the privacy risk worse because it turns casual sharing into systematic profiling without corresponding consent safeguards.
The skill describes network-based enrichment without warning that user-supplied topics may be sent to third-party search services. In a biography context, those topics can include identifiable people, locations, or events, creating a privacy exposure beyond the local workspace.
Comments, status messages, and usage text are written exclusively in Chinese, which can force a specific language experience without user opt-in. The file does not indicate that the skill is intentionally region-specific or provide an alternative language option.
The default configuration hard-codes the language to "zh-CN", and the skill's prompts/help are also written in Chinese without any user selection flow. This is a language/locale policy issue because the skill imposes a specific locale rather than offering a choice or clearly documenting a justified region-specific constraint.
The script collects highly sensitive autobiographical data and writes it to local markdown files under the user's home directory without any explicit privacy notice, consent prompt, encryption, access-control hardening, or warning about where the data will persist. In this skill context, the content is especially sensitive because it solicits life history, relationships, and major life events, increasing the risk of privacy harm if the workstation is shared, backed up insecurely, or later accessed by other tools/users.
The skill downloads arbitrary remote content into the user's workspace via curl with no warning, trust prompt, file-type validation, size limits, or provenance checks. While it is not executing the content directly, silently importing attacker-controlled files into a personal archive can expose the user to malicious documents, unexpected tracking URLs, oversized downloads, or later unsafe handling by other tools.
This line causes the tool to make an outbound network request to a user-supplied URL and store the response locally, which is an external transmission/data ingress behavior with security implications. In this skill's context, importing web materials may be expected, but the danger is increased by the lack of user warning, URL validation, and download safeguards, especially since the workspace contains sensitive personal biography data nearby.
elif [[ "${source}" =~ ^https?:// ]]; then
log_info "导入网络资料: ${source}"
local filename=$(basename "${source}")
curl -sL "${source}" -o "${user_dir}/materials/${filename}"
log_success "导入完成"
else
log_error "无效的资料源: ${source}"
All headings, examples, trigger phrases, chapter mappings, and response guidance are exclusively in Chinese, which implies a fixed language behavior. The file does not offer opt-in language selection or explain that the skill is intentionally limited to a Chinese-language context.
This shell script creates new chapter files and appends content to existing markdown files under the user's workspace. Although it prints a success message after appending, there is no prior disclosure or warning in comments/help text that running the append action will modify persistent user data.