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 is a local Chinese HR tax calculator skill with disclosed Python scripts and no evidence of hidden access, persistence, network use, or data exfiltration.
Install only if you need a China-oriented HR tax calculator and are comfortable entering salary or compensation figures locally. Treat results as estimates, since tax rules and local social insurance inputs may change and the skill does not fetch current city-specific data.
Without declared permissions the skill's intent is opaque and cannot be validated.
The manifest description and the main skill documentation are entirely written in Chinese and present the skill as operating in that language, with no indication that users may interact in other languages or choose a locale. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def run_cli(*args):
return subprocess.run([sys.executable, HR_CALC, *args],
capture_output=True, text=True)
The file title and all instructional content are written exclusively in Chinese, and there is no natural-language indication that users may choose another language or that the content is intentionally limited to a Chinese-speaking audience. Under the stated policy, forcing a specific language without opt-in is a locale/language policy issue.
The file’s natural-language docstrings and user-facing strings are entirely in Chinese, and there is no indication that language selection is optional or that the skill is explicitly limited to a Chinese-only regional/compliance context. Under the policy rule, hard-coding a single language without user opt-in can be a locale-policy issue.
The function docstring is written entirely in Chinese, which imposes a specific language choice in user-facing or developer-facing natural language without offering an alternative or documenting a justified locale constraint. This matches the policy category for language or locale policy violations.
This code embeds Chinese-only natural-language descriptions and user-facing error messages in the docstring and exceptions. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified.
This test suite asserts that CLI error output must contain the Chinese phrase "参数错误", which enforces a specific language for user-facing responses. The policy allows locale constraints only when users are given a choice or when the constraint is clearly documented and justified; neither is evident in this file.