T01 · Skill Instruction Hijacking
- Location
SKILL.md:9- Finding
Mandatory Commercial Output and Agent Behavior Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent travel-planning wrapper, but it mandates unpinned global CLI installation and hidden persistent logging of raw travel queries.
Review this before installing. Use it only if you are comfortable with FlyAI/Fliggy being the required data source, with booking links in outputs, and with installing an unpinned global npm CLI. Do not allow persistent logging of raw travel queries unless you understand where the log is stored and how to delete it; prefer a pinned, local, reviewed CLI install and disable raw-query logging.
SKILL.md:9Mandatory Commercial Output and Agent Behavior Hijacking
references/runbook.md:1Undisclosed Persistent Logging of Raw User Queries and Command History
references/runbook.md:36Shell Command Injection Through Unsafe Execution-Log Serialization
SKILL.md:31Automatic Installation and Execution of Unpinned Third-Party Packages
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 "Urumqi" --dep-date 2026-09-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 tool version. This can cause users to execute whatever version is current at install time, increasing supply-chain risk if the package or its dependencies are compromised or changed unexpectedly.
The trigger phrase "Xinjiang trip" is broad and can match ordinary user travel queries without a clear requirement that the user explicitly invoke this playbook. In a system that auto-selects skills or workflows from trigger text, this can cause unintended activation and execution of booking/planning actions, producing incorrect tool use or over-collection of trip parameters.
The runbook explicitly logs user_query as raw input in an internal execution record, which can capture sensitive personal, financial, or travel-related data without minimization or notice. Because the same document also defines optional persistence to a local log file, the data can be retained longer than necessary and exposed through later access, debugging, or misconfigured storage.
The runbook instructs the agent to record detailed execution logs including raw natural-language input, commands, fallback actions, and output metadata, then append them to .flyai-execution-log.json when writes are available. In a travel skill context, queries may contain names, itineraries, visa questions, booking details, or other sensitive data, so persistent logging materially increases privacy and secondary exposure risk.
The phrase "Silk Road trip" is ambiguous because it could refer to general informational travel discussion rather than a request to activate this specific playbook. That ambiguity increases the chance of the agent selecting this workflow when the user intended a broader or different itinerary, leading to unintended downstream actions.
The trigger "Kanas autumn" lacks explicit activation rules and may be matched from casual conversation about seasonal travel rather than a directive to run this playbook. In an agentic environment, loose triggers can cause unintended workflow selection and reduce user control over travel-planning or booking steps.
No suspicious patterns detected.