Back to skill

Security audit

Ego Zhihu Article Draft

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report that its existing-draft repair workflow exceeds the stated consent and purpose, while parts of the scan were incomplete.

Consider avoiding installation until the repair behavior and its consent requirements are clearly documented and the external image requests are addressed. The overall verdict is suspicious, not malicious; however, coverage was partial, with 16 of 30 components scanned and some script behavior not fully interpretable, so the evidence is incomplete.

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 Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (13)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The only supplied executable behavior is npm test. No code demonstrates the declared browser interaction, account checks, draft creation, receipt verification, or saved-content validation. Test execution could support development of such a skill, but this standalone chunk does not implement its declared primary purpose. The behavior of the underlying test script cannot be determined from the supplied code.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The manifest promises offline behavior without --save-draft or --verify-draft, yet --repair-draft opens the browser and edits an existing draft without either flag. The explicit repair flag reduces accidental activation, but the contradictory contract makes consent and side effects unreliable for callers.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The description limits mutations to creating a new draft, but the documented repair mode replaces an existing draft's body. Although repair requires an explicit flag and has safeguards, omitting its destructive scope from the advertised authorization model can lead an agent to modify existing content beyond the user's intended permission.

Content

No source excerpt is available for this finding.

The acceptance workflow invokes an undeclared --repair-draft mode that edits an existing draft without --save-draft.

High
Category
Excessive Agency
Confidence
96% confidence
Finding

The acceptance procedure directs a body-clearing repair without --save-draft, conflicting with the advertised offline and mutation-consent rules. Its later assertion that there is no edit on this command further obscures a destructive action, although account, title, and draft checks limit the target.

Content

No source excerpt is available for this finding.

An undeclared repair-draft workflow destructively rewrites an existing draft.

High
Category
Excessive Agency
Confidence
97% confidence
Finding

The repair path clears an existing body before rebuilding it, exceeding the advertised new-draft-only mutation scope. Duplicate detection and target checks reduce exposure, but paste or upload failures can leave content incomplete, and the available plain-text rollback cannot preserve the original rich content and images.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, network.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Shadow Command Trigger

Medium
Category
Trigger Abuse
Confidence
70% confidence
Finding

Shadow Command Trigger: description clause 'An unverified receipt is not reopened by --save-draft and must not open /write again' conflicts with built-in command 'write'

Content

No source excerpt is available for this finding.

The --repair-draft workflow authorizes modifying an existing draft without the manifest-required --save-draft consent.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The consent table introduces existing-draft replacement despite the skill's statement that --save-draft is the only mutation consent and authorizes only a new draft. Repair is explicitly selected rather than covert, but its destructive authority is inconsistent with that narrower promise.

Content

No source excerpt is available for this finding.

The repair-draft path bypasses the manifest's offline-only requirement when neither --save-draft nor --verify-draft is supplied.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The launcher explicitly exempts --repair-draft from its offline branch, allowing browser execution when neither of the manifest's advertised browser-enabling flags is supplied. This is an authorization-contract mismatch rather than an unconditional bypass, since the caller must still select repair.

Content

No source excerpt is available for this finding.

An undeclared --repair-draft mode authorizes editing an existing draft outside the manifest's consent model.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The manifest promises that save-draft runs without --save-draft or --verify-draft remain offline, and only declares consent for creating one new draft or read-only verification. However, the parser accepts a mutually exclusive --repair-draft mode (L0160–L0164, L0222–L0224), and this branch authorizes a repair action on an existing receipt; the embedded usage explicitly describes reopening the URL and replacing body content (L0033). This introduces an existing-draft mutation mode outside the declared behavior.

Content

No source excerpt is available for this finding.

The DOM test silently loads external image resources in a real browser.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The local HTML fixture contains HTTPS image URLs and runs in a real browser without network blocking, so tests can contact external image hosts despite their offline framing. This exposes ordinary request metadata and introduces external dependencies, but the supplied URLs contain no article content or credentials.

Content

No source excerpt is available for this finding.

The flow supports rewriting an existing draft through an undeclared repair mode.

Medium
Category
Excessive Agency
Confidence
94% confidence
Finding

L0836–L0844 invoke executeSave with repairDraft: true, without saveDraft consent, and assert a successful keyboard-replace mutation of existing draft 55. This demonstrates a supported existing-draft editing mode beyond the manifest's stated mutation boundary of one new draft; reopening existing receipts is described only as read-only verification.

Content

No source excerpt is available for this finding.

Overly Broad Trigger

Low
Category
Trigger Abuse
Confidence
75% confidence
Finding

Overly Broad Trigger: description clause 'Use when the user asks for a 知乎文章草稿, 专栏草稿, or zhuanlan' activates on 'a', a common word that will activate in many unintended contexts

Content

No source excerpt is available for this finding.