Back to skill

Security audit

cn-holidays

Security checks for vulnerabilities and agentic risk

Overview

This skill coherently provides a Chinese public-holiday lookup tool using a disclosed public API and common local dependencies.

Before installing, confirm you are comfortable with the skill installing or relying on curl and python3 and with holiday lookups being sent to the Nager.Date public API. The output is Chinese-focused and the data does not include Chinese make-up workday or adjusted leave schedules, so verify official holiday notices for operational decisions.

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

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill advertises shell-based behavior via cn-holidays.sh and install steps for curl and python3, but it does not declare an explicit tool scope such as permissions or allowed-tools. In an agent environment, missing tool restrictions can cause the runtime to grant broader shell capability than intended, increasing the attack surface if the skill is modified or invoked in an unexpected context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

All user-facing comments and usage text are presented only in Chinese, which can amount to forcing a specific language without user opt-in. The file does not indicate that the language constraint is optional or justified as a region-specific tool with an explicit documented locale policy.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The script makes outbound requests to a third-party public API but does not clearly disclose this in its help text or runtime output. This can surprise users, leak usage metadata such as IP address and query timing to the external service, and create compliance/privacy issues in restricted environments even though the requested data is low sensitivity.

Content

No source excerpt is available for this finding.