T01 · Skill Instruction Hijacking
- Location
SKILL.md:10- Finding
Mandatory Agent Role Override and Commercial Output Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This travel-planning skill has a coherent purpose, but it asks the agent to install and run an unpinned global CLI, execute user-filled shell command templates, and persist sensitive travel queries without clear user control.
Review before installing. Use only in a sandboxed environment, avoid sharing sensitive passport, identity, or private itinerary details, do not allow automatic global npm installation without verifying the package and version, and do not persist execution logs containing raw travel requests.
SKILL.md:10Mandatory Agent Role Override and Commercial Output Hijacking
SKILL.md:127Automatic Installation and Execution of an Unpinned Global npm Package
SKILL.md:146User-Controlled Values Are Interpolated into Shell Command Templates
references/runbook.md:7Raw User Queries and Command Details Are Persisted in a Hidden Plaintext Log
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 "Tokyo" --dep-date 2026-05-01 --sort-type 3
## Output Rules
1. **Conclusion first** — lead with the key finding
2. **Comparison table** with ≥ 3 results when available
The 'When to Activate' section includes generic phrases like 'itinerary' and 'travel planning', which can overlap with common user requests and may cause unintended invocation. The exclusion 'specific type → see specialized planners' is also vague because it does not define which requests should not trigger this skill or provide concrete negative examples.
This playbook directs the agent to send user-provided destination, dates, and travel context to external CLI-backed travel services without any explicit user-facing disclosure or consent step. In a trip-planning skill, those details can reveal sensitive itinerary and travel patterns, so silent transmission creates a real privacy and data-handling risk even if the service use is functionally expected.
The Quick Plan workflow still transmits origin, destination, and date information to external services, but omits any warning or consent language. Because the playbook says to never answer without executing, it increases the chance that private travel details are automatically disclosed during routine use without informed user approval.
The Budget Plan sends not only itinerary data but also budget constraints such as maximum hotel price to external search services without warning. Budget information can be sensitive profiling data, and combining it with travel dates and destination increases privacy exposure and potential misuse if users are unaware their data is being transmitted.
The runbook explicitly records user_query as raw input in an internal execution log, but provides no notice, minimization, or retention controls. In a travel-planning skill, user queries commonly contain sensitive personal data such as destinations, dates, names, passport/visa details, budgets, or booking preferences, so storing them verbatim increases privacy and data exposure risk.
Taken together, the schema stores raw natural-language user input and then persists the full execution log to a local file, creating a clear data retention and leakage path. In this skill's travel context, free-text requests may include especially sensitive PII and travel metadata, making the combined design more dangerous than generic telemetry because it can expose identity, itinerary, and booking-related information in durable logs.
The runbook instructs appending execution logs to a local file without any user-facing disclosure or safeguards around access, encryption, or lifecycle management. Persistent local writes materially increase the chance that sensitive travel and booking data will remain on disk and be exposed to other processes, users, backups, or later compromise.
No suspicious patterns detected.