T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- Finding
Agent Behavior and Commercial Output Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a travel-search helper, but it requires automatic global installation of an unpinned npm CLI before answering, which is a material environment-change risk.
Review before installing. This skill should only be used if you are comfortable with an agent installing and running a global npm package from @fly-ai. Prefer installing a reviewed, pinned version manually in an isolated environment, and treat returned booking links as third-party commercial links rather than neutral travel advice.
SKILL.md:8Agent Behavior and Commercial Output Hijacking
SKILL.md:40Mandatory Installation and Execution of an Unpinned Global npm Package
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 "Sanya" --dep-date 2026-05-02 --back-date 2026-05-04 --sort-type 3
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The skill explicitly instructs the agent to install a global npm package as a prerequisite, which modifies the host environment without requiring an explicit user confirmation or warning. In an agent/CLI context, automatic package installation creates supply-chain and system-integrity risk because a package install executes code and can persist tooling globally on the machine.
The workflow mandates attempting npm i -g @fly-ai/flyai-cli automatically when the command is missing, then continuing execution. This is dangerous because it turns a read/query task into an environment-changing action with no consent gate, exposing the system to unintended package execution, persistence, and possible compromise via dependency or registry abuse.
No suspicious patterns detected.