T01 · Skill Instruction Hijacking
- Location
SKILL.md:9- Finding
Mandatory Third-Party Promotional Content and Booking-Link Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent hotel-search helper, but it asks agents to install an unpinned global CLI and silently persist raw travel queries, which users should review before installing.
Install only if you trust the flyai CLI publisher and are comfortable with the agent using real-time third-party booking data. Prefer manual, reviewed installation in an isolated environment, and disable or avoid the execution log unless raw-query retention is clearly disclosed and controlled.
SKILL.md:9Mandatory Third-Party Promotional Content and Booking-Link Injection
SKILL.md:38Unpinned Global Installation of an External npm Package
references/runbook.md:29Undisclosed Persistence of Raw Queries and Unsafe Shell-Based Log Writing
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
flyai search-hotel --dest-name "Beijing" --key-words "免费取消" --sort rate_desc --check-in-date 2026-05-01 --check-out-date 2026-05-02
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The playbook hard-codes the query term "免费取消" in command examples, which imposes a specific language/locale behavior regardless of the user's language preference. The file does not state that this is region-specific or give users an opt-in choice for language, so it is a natural-language policy concern.
The runbook explicitly logs the raw user query (user_query: "{raw input}") and persists execution logs to a local file, but the document provides no notice, minimization, redaction, retention, or access-control guidance. In a travel-booking skill, raw queries can contain personal and trip-sensitive data such as names, destinations, dates, booking preferences, or even passport/visa details, so unnecessary retention increases privacy and compliance risk if logs are exposed or reused.
The fallback instructs users to run npm i -g @fly-ai/flyai-cli, which modifies the global system environment and executes code from a package registry without any warning, isolation guidance, or trust verification. In an agent skill context, this can lead to unnecessary privilege use, environment drift, or supply-chain exposure if the package is compromised or the instruction is followed automatically.