Back to skill

Security audit

Tkinter 中英国际化

Security checks for vulnerabilities and agentic risk

Overview

The verdict is benign because the reported actions appear consistent with a Tkinter language-switching skill, though the scanners found that language switching does not translate the interface as promised and the scan was partial.

The verdict is benign, but the promised Chinese interface may not work, and changing languages may restart the app without protecting unsaved work. Skillspector's analysis was partial: two referenced paths were unresolved and a PNG was outside its static-analysis scope. Consider these limitations and the undeclared tool scope before installing.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The language-detection, configuration-file access, and process-restart behavior all match the declared approach. The material mismatch is that the central translation function always returns _EN.get(key, key). For the supplied interface strings, this produces English in both language modes, preventing the promised Chinese/English switching. No unrelated capabilities or resource access are evident.

Content

No source excerpt is available for this finding.

os.system() or os exec-family call

High
Category
Dangerous Code Execution
Confidence
85% confidence
Finding

os.system() and os exec-family calls run shell commands with the process's full privileges, enabling arbitrary command execution.

Content

Scanner excerpt · references/i18n_template.py (reported line 96)May include surrounding context.

python
if code and code != _current_lang:
            _save_lang(code)
            self.destroy()
            os.execv(sys.executable, [sys.executable] + sys.argv)


if __name__ == "__main__":

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: 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.

The restart-on-language-change workflow lacks a warning or safeguard for unsaved application state.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The skill instructs the agent to replace the running application process with os.execv whenever the user changes languages. Although the restart itself is disclosed, the instructions do not warn that unsaved edits and other in-memory state can be lost or require checking for pending work before restarting.

Content

No source excerpt is available for this finding.

The translation function always uses English translations, ignoring the detected or selected language.

Medium
Category
Excessive Agency
Confidence
100% confidence
Finding

The manifest promises Chinese/English internationalization driven by system-language detection and a persisted manual selection. However, t() unconditionally looks up every key in _EN without checking _current_lang, so selecting Chinese and restarting still produces English for all translated labels.

Content

No source excerpt is available for this finding.