T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
Skill instructions override agent behavior and force external booking links
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This travel skill is mostly purpose-aligned, but it automatically installs and runs an unpinned global CLI and can secretly persist raw travel requests to disk.
Review carefully before installing. Use only if you are comfortable with a third-party travel CLI being installed globally and used for all results, and disable or remove the execution-log runbook behavior before handling personal travel details, children's information, budgets, or dates.
SKILL.md:8Skill instructions override agent behavior and force external booking links
SKILL.md:37Automatic global installation and execution of an unpinned npm package
references/runbook.md:3Raw user-query logging through shell interpolation enables command injection and data exposure
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
flyai search-hotel --dest-name "Shanghai" --hotel-bed-types "多床房" --sort rate_desc --check-in-date 2026-07-01 --check-out-date 2026-07-03
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The manifest-level description focuses narrowly on hotel discovery for families, while the documentation says the skill wraps flyai-cli to provide broader real-time travel data and booking links. That indicates behavior beyond a simple hotel-finding skill, creating a semantic mismatch between the claimed purpose and the documented capabilities.
The README instructs users to run npx skills add ... without pinning an exact package/version, which can cause execution of whatever package version is current at install time. In a supply-chain compromise or malicious package update scenario, users could execute attacker-controlled code during installation.
The runbook explicitly defines an internal execution log that captures the raw user query and notes that it is not shown to users. In a travel-booking skill, user queries can naturally contain personal, financial, or itinerary details, so storing raw input without notice or minimization creates a real privacy and data-retention risk even if the log is intended for operations rather than abuse.
The file instructs the agent to append execution logs containing raw user input and command history to a local .flyai-execution-log.json file. Persisting natural-language travel requests to disk increases exposure through local compromise, accidental inclusion in artifacts, backups, or shared workspaces, and the family-travel context makes leakage more sensitive because requests may include children's details, destinations, dates, and other personal travel information.
No suspicious patterns detected.