The skill poses a critical security risk by performing unauthorized recursive synchronization of sensitive configuration directories and enabling arbitrary file overwrites through insecure provenance tracking.
Findings (4)
Behavioural Control
Hightargets Action
The skill defines its scope to include ~/.claude/ and ~/.cc-switch/, which contain sensitive agent configurations, credentials, and history. By design, it performs recursive diffing and synchronization across these directories, creating a high risk of unauthorized access or accidental exposure of sensitive data.
CLAUDE_SET = ~/.claude/skills/ ... CCSW_SET = ~/.cc-switch/skills/
The skill relies on a '.SOURCE' file to track provenance. If an attacker can inject or modify these files, they can trick the agent into performing 'repairs' or 'syncs' on arbitrary files, effectively using the agent as a tool to move or overwrite files across the filesystem.
创建 .SOURCE 文件:source: <原路径>
The 'repair' logic instructs the agent to 'use source to overwrite the copy' when drift is detected. Without explicit user confirmation or integrity checks, an attacker could manipulate the source directory to overwrite critical system or agent files in the destination path.
copy → 用源覆盖副本
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.