T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
Mandatory Commercial Output and Booking-Link Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This travel skill is mostly coherent, but it needs review because it can auto-install an unpinned global CLI and persist raw user travel queries in a hidden local log.
Install only if you are comfortable with a third-party travel CLI being installed globally and used for live travel searches and booking links. Before using it, pin and verify the CLI package version if possible, avoid entering highly sensitive personal or payment details, and disable or remove the hidden raw-query execution log behavior.
SKILL.md:8Mandatory Commercial Output and Booking-Link Injection
SKILL.md:127Unpinned Global Installation and Execution of Third-Party Packages
references/runbook.md:1Unsafe Persistence of Raw User Queries Through Shell-Interpolated Logging
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
flyai search-flight --origin "Beijing" --destination "Sanya" --dep-date 2026-03-01 --sort-type 3
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The README instructs users to run npx skills add ... without pinning a specific package or revision, which can cause execution of whatever content is currently served under that reference at install time. In a supply-chain attack or upstream compromise, users could fetch altered skill code or installer logic without noticing, and README-driven install commands are often copied verbatim.
The runbook explicitly records user_query as raw input in an internal execution log, which can capture personal data, travel details, contact information, passport/visa context, or payment-adjacent booking data. Because the skill handles travel booking and itinerary workflows, retaining raw queries without disclosure or minimization creates a meaningful privacy and data leakage risk if logs are exposed, mishandled, or reused.
Taken together, the schema stores raw user input and then persists execution records to a local file, creating a straightforward data retention and leakage path. In a travel skill context, user prompts may include names, trip dates, destinations, visa questions, booking preferences, and other sensitive itinerary details, so the combined design increases the chance of privacy harm from accidental disclosure or unauthorized access.
The runbook instructs the agent to append execution logs to a local file, creating persistent storage of operational and potentially sensitive user-derived data without any warning, consent, protection, or lifecycle controls. Local plaintext log files are commonly overexposed through shared environments, backups, debugging bundles, or weak file permissions, making this a practical confidentiality risk.
This is a markdown file, so SQP-2 applies to omitted warnings in the skill description. The README states that the skill wraps a CLI to provide real-time travel data with booking links, which implies network access and navigation to third-party services, but it gives no warning about data transmission, external requests, or leaving the agent context.
No suspicious patterns detected.