Back to skill

Security audit

知识自动沉淀引擎

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its reported archive workflow can delete historical documents and make remote changes despite a read-only safety disclosure.

Treat this as a review item before installing. Check that you understand and accept any remote writes, overwrites, deletions, and access changes, and confirm the destination and recipients. The scan covered 75% of components and had a degraded static analysis step, so its evidence is incomplete.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md
Finding

Title-only deduplication deletes historical documents without approval

Content
View full analysis

Impact

Distinct historical briefing versions can be deleted. Line 704 explicitly acknowledges that an earlier cleanup included ten content-bearing historical versions, demonstrating that the affected nodes need not be empty artifacts.

Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • YARA SignaturesMalware Match, Webshell Match, Cryptominer Match
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

YARA rule 'agent_skill_mcp_tool_poisoning_metadata': MCP/tool metadata poisoning indicators in tool schemas or skill manifests [agent_skills]

High
Category
YARA Match
Confidence
80% confidence
Finding

YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).

Content

Scanner excerpt · SKILL.md (reported line 4)May include surrounding context.

md
---
name: knowledge-precipitation
version: 0.1.45
description: |
  每日知识沉淀引擎(Knowledge Auto-Precipitation Engine,KAPE)v0.1.38。

## v0.1.26 更新说明(2026-10-29 断档修复)
- **根因**:2026-10-27 07:47 的 cron 无 run 记录,导致 2026-10-26 简报缺失,直到 10-29 心跳发现才补做,中间隔了 3 天无人察觉。每日流程只看「昨天」,不看「有没有缺」。
- **修复**:新增「第一步:归档连续性检查」——生成简报前先扫描最近 7 天的本地简报文件,发现除昨天以外的缺失日期即自动补做(按日期从早到晚)。
- **验证**:2

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 24)May include surrounding context.

md
- **验证**:2026-10-23 知识沉淀 cron 对知识库 docx 与共享文件夹 docx 两份文档均授权成功。

## v0.1.23 更新说明(2026-09-27 Bug 修复)
- **根因**:新版 OpenClaw(2026-09 大版本)使用 SecretRef 存储凭证,`secrets.json` 中 `apiKey` 字段值为 `***` 而非真实 key,导致 skill 的 base64 Python 脚本读取到无效凭证,Get笔记 save 全部失败(10004 未授权)。
- **修复**:删除所有 base64 Python 凭证读取脚本;`getnote` CLI v1.6.0 会自动从 `~/.getnote/config.json` 读取凭证,只需 `${GETNOTE_CLI} auth status` 验证即可,无需手动注入 key。

## v0.1.22 更新说明(2026-09-03 Bug 修复)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 48)May include surrounding context.

md
## v0.1.15 更新说明(2026-06-27 Bug 修复)
- **根因**:cron isolated session 不会自动注入 `GETNOTE_CLIENT_ID` 和 `GETNOTE_API_KEY` 环境变量,导致 `getnote auth login` 失败,提示"API未授权"。
- **修复**:新增「运行时凭证读取」章节,所有调用 Get笔记 CLI 的步骤均需先从配置文件(openclaw.json + secrets.json)读取凭证后再执行,彻底摆脱对环境变量的依赖。

## v0.1.14 更新说明(2026-06-06 Bug 修复)
- **根因**:cron 执行时使用了 `grep "^2026-06-05"`(行首匹配),但日期在最后一列(行首是笔记 ID),导致 7 条笔记全部漏读。v0.1.12/v0.1.13 均已警告此 Bug,但执行端仍违反。

The safety disclosure falsely claims external API calls are read-only despite workflows that publish, delete, and change access to user data.

High
Category
Output Handling
Confidence
99% confidence
Finding

The permission disclosure contradicts the actual executable workflow, including remote publication, deletion, and access-control changes. These operations are broadly consistent with an archiving skill, but representing them as read-only undermines informed consent; this duplicates the underlying issue reported by SDI-4 rather than establishing a separate attack.

Content

No source excerpt is available for this finding.

The safety documentation promises read-only external operations, but the executable workflow creates, overwrites, deletes, and changes permissions on remote resources.

High
Category
Excessive Agency
Confidence
100% confidence
Finding

The safety section explicitly promises read-only external requests, but the workflow saves notes, creates and overwrites documents, deletes wiki nodes, and grants full_access permissions. This materially understates the authorization required and could cause users or supervising agents to approve operations that expose private conversation summaries or destroy existing remote content.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 251)May include surrounding context.

md
> ⚠️ **v0.1.23 简化**:`getnote` CLI v1.6.0 自动从 `~/.getnote/config.json` 读取凭证,无需手动配置或注入。

飞书 appSecret → `secrets.json` 的 `channels.feishu.accounts.main.appSecret`

飞书机器人需已加入知识库成员,否则 `feishu_wiki(spaces)` 返回空。

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 257)May include surrounding context.

运行时凭证读取

⚠️ v0.1.23 简化:新版 OpenClaw 使用 SecretRef 存储凭证,手动解析 openclaw.json/secrets.json 会读到 *** 而非真实 key。getnote CLI v1.6.0 会自动从 ~/.getnote/config.json 读取凭证,无需手动注入 key,只需验证认证状态即可。

bash
GETNOTE_CLI="/Users/openclawer/.npm-global/bin/getnote"