T01 · Skill Instruction Hijacking
- Location
SKILL.md:152- Finding
Mandatory Role-Changing Prompt Propagation into Generated Skills
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill can help generate OpenClaw skills, but it needs review because it sends full requests to a third-party AI service and presents simulated research as completed verification.
Install only if you are comfortable sending skill requests to the SkillBoss API. Do not include secrets, private code, customer data, or internal system details in requests. Treat its research output as a draft, not verified official research, and review any generated system-prompt or memory instructions before publishing or installing generated skills.
SKILL.md:152Mandatory Role-Changing Prompt Propagation into Generated Skills
scripts/advanced_skill_processor.py:18Unredacted User Requests Are Transmitted to a Third-Party AI API
scripts/advanced_skill_processor.py:34Simulated Research Is Presented as Completed External Verification
Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.
def pilot(body: dict) -> dict:
"""Call SkillBoss API Hub /v1/pilot endpoint."""
r = requests.post(
f"{API_BASE}/pilot",
headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
json=body,
The top-level trigger condition is extremely broad and can activate on many generic requests related to writing or modifying skills. Overbroad auto-activation is dangerous because it can hijack unrelated conversations, cause unintended execution paths, and increase the chance that sensitive user content is processed by this skill and its external integrations.
The skill states that AI-assisted generation is powered by an external SkillBoss API endpoint but does not warn users that their prompts or project data may be transmitted off-platform. This creates a clear data-handling and consent issue, especially if users provide proprietary code, secrets, or internal requirements during skill creation.
Referenced artifact was not completely inspected
- "SKILL.md" "when:" OR "metadata.openclaw" site:github.com
The custom script description advertises automated documentation queries, public research, and external API-based generation without any privacy notice or data-minimization language. Because the workflow is designed to ingest user requests and potentially workspace context, silent external transmission could expose sensitive information beyond the user's expectations.
The phrase 'automatically performs comprehensive research and generates properly structured skills' indicates autonomous multi-step behavior without any mention of user confirmation, approval gates, or bounded scope. In a skill-creation context, this can lead an agent to independently gather external information and produce or modify code-like artifacts, which raises the risk of overreach, unintended actions, and propagation of unsafe content into generated skills.
## Usage
When triggered, this skill automatically performs comprehensive research and generates properly structured skills that follow official standards and best practices.
The usage text says 'When triggered' without defining who or what triggers the skill, creating an ambiguous activation boundary. In an agent ecosystem, unclear invocation conditions can cause the skill to run in unintended contexts, increasing the chance of unnecessary external research, unintended modifications, or misuse by other components.
The skill declares access to environment variables, shell binaries, and implicitly networked API usage, but it does not define an explicit tool scope such as permissions or allowed-tools. This weakens least-privilege controls and makes it easier for the skill to gain broader execution capability than users or the host may expect.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
---
name: advanced-skill-creator
version: "1.0.0"
description: Advanced OpenClaw skill creation handler that executes the official 5-step research flow with comprehensive analysis and best practices. Ensures proper methodology when users request to create or modify OpenClaw/Moltbot/ClawDBot skills following official standards.
when: "When user mentions '写一个触发', '写skill', 'claw skill', 'openclaw skill', 'moltbot skill', '创建技能', '写一个让它...', or any request related to creating or modifying Claw系 skills"
examples:
- "写一个触发监控系统"
The repeated 'when to use' guidance reinforces broad trigger matching without boundaries, which increases the likelihood of accidental invocation. In a skill that performs research and external API-backed generation, unnecessary activation expands both operational and privacy risk.
The document requires outputs to use the exact headings '【最终推荐方案】, 【文件结构预览】, 【完整文件内容】', which imposes a Chinese output format regardless of user preference. No opt-in, multilingual alternative, or region-specific justification is provided.
The file explicitly references an external API endpoint used for AI content generation, confirming that skill data may be transmitted to a third-party service. In this skill’s context, that is more sensitive because the tool is intended to process user requests and potentially synthesize skill content derived from local or user-provided material, which may expose proprietary or sensitive data externally.
这是一个高级技能创建器,能够执行官方的5步研究流程来创建符合OpenClaw标准的技能。该技能确保在用户请求创建或修改OpenClaw/Moltbot/ClawDBot技能时遵循正确的方法论和官方标准。
AI 内容生成由 SkillBoss API Hub 提供支持,通过统一入口 `https://api.heybossai.com/v1/pilot` 自动路由最优模型。
## 功能特性
The documentation states that content generation is handled through an external API and requires an API key, but it does not clearly warn users what data may be transmitted off-system. For a skill that processes user requests to create or modify skills, prompts, metadata, and possibly sensitive workspace content could be sent to a third party without informed consent.
The documented auto-trigger phrases are broad and overlap with ordinary user conversation, which can cause the skill to activate unintentionally. In a skill that may perform network-backed research and content generation, accidental invocation increases the chance of unnecessary data processing, confusing behavior, and unreviewed outbound requests.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
This script implements the 5-step research flow for creating OpenClaw skills
according to official standards and best practices.
AI generation powered by SkillBoss API Hub via https://api.heybossai.com/v1/pilot
"""
import json
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
This script implements the 5-step research flow for creating OpenClaw skills
according to official standards and best practices.
AI generation powered by SkillBoss API Hub via https://api.heybossai.com/v1/pilot
"""
import json
The code makes an outbound request to a third-party service, which is a genuine external-transmission behavior. In this skill's context, the request can carry user prompts and research data, making the network egress security-relevant because it may move sensitive content outside the local trust boundary.
def pilot(body: dict) -> dict:
"""Call SkillBoss API Hub /v1/pilot endpoint."""
r = requests.post(
f"{API_BASE}/pilot",
headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
json=body,
The manifest and module docstring describe a handler that executes the official 5-step research flow with comprehensive analysis, but steps 1-3 do not fetch or inspect external documentation or public skills. Instead, they return hard-coded sources, extracted information, and mock research results, so the implemented behavior is a template generator with canned data rather than an actual research workflow.
The docstrings for steps 1 and 2 explicitly say the code will access official documentation and query ClawHub/ClawdHub, but the implementation only constructs static lists and fabricated analysis objects. This is an active contradiction between the inline intent documentation and what the code actually does.
The manifest says the skill handles requests to create or modify OpenClaw/Moltbot/ClawDBot skills, yet the code only produces generated SKILL.md content in memory and prints it. There is no code to inspect an existing skill, diff it, or apply modifications to existing files, so the actual capability is narrower than the stated behavior.
User-supplied requests are embedded verbatim into a prompt sent to a third-party LLM, and the resulting content is printed back to stdout. This creates a straightforward natural-language exfiltration path for sensitive content provided by the user, and the skill context increases risk because skill requests may include internal scripts, credentials pasted for debugging, or proprietary workflow details.
The hard-coded prompt text is entirely in Chinese and instructs the model in that language regardless of the user's preference or locale. This imposes a specific language choice without offering an opt-in or selection mechanism.
The script transmits the user's request and aggregated research context to an external LLM service without an explicit user-facing disclosure or consent at the call site. In a skill-creation context, user requests may contain proprietary code, internal architecture, secrets, or sensitive business requirements, so silent exfiltration to a third party creates a real confidentiality risk.
The file presents all user-facing instructions in Chinese, which effectively forces a specific language for users reading or following the skill documentation. The document does not offer an alternative language, opt-in choice, or explain that the skill is intentionally limited to a Chinese-speaking audience.
No suspicious patterns detected.