Back to skill

Security audit

story-review:多视角对抗式审查

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because scanners report behavior beyond story review, including file and tracking-state changes, while parts of the artifact were only partially analyzed.

The verdict is suspicious, not a claim of malicious intent. Before installing, consider whether you need a review skill that can also change manuscript files and persistent story-tracking data; the scanners report that these changes may be unexpected or risk losing content. The analysis was incomplete, so the reported findings do not establish that all bundled behavior is understood.

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 (15)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied chunk has a materially different primary purpose: text transformation rather than multi-agent story review. Although punctuation checks could support a broader review workflow, this script actively rewrites source files by default, which is a consequential capability absent from the declared description. No network access or agent orchestration is visible. This assessment is limited to the supplied code chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The supplied script has a materially different primary purpose from the description: it manages persistent story-continuity data rather than conducting multi-agent story reviews. Functions such as initializeLocked, applyTransactionLocked, writeViews, and prepareDraftSnapshots create, overwrite, archive, or delete local project files. These are substantive state-management capabilities not disclosed by the review description, rather than incidental implementation details. The declared review orchestration and fallback behaviors are not present in this chunk. This assessment is limited to the supplied code and does not imply malicious intent.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The chunk implements a deterministic word-count subsystem with default tolerance bands, author-defined ranges, checkpoints, record normalization, and stale-record detection. It contains no reviewer-agent orchestration, full/lean review modes, solo review, rubric fallback, or review-trigger handling. Word counting could support a broader story-review skill, but this chunk primarily implements a distinct chapter-length tracking workflow rather than the declared review behavior. No network access, process spawning, or file writes are present; filesystem operations occur when the exported functions are called.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The executable behavior centers on detecting stylistic patterns such as repeated negation, clichés, punctuation density, and long paragraphs. Although such linting could support a larger story-review workflow, the supplied chunk implements a standalone checker and does not substantiate the description's central agent-based review behavior. No network access, text rewriting, or subprocess spawning is visible; the mismatch concerns functional purpose, not evidence of malicious activity.

Content

No source excerpt is available for this finding.

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 107)May include surrounding context.

md
node scripts/normalize-punctuation.js --check --mode=auto <正文文件...>

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 111)May include surrounding context.

md
- `normalize-punctuation.js` 的 `ellipsis`、`em-dash`(仅报畸形/粘连破折号,标准 `——` 不报)、`double-hyphen`、`markdown-divider` 归 `format`;`check-ai-patterns.js` 的 `em-dash` 独立归

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 108)May include surrounding context.

md
node scripts/check-ai-patterns.js --check --fail-on=review_required --mode=auto <正文文件...>

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 111)May include surrounding context.

md
-dash`(仅报畸形/粘连破折号,标准 `——` 不报)、`double-hyphen`、`markdown-divider` 归 `format`;`check-ai-patterns.js` 的 `em-dash` 独立归 `prose` 密度复核(二者不再去重),默认 `--quote-mode keep`。

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 112)May include surrounding context.

md
- `check-ai-patterns.js` 的 `review_required` / `advisory` 作 `prose` 候选,按 `style_resolution` 与 `deslop-guide.md`(短篇叠 `short-deslop.md`)复核后定级。

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 109)May include surrounding context.

md
node scripts/check-degeneration.js --check <正文文件...>

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 113)May include surrounding context.

md
- `check-degeneration.js` 的 blocking(复读/截断/tier1 工程词)归 S1/S2 `prose`(建议重写该段),advisory 归 S3。

Generic review phrases can activate the story-review skill outside its intended domain.

Medium
Category
Trigger Abuse
Confidence
95% confidence
Finding

The activation phrases “审查一下” (“review this”) and “帮我审一下” (“help me review this”) are common requests that could refer to code, contracts, or other non-story material. The trigger description does not explicitly restrict these phrases to fiction-review requests or provide exclusions.

Content

No source excerpt is available for this finding.

Conflict recovery instructs deletion of a handwritten chapter record without warning about potential loss of unique content.

Medium
Category
Output Handling
Confidence
97% confidence
Finding

The conflict-recovery instruction tells the agent to delete a handwritten chapter record based on an assumption about the conflict's cause, without requiring backup or reconciliation. That record may contain unique author content absent from structured state, so following the instruction can cause irreversible data loss during an otherwise routine review.

Content

No source excerpt is available for this finding.

The review skill includes a punctuation normalizer that overwrites supplied manuscripts by default.

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

The CLI defaults to writing transformed content directly over supplied files, without an explicit write opt-in or backup. The documented review invocation uses --check, which prevents writes in the intended workflow, but an omitted flag during manual or agent invocation can still unexpectedly alter manuscripts and remove divider lines.

Content

No source excerpt is available for this finding.

The review skill includes commands that persistently modify authoritative story state and delete tracking views, rather than only reviewing the story.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The manifest describes adversarial, multi-perspective review with reviewer-agent and rubric fallbacks, not story-state maintenance. The commit path writes chapter records, regenerates tracking views, and replaces _tracking-state.json (L1737–L1739); its writeViews helper also deletes character Markdown files absent from the submitted state (L1529–L1531). These persistent changes to the author's tracking data go beyond producing review findings.

Content

No source excerpt is available for this finding.