T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/upload-images.js:202- Finding
Arbitrary Local File Read and Exfiltration Through Image Path Traversal
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This localization skill is useful but needs review because it can upload project images, read stored MCP credentials, install packages, and rewrite project files with insufficient containment.
Review before installing. Use only on trusted projects, prefer an isolated workspace, keep backups, avoid enabling image translation unless you are comfortable uploading project assets, provide MCP credentials explicitly over HTTPS, and avoid copying tokens into every IDE config until the path validation and HTTP handling are hardened.
scripts/upload-images.js:202Arbitrary Local File Read and Exfiltration Through Image Path Traversal
scripts/upload-images.js:220Shell Command Injection Through the Project Path During ZIP Creation
scripts/replace-text.js:125Arbitrary File Modification and Command Injection in Text Replacement
scripts/replace-image.js:202Arbitrary File Overwrite Through Image Replacement Path Traversal
references/mcp-image-translation.md:32MCP Credentials and Project Images May Be Transmitted Over Plaintext HTTP
scripts/upload-images.js:60Overbroad Automatic Access to Multiple IDE Credential Stores
scripts/package.json:6Unpinned Dependency Installation Without a Lockfile
The skill advertises localization features but also performs remote upload of local images, reads user-level IDE MCP configuration files, and conducts chunked network communication with external services. Those behaviors materially change the trust and privacy profile of the skill, because local project assets and local configuration secrets may be exposed without sufficiently prominent disclosure at the trigger/overview level.
The skill advertises localization features but also performs remote upload of local images, reads user-level IDE MCP configuration files, and conducts chunked network communication with external services. Those behaviors materially change the trust and privacy profile of the skill, because local project assets and local configuration secrets may be exposed without sufficiently prominent disclosure at the trigger/overview level.
The trigger conditions include broad generic terms such as '翻译' and '多语言', which can match ordinary conversation and activate a skill that performs scanning, dependency installation, file writes, and possible network uploads. Because this skill is stateful and mutating, overbroad invocation criteria materially increase the chance of accidental execution and unintended project changes.
The catch-all fuzzy trigger ('game for overseas users' and similar phrasing) lacks clear boundaries and can invoke a powerful workflow from ambiguous intent. In this context that is especially risky because the skill can install packages, read configs, upload images, and modify source files, so accidental activation has meaningful security and integrity consequences.
Referenced artifact was not completely inspected
- `references/scan-analysis.md` — 扫描分析
Referenced artifact was not completely inspected
- `references/scan-analysis.md` — 扫描分析
Referenced artifact was not completely inspected
- `references/execute-translation.md` — 执行翻译
Referenced artifact was not completely inspected
- `references/execute-translation.md` — 执行翻译
Referenced artifact was not completely inspected
- `references/execute-translation.md` — 执行翻译
Referenced artifact was not completely inspected
- `references/apply-resources.md` — 应用本地化资源(文本替换、图片替换、语言包生成)
Referenced artifact was not completely inspected
- `references/apply-resources.md` — 应用本地化资源(文本替换、图片替换、语言包生成)
Referenced artifact was not completely inspected
- `references/quality-verification.md` — 本地化质量验证
Referenced artifact was not completely inspected
- `references/quality-verification.md` — 本地化质量验证
Referenced artifact was not completely inspected
- `scripts/scan-chinese.js` — **中文字符串全量扫描脚本 v1.0**(AST 扫描 JS/TS/JSON/CSV/TSV/WXML/HTML/CSS/Cocos/Unity/C#/XML/TXT,双引擎解析 esprima + @babel/parser 容错模式,精确行列 range
Referenced artifact was not completely inspected
- `scripts/scan-chinese.js` — **中文字符串全量扫描脚本 v1.0**(AST 扫描 JS/TS/JSON/CSV/TSV/WXML/HTML/CSS/Cocos/Unity/C#/XML/TXT,双引擎解析 esprima + @babel/parser 容错模式,精确行列 range
Referenced artifact was not completely inspected
- `scripts/scan-chinese.js` — **中文字符串全量扫描脚本 v1.0**(AST 扫描 JS/TS/JSON/CSV/TSV/WXML/HTML/CSS/Cocos/Unity/C#/XML/TXT,双引擎解析 esprima + @babel/parser 容错模式,精确行列 range
Referenced artifact was not completely inspected
- `scripts/scan-chinese.js` — **中文字符串全量扫描脚本 v1.0**(AST 扫描 JS/TS/JSON/CSV/TSV/WXML/HTML/CSS/Cocos/Unity/C#/XML/TXT,双引擎解析 esprima + @babel/parser 容错模式,精确行列 range
Referenced artifact was not completely inspected
- `scripts/replace-text.js` — 文本替换脚本 v3.5(含备份、dry-run、逐条即时语法校验、逐文件校验、最终全局校验、自动回滚、模板字符串增强兼容、TS 语法检查修复、CSV/TSV 数据文件替换支持、**精确字符串字面量定位** — 优先替换引号内的字符串,排除注释中的同名文本、**
Referenced artifact was not completely inspected
- `scripts/replace-text.js` — 文本替换脚本 v3.5(含备份、dry-run、逐条即时语法校验、逐文件校验、最终全局校验、自动回滚、模板字符串增强兼容、TS 语法检查修复、CSV/TSV 数据文件替换支持、**精确字符串字面量定位** — 优先替换引号内的字符串,排除注释中的同名文本、**
Referenced artifact was not completely inspected
- `scripts/generate-langpack.js` — 语言包生成脚本 v3.0(支持 Cocos Creator i18n 插件 / Cocos Creator L10N / LayaAir / Egret / Unity / 原生微信小游戏。自动部署语言包到引擎目录、自动注入 i18n 初始化代码、生
Referenced artifact was not completely inspected
- `scripts/generate-langpack.js` — 语言包生成脚本 v3.0(支持 Cocos Creator i18n 插件 / Cocos Creator L10N / LayaAir / Egret / Unity / 原生微信小游戏。自动部署语言包到引擎目录、自动注入 i18n 初始化代码、生
Referenced artifact was not completely inspected
- `scripts/verify-build-strings.js` — 编译产物二次复核脚本(基于 AST 扫描编译后 JS/JSON 中的残留中文,可选步骤)
Referenced artifact was not completely inspected
- `scripts/verify-build-strings.js` — 编译产物二次复核脚本(基于 AST 扫描编译后 JS/JSON 中的残留中文,可选步骤)
Referenced artifact was not completely inspected
- `scripts/verify-build-strings.js` — 编译产物二次复核脚本(基于 AST 扫描编译后 JS/JSON 中的残留中文,可选步骤)
Referenced artifact was not completely inspected
- `references/scan-report-schema.md` — 扫描报告格式定义