Back to skill

Security audit

Handoff3

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it flags ambiguous activation and instructions that could write memory across sessions; analysis was partial, so the evidence is incomplete.

Treat this as a review case and consider waiting to install until the activation behavior and cross-session write boundary are clarified. The scan did not establish malicious intent, but it also did not fully inspect all referenced content.

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
Vulnerability Patterns
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (10)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
2. **写进该会话的文件**:`$LIB/memory/mem_<agent>_<会话>.md`。文件不存在就新建,带标题 + 文件源 + 正文(见 [schema.md](references/schema.md) §1–3)。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
**时间格式固定** `YYYY-MM-DD HH:MM`,不带时区后缀(详见 [schema.md](references/schema.md) §3)。从会话记录逐字重放恢复 mem 文件时照抄历史字节,不改写时间标签。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
1. **定位**:算出本会话 mem 路径。文件不存在 → 按 [schema.md](references/schema.md) §1–3 新建(标题 + 文件源 + 正文);存在 → 继续。

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
*补缺口**:读该文件来源记录的末条时间 T_end,`T_end > 核对至` → 用 grep 只捞 `核对至` 之后的命中行,按 [schema.md](references/schema.md) §3 格式补进本文件、刷新该行 `核对至`。**按缺口决定读多少,禁止整读**;来源为压缩格式(如 zstd)→ 不

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
emplate.md](references/template.md)、[types.md](references/types.md)、[schema.md](references/schema.md)、[selfcheck.md](references/selfcheck.md);另读 `$LIB/handoff_p

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [schema.md](references/schema.md) — 命名与解析、文件源段、条目格式、缺口判据、旧格式兼容

Common words can activate the skill without a required invocation prefix.

Medium
Category
Trigger Abuse
Confidence
98% confidence
Finding

Ordinary requests containing words such as “report” or “archive” can activate a handoff workflow without an explicit skill invocation. Because that workflow includes memory repairs and report generation, ambiguous task language can cause unintended persistent changes rather than merely select a response style; the library write boundary limits the scope but does not establish user authorization.

Content

No source excerpt is available for this finding.

The handoff backfill step directs cross-session content writes despite the documented current-session-only boundary.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The backfill step instructs the agent to append content to active sessions' files and create missing session files, despite the explicit boundary restricting entry-content changes to the current session. This contradictory authorization can lead to cross-session memory corruption or misattribution, particularly because later agents consume those files as the source of truth.

Content

No source excerpt is available for this finding.

Section headings are forced to Chinese without user opt-in.

Medium
Category
Output Handling
Confidence
99% confidence
Finding

Although the body text follows the user's conversation language, this instruction requires section headings to remain Chinese and rules out localization. This imposes a specific output language without user consent or a documented locale-specific justification.

Content

No source excerpt is available for this finding.

The skill mandates English footer text in uncertain or unsupported-language cases without user opt-in.

Low
Category
Output Handling
Confidence
96% confidence
Finding

L075 requires the English template whenever the reply's language is uncertain, mixed, or difficult to reproduce reliably, and L077 reinforces that preference. This can force English text into an otherwise non-English response without asking the user to choose or approve that fallback.

Content

No source excerpt is available for this finding.