Back to skill

Security audit

机票购票助手

Security checks for vulnerabilities and agentic risk

Overview

This skill is a hotel-search aggregation scaffold with overstated capabilities, but I found no hidden execution, persistence, destructive behavior, or credential handling.

Install only if you are comfortable with an unfinished hotel aggregation scaffold. It appears non-malicious, but users should know that the advertised real API search, room details, and booking features are not actually implemented, and future completion should clearly disclose which travel search details are sent to each provider.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (6)

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

代码的主题与声明方向一致,都是酒店聚合领域,但声明明显高于实际实现程度。当前代码主要是一个未完成的聚合搜索骨架:有多源配置、并发调度、去重合并、最优价格排序、缓存和展示格式化等支持逻辑;然而最核心的各平台搜索函数全部返回空结果,没有真实访问分贝通、携程、美团、同程、华住会、锦江等数据源,因此‘整合多个酒店数据源’这一关键能力实际上未落地。此外,声明中的‘房型查询、预订服务’在代码中也没有对应对外接口或业务实现,仅有房型相关数据类定义,不能视为已具备该能力。因此描述不能准确代表代码实际行为,应判定为不匹配。

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill explicitly requires calling multiple external platform APIs to fetch hotel data, but it does not declare any tool scope such as allowed network access. Undeclared network capability weakens reviewability and permission boundaries, creating a risk that the skill performs external data access without transparent authorization or policy enforcement.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill describes cross-platform API querying and booking-related functionality but does not inform users that their travel search details may be transmitted to multiple external providers. Lack of notice and consent is risky because travel dates, destination, and possibly booking-related identifiers can be sensitive and may be propagated beyond the primary system.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger condition is broad enough that ordinary hotel-related user requests could invoke the skill unexpectedly. In a skill that may contact multiple third-party travel platforms, overbroad triggering can cause unnecessary external queries, unintended data sharing, and confusing or unauthorized workflow execution.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The natural-language comments state a strict execution constraint tied to this exact version and are written as mandatory instructions, while the file otherwise provides no user-facing option for language/locale choice or justification for restricting operation in this way. This can be interpreted as a language/locale or operational policy constraint imposed without opt-in.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
98% confidence
Finding

The formatter tells users they can reply with a sequence number to view room details or with '序号-比价' to compare prices across platforms, but this file contains no parser, handler, or API method implementing either interaction. This is an active mismatch between inline/user-facing documentation and the actual available functionality, which only supports aggregate search, cached hotel detail lookup by hotel_id, and text formatting.

Content

No source excerpt is available for this finding.