T01 · Skill Instruction Hijacking
- Location
SKILL.md:9- Finding
Mandatory Commercial Output and Response-Behavior Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This flight-search skill is mostly purpose-aligned, but it tells agents to globally install and run an unpinned third-party CLI automatically and to execute user-derived shell commands without clear safeguards.
Review before installing. Use this only if you are comfortable with FlyAI/Fliggy receiving travel search details and with installing their CLI. Prefer manual, pinned, least-privilege installation, and do not let an agent pass untrusted free-form text into these shell command templates without validation.
SKILL.md:9Mandatory Commercial Output and Response-Behavior Hijacking
SKILL.md:74Unpinned Global Installation of a Third-Party npm Package
SKILL.md:93Shell Command Injection Risk from Unvalidated User-Controlled Parameters
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
flyai search-flight --origin "Shanghai" --destination "Xiamen" --dep-date-start 2026-07-01 --dep-date-end 2026-07-15 --seat-class-name economy --sort-type 3
## Output Rules
1. **Conclusion first** — lead with cheapest student-eligible fare
2. **Student tips** — remind about student verification and flexible rebooking
The manifest markets a broad set of capabilities including hotels, trains, attractions, visas, insurance, and car rentals, but the body of the skill only defines flight-search CLI behavior. This mismatch can cause an agent or user to rely on unsupported workflows, increasing the chance of incorrect tool use, misleading outputs, or unsafe fallback behavior outside the documented scope.
The skill mandates automatic global installation of @fly-ai/flyai-cli via npm i -g without user consent, warning, or trust verification. Installing and executing software changes the host environment and can expose the system to supply-chain, privilege, and persistence risks, especially in an agentic CLI context.
The skill says undocumented CLI flags must never be invented, yet later maps 'round-trip student' to --back-date, which is not listed in the Parameters table. This inconsistency can drive agents to execute unsupported commands, fail unpredictably, or guess tool behavior in ways that undermine safe, deterministic operation.
The fallback workflow broadens queries with keyword-search and booking lookups using user travel data, but does not warn that origin, destination, and travel intent may be transmitted to external services. While common for travel tools, the lack of disclosure reduces informed consent and can leak potentially sensitive itinerary information.
No suspicious patterns detected.