Back to skill

Security audit

HR 税费计算器

Security checks for vulnerabilities and agentic risk

Overview

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.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (8)

Undeclared Tool Scope

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.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

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.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · tests/test_calc.py (reported line 282)May include surrounding context.

python
def run_cli(*args):
    return subprocess.run([sys.executable, HR_CALC, *args],
                          capture_output=True, text=True)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

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.

Content

No source excerpt is available for this finding.