T08 · Insecure Dependencies
- Location
SKILL.md:29- Finding
Unpinned Global Package Installation in Restoration Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a Chinese localization helper for OpenClaw, but it modifies globally installed application files and includes a broad unpinned reinstall command that users should review carefully.
Install only if you intentionally want this skill to patch a global OpenClaw installation. Prefer running the script in `--dry-run` first, use its `--restore` backup mechanism instead of reinstalling `openclaw@latest`, and avoid elevated privileges unless the OpenClaw install path truly requires them.
SKILL.md:29Unpinned Global Package Installation in Restoration Instructions
Referenced artifact was not completely inspected
- `translations/control-ui-zh.json` - Control UI 中文翻译映射
Referenced artifact was not completely inspected
- `translations/control-ui-zh.json` - Control UI 中文翻译映射
The skill instructs users to run a local Python script and directly edit installed application files, which implies file read/write capabilities, but it does not declare any explicit tool scope or permissions. Undeclared file-modifying behavior increases the risk of overbroad access, unintended file changes, and weak reviewability because operators cannot easily tell what paths the skill is expected to touch.
The trigger conditions are broad and ambiguous, including generic phrases like '汉化', '中文界面', and '需要汉化 OpenClaw 组件', which can cause the skill to activate in situations where the user did not intend system file modification. In this context, unintended invocation is more dangerous because the skill's documented behavior includes changing installed UI assets under system-level paths.
The documentation tells users to modify files under '/usr/lib/node_modules/openclaw/...', including running a translation script and directly editing 'options.html', but it does not prominently warn that these are installed system/application files whose integrity can be affected. This can lead to accidental tampering, broken upgrades, permission issues, or persistence of unsafe modifications in globally installed software.
This code file contains natural-language documentation entirely in Chinese and describes the script specifically as a Chinese translation tool, while also presenting user-facing output in Chinese. Under the stated policy, forcing a specific language without user opt-in is a locale/language policy violation unless a justified region-specific constraint is documented, which is not present here.
This translation file defines the entire interface in Chinese and does not include any natural-language indication that the language is optional, selectable, or limited to a zh locale context. Under the stated policy, forcing a specific language without user opt-in is a natural-language locale policy concern unless the locale constraint is clearly documented and justified.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
"Copy failed": "复制失败",
"Copy session name": "复制会话名称",
"Cost": "成本",
"Create or overwrite files": "创建或覆盖文件",
"Cron": "定时任务",
"Cron expression required.": "需要 Cron 表达式。",
"Cron Jobs": "定时任务",
The file describes the skill as translating the OpenClaw UI into Chinese and presents Chinese localization as the default behavior, without offering a language choice or stating that this is an explicit user-selected locale option. This can conflict with language/locale policy expectations when a skill forces a specific language absent opt-in language selection.
This HTML document declares zh-CN and all visible UI text is Chinese, which imposes a specific language/locale on users. The policy allows locale constraints only when users are given a choice or the restriction is clearly documented and justified, neither of which appears in this file.
No suspicious patterns detected.