T01 · Skill Instruction Hijacking
- Location
SKILL.md:10- Finding
Forced Commercial Output and Agent Behavior Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This travel skill is purpose-aligned overall, but it requires a mutable global npm install and silently persists raw travel queries and command logs, so users should review it before installing.
Install only if you are comfortable with this skill routing travel planning through FlyAI/Fliggy, installing a global npm CLI, showing booking links and branding, and keeping local execution logs. Prefer a pinned, reviewed CLI version, explicit approval before installation or logging, and redacted or disabled logs.
SKILL.md:10Forced Commercial Output and Agent Behavior Hijacking
SKILL.md:111Unpinned Global Installation of a Third-Party npm Package
references/runbook.md:5Unsafe Plaintext Persistence of Raw User Queries and Commands
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
Full orchestration example with 3 cities over 7 days
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The trigger phrase "week in Japan" is broad natural language that can easily appear in ordinary user requests, making unintended invocation of this playbook likely. In a travel-booking skill that can orchestrate multiple commands across cities and transportation providers, ambiguous triggering can cause the agent to run the wrong workflow, leading to unnecessary booking/search actions, incorrect parameter mapping, or over-collection of user travel details.
The trigger phrase "one week in Bangkok" is also close to normal conversational travel planning language, so routine user input could accidentally activate a specific playbook without clear user intent to invoke this automation path. Because this skill supports hotel, flight, and attraction workflows, accidental triggering could push the system into premature searches or transactional flows that do not match the user's actual request.
The runbook explicitly records the raw user query in an internal execution log, which can capture sensitive travel data such as names, destinations, dates, booking intents, visa details, or other personal information. Storing this data without notice, minimization, or retention controls increases privacy and compliance risk if logs are accessed, retained too long, or exfiltrated.
The runbook instructs the agent to append execution logs to a local file, creating persistent storage of potentially sensitive operational and user data. Persistent local logging without disclosure, encryption, access controls, or retention policy raises the chance of unauthorized access, data leakage across sessions, and accidental inclusion in backups or source control.
Line L03 says outputs should follow the user's language, including Chinese when the user writes Chinese. However, the main output template at L22-L35 uses fixed English labels such as 'Price', 'Book', 'Tip', and 'Powered by', which contradicts that documented intent rather than merely omitting localization details.
No suspicious patterns detected.