T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
Forced 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-booking helper, but it tells agents to install an unpinned global npm CLI automatically and persist raw user travel queries in a hidden local log.
Review carefully before installing. This skill may contact third-party travel services, produce booking links, install a global npm package, and store raw travel requests locally. Prefer manual, pinned, reviewed installation of the CLI and disable or remove the execution log before using it with personal travel details.
SKILL.md:8Forced Commercial Output and Agent Behavior Hijacking
SKILL.md:122Automatic Installation of an Unpinned Global npm Dependency
references/runbook.md:7Raw User Query Persistence and Shell Injection Risk in Execution Logging
This workflow explicitly mandates automatic installation of @fly-ai/flyai-cli whenever the command is missing, without warning or approval. That is more dangerous than a passive prerequisite because it turns missing tooling into an autonomous package installation action, creating clear supply-chain and host-modification risk in environments where agents can execute commands.
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 "Bali" --dep-date 2026-06-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 version, which can cause execution of whatever package version is current at install time. If the upstream package, dependency chain, or registry resolution is compromised, users could run unreviewed code during installation.
The skill frames itself as a mandatory CLI executor and directs installation of a global npm package without any warning, consent, or least-privilege guidance. In an agent context, this can cause unreviewed system modification and supply-chain exposure if the package is malicious, compromised, or unexpectedly executes install-time scripts.
The prerequisites section presents a global install command as a routine setup step but omits a user-facing warning that it modifies the host environment. This increases the chance an agent or user will perform a privileged, persistent change without understanding the security implications.
The runbook explicitly logs user_query as raw input in an internal execution record, which can capture sensitive personal, financial, passport, visa, or travel details. In a travel-booking skill, users are especially likely to provide high-sensitivity data, so retaining raw queries without clear minimization, consent, or retention controls creates a real privacy and data-exposure risk.
The runbook instructs appending execution logs to a local file, but does not define encryption, file permissions, retention limits, or restrictions on what data may be written. Because the same runbook also includes raw user input and command history, local persistence increases the chance of unintended disclosure through shared environments, backups, debugging artifacts, or later compromise.
This markdown file says the skill 'wraps the flyai-cli to provide real-time travel data with booking links,' which implies outbound network access and interaction with third-party services. The description does not include any user-facing warning about contacting external services or sharing travel query data, which is relevant for privacy and system-awareness.
No suspicious patterns detected.