Undeclared Tool Scope
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
Without declared permissions the skill's intent is opaque and cannot be validated.
- Content
Security audit
Security checks for vulnerabilities and agentic risk
This skill appears to be a small vocational-education helper with only local language-support code and no evidence of hidden access, persistence, or data movement.
Review the language behavior if you need English by default, and note that the package would be clearer with declared tool permissions; otherwise the inspected files show no hidden or high-impact security behavior.
Without declared permissions the skill's intent is opaque and cannot be validated.
Dynamic import() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.
return json.load(f)
return {}
except Exception as e:
print(f"Error loading i18n.json: {e}", file=__import__('sys').stderr)
return {}
def _detect_language(self):
This code enforces a default of 'zh' whenever HERMES_LANG or LANG do not clearly indicate 'zh' or 'en'. That creates a language/locale policy issue because the skill forces a specific language choice instead of offering a neutral fallback or requiring user opt-in.