Back to skill

Security audit

simplified-to-traditional

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with medium confidence: its findings appear related to its stated Chinese text conversion purpose, though scan coverage is incomplete and a few setup and execution details merit review.

The verdict is benign, but medium confidence and partial analysis mean the evidence is incomplete. Before installing, consider whether you need its file and shell access, and review how your host limits those capabilities; the reported subprocess call and broad trigger are also worth noting.

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
  • Memory PoisoningPersistent Context Injection, Context Window Stuffing, Memory Manipulation
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

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

python3 .opencode/skills/simplified-to-traditional/scripts/sync_tra.py docs/-zh-hans.md

text
It (a) injects/updates the Simplified file's `繁體版` cross-link, (b) converts the body with `opencc -c s2twp`, (c) injects the Traditional file's `简体版` cross-link, and (d) writes `docs/<slug>-zh-hant.md`.
5. **Review** the generated Traditional against the Simplified, and clear the script's lint. OpenCC can pick the wrong form for a 一简对多繁 character (see "OpenCC pitfalls" below) and can rewrite characters inside a quote. `sync_tra.py` prints a `⚠ … ambiguous form(s) to verify` list after every run — check each against the cited edition (or the intended meaning) and pin any genuine fix in `OVERRIDES`. Surface anything else suspicious to the user; do not silently hand-fix — a hand-edit is drift and will fail the next `--check`.
6. **Verify** the pair is in sync:
```bash
python3 .opencode/skills/simplified-to-traditional/scripts/sync_tra.py docs/<slug>-zh-hans.md --check

Memory Manipulation

High
Category
Memory Poisoning
Confidence
80% confidence
Finding

Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.

Content

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

md
`opencc -c s2twp` is deterministic but context-blind: when one Simplified character maps to several Traditional ones, it can pick the wrong one for a rare, literary, or technical term. Two failure modes:

- **Ambiguous characters.** e.g. `云`(说)→ `雲`(cloud); `干` → `乾`(dry)/ `幹`(do). Rare terms err most. `sync_tra.py` prints a lint of every risky form(`雲 幹 髮 複 …`)after each run — verify each against the cited edition and pin a fix in `OVERRIDES` if wrong.
- **Register normalization.** `s2twp` may rewrite characters its Taiwan dictionary prefers(e.g. `哄`→`鬨`, `背`→`揹`). Acceptable in running prose, but **wrong inside a verbatim quote** taken from another edition.

### Quotes must match the cited edition

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

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.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/sync_tra.py (reported line 159)May include surrounding context.

python
def to_traditional(text: str) -> str:
    proc = subprocess.run(
        OPENCC, input=text.encode("utf-8"), stdout=subprocess.PIPE, stderr=subprocess.PIPE
    )
    if proc.returncode != 0:

Overly Broad Trigger

Low
Category
Trigger Abuse
Confidence
75% confidence
Finding

Overly Broad Trigger: description clause 'Use when the user asks to make, sync, or update the Traditional (繁體) version of a Chinese article — "convert to traditional", "做繁體版", "同步繁简",' activates on 'make', a common word that will activate in many unintended contexts

Content

No source excerpt is available for this finding.