Back to skill

Security audit

全能旅行助手

Security checks for vulnerabilities and agentic risk

Overview

This is a travel-search skill that openly uses external travel and map proxy services, with no evidence of hidden persistence, destructive behavior, or unrelated data access.

Install this only if you are comfortable using a Chinese-language travel assistant whose searches are sent through cloud proxy services to travel and map providers. Avoid entering sensitive personal details, account credentials, payment data, or exact private addresses unless necessary, and verify prices and booking links on the provider page before purchasing.

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
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
  • 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)

Tainted flow: 'req' from os.environ.get (line 94, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/smart_travel.py (reported line 43)May include surrounding context.

python
data = json.dumps(body, ensure_ascii=False).encode("utf-8")
    req = urllib.request.Request(url, data=data, headers=headers, method="POST")
    try:
        with urllib.request.urlopen(req, timeout=30) as resp:
            return json.loads(resp.read().decode("utf-8"))
    except Exception as e:
        return {"error": str(e)}

Tainted flow: 'req' from os.environ.get (line 94, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/smart_travel.py (reported line 57)May include surrounding context.

python
method="POST",
    )
    try:
        with urllib.request.urlopen(req, timeout=GAODE_TIMEOUT) as r:
            data = json.loads(r.read().decode("utf-8"))
            if isinstance(data, dict) and data.get("code") == 0 and "data" in data:
                return data["data"]

Tainted flow: 'req' from os.environ.get (line 94, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/smart_travel.py (reported line 80)May include surrounding context.

python
method="POST",
    )
    try:
        with urllib.request.urlopen(req, timeout=TC_TIMEOUT) as r:
            return json.loads(r.read().decode("utf-8"))
    except urllib.error.HTTPError as e:
        err = ""

Tainted flow: 'req' from os.environ.get (line 94, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · scripts/smart_travel.py (reported line 100)May include surrounding context.

python
method="POST",
    )
    try:
        with urllib.request.urlopen(req, timeout=TN_TIMEOUT) as r:
            return json.loads(r.read().decode("utf-8"))
    except urllib.error.HTTPError as e:
        err = ""

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill exposes networked functionality and references environment-backed configuration (for example, proxy URL and token) but does not declare an explicit tool scope such as permissions or allowed-tools. This weakens least-privilege controls and makes it harder for the platform or reviewer to constrain what the skill may access, especially since it brokers user travel queries through external proxy services.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill name, descriptions, examples, and usage guidance are entirely in Chinese, and the sample invocations assume Chinese input. There is no indication that users may interact in other languages or opt into this locale, which can violate a language/locale choice policy.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

All user-facing strings, prompts, and descriptions in this skill are presented only in Chinese, with no indication that users can choose another language. This creates a language/locale policy issue because the skill effectively forces a specific language without opt-in or documented regional scope.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill sends user-supplied travel queries and location-related inputs to multiple third-party proxy services, but this file shows no user-facing notice, consent, or minimization. That creates a privacy and data-governance risk because sensitive itinerary, location, and booking-interest data may be transmitted off-platform without clear disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The script reads the PROXY_TOKEN environment variable to authenticate outbound requests, but there is no user-facing notice that the skill relies on external credentials or authenticated proxy access. While credential use may be operationally necessary, the file provides no visible disclosure about this sensitive integration.

Content

No source excerpt is available for this finding.