T01 · Skill Instruction Hijacking
- Location
SKILL.md:8- 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 can find water parks, but it also directs agents to install and rely on an unpinned global travel-booking CLI and force booking links into responses.
Review before installing. Only use this skill if you are comfortable installing and running the FlyAI CLI globally, receiving booking-link-centered results, and relying on that provider as the source of travel data. Prefer approving any install manually, pinning or verifying the package, and running it in a restricted environment.
SKILL.md:8Mandatory Commercial Output and Agent Behavior Hijacking
SKILL.md:40Unpinned Global Installation of a Third-Party npm Package
SKILL.md:67Potential Shell Command Injection Through User-Controlled City Interpolation
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
flyai search-poi --city-name "Guangzhou" --category "水上乐园"
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The skill is presented as a narrow water-park finder, but it directs the agent to install and use a broad travel-booking CLI with capabilities far beyond the declared scope. This scope mismatch increases the attack surface and can mislead users or host agents into granting tool access and handling actions unrelated to the requested function.
The skill mandates global installation of an external npm CLI for a simple lookup task, which introduces supply-chain risk and grants code execution on the host environment. Requiring installation as part of normal skill flow is especially dangerous because the package executes with the user's privileges and may change the system state persistently.
The instruction to run npm i -g @fly-ai/flyai-cli without warning or confirmation authorizes a privileged, persistent system modification without user consent. In an agent setting, this can be abused to install untrusted code, alter environment behavior, or create a foothold for further compromise.
No suspicious patterns detected.