Back to skill

Security audit

CoinGecko Price

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward cryptocurrency price lookup tool that uses the disclosed CoinGecko API and does not show hidden, destructive, persistent, or credential-seeking behavior.

Before installing, expect this skill to contact CoinGecko over the network whenever you ask for crypto prices or searches. It does not appear to access local private data, but its command-line output is partly Chinese and admins may want to restrict network access to api.coingecko.com if their environment supports that.

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 (4)

Lp3

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding
The skill documentation exposes a network-dependent capability but does not declare any explicit tool scope or permission boundary. In an agent environment, missing scope metadata can cause the skill to be invoked with broader-than-intended network access or without clear user/admin review of its external connectivity.

Natural-Language Policy Violations

Medium
Confidence
91% confidence
Finding
The markdown shows user-facing output in Chinese ("价格", "24h 涨跌") and later references a Chinese-only error message ("API 请求过于频繁") without stating that the skill supports multiple languages or letting the user opt in. This can violate a language/locale policy when the skill is otherwise described in English and does not document the locale constraint as intentional.

Natural-Language Policy Violations

Medium
Confidence
94% confidence
Finding
The module description and all user-facing CLI output are written in Chinese, which imposes a specific language/locale on users without any opt-in or alternative. The policy allows locale constraints only when clearly documented and justified, which is not present here.

External Transmission

Medium
Category
Data Exfiltration
Content
import urllib.error
from urllib.parse import quote

API_BASE = "https://api.coingecko.com/api/v3"

def fetch_json(url, timeout=10):
    """获取 JSON 数据"""
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.