Back to skill

Security audit

huangli-almanac

Security checks for vulnerabilities and agentic risk

Overview

This skill appears to be a straightforward Chinese almanac lookup tool that sends date values to a disclosed third-party API and does not show hidden, persistent, destructive, or credential-seeking behavior.

Before installing, understand that date lookups are sent to tiax.cn and responses are in Chinese. Avoid using it if you need offline-only operation or do not want query timing and requested dates shared with that service.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · almanac.sh (reported line 55)May include surrounding context.

sh
echo "📅 查询黄历:${YEAR}-${MONTH}-${DAY}"
echo ""

RESPONSE=$(curl -s "${API_BASE}?year=${YEAR}&month=${MONTH}&day=${DAY}")

# 检查响应
if [ -z "$RESPONSE" ]; then

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · almanac.sh (reported line 55)May include surrounding context.

sh
echo "📅 查询黄历:${YEAR}-${MONTH}-${DAY}"
echo ""

RESPONSE=$(curl -s "${API_BASE}?year=${YEAR}&month=${MONTH}&day=${DAY}")

# 检查响应
if [ -z "$RESPONSE" ]; then

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill uses shell and network capabilities via curl and jq but does not declare any tool scope or permission boundary. This can lead to over-broad execution in hosts that rely on manifest-declared permissions, reducing user visibility into what tools the skill may invoke and increasing the chance of unintended external requests.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The natural-language content of the skill, including description, usage, examples, and notes, is entirely Chinese and does not indicate that the user can choose another language. This can violate language/locale policy when a skill effectively forces one language without explicit opt-in or documented regional justification.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill sends user-supplied date queries to a third-party API but does not clearly present this as a privacy-relevant data transfer at the point of use. Even if the data seems low sensitivity, user queries and usage patterns are disclosed to an external service without clear warning or consent, which can violate privacy expectations and policy requirements.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · almanac.sh (reported line 8)May include surrounding context.

sh
set -e

# 默认 API 地址
API_BASE="https://api.tiax.cn/almanac/"

# 解析参数
YEAR=""

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · test_almanac.py (reported line 12)May include surrounding context.

python
set -e

# 默认 API 地址
API_BASE="https://api.tiax.cn/almanac/"

# 解析参数
YEAR=""

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest description is entirely in Chinese and describes the skill as a Chinese almanac query tool, which implies a language-specific experience without indicating that users can choose another language. This can violate locale/language policy when no opt-in or alternative is documented.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file’s docstrings, comments, and all user-facing print output are exclusively in Chinese, with no indication that the skill is intentionally limited to Chinese-speaking users or that another language can be selected. This can violate a language/locale policy when skills are expected to avoid forcing a specific language without user opt-in.

Content

No source excerpt is available for this finding.