T09 · Insecure Skill Coding Practices
- Location
SKILL.md:19- Finding
Automatic IP Disclosure and Insecure Geolocation Fallback
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This travel-planning skill is mostly coherent, but it automatically checks location through external services and saves/opens personalized trip pages without clear user consent.
Review this skill before installing if you care about location privacy or local file side effects. It should ask before using IP-based location, before including personal details such as vehicle plates or companions, and before saving or opening an HTML itinerary in your browser.
SKILL.md:19Automatic IP Disclosure and Insecure Geolocation Fallback
references/demo-template.html:8Generated HTML Automatically Loads Untrusted Remote Resources
The trigger conditions are overly broad and include common emotional or everyday phrases, making accidental invocation likely. In this skill, broad triggering is more dangerous because activation can lead to privacy-affecting behaviors such as location lookup and personal data collection without a clear travel-specific request.
The document requires automatic public-IP geolocation but does not require a user-visible notice or warning before performing the privacy-sensitive network action. Lack of transparency prevents informed consent and increases the risk of silent data disclosure to third-party geolocation providers.
The skill instructs writing a file to the user's Desktop and automatically opening it in a browser, which introduces filesystem and execution-side effects beyond normal conversational assistance. This can surprise users, create persistence of sensitive itinerary data on disk, and trigger browser rendering of generated HTML without an explicit approval step.
The skill instructs automatic IP-based geolocation via third-party public APIs at conversation start, before obtaining explicit user consent. This collects and discloses location-derived personal data to external services for convenience rather than necessity, creating avoidable privacy risk and downstream data exposure.
The skill automatically collects and uses the user's location from IP data without first obtaining explicit consent. Because the skill is framed as conversational travel inspiration rather than a location-critical system function, this data collection is disproportionate and heightens privacy risk.
The skill directs collection and embedding of identity and companion details such as nickname, avatar, vehicle information, pet names, and companion data into output that does not require this breadth of personal information. This increases unnecessary data collection and may expose sensitive personal context in generated artifacts that could be shared or stored.
The instructions encourage gathering and embedding personalized details into generated output, which broadens data handling beyond what is needed to recommend destinations. In context, these details may be stored in exported files or shared screenshots, creating avoidable privacy and profiling exposure.
The skill specifies saving an HTML file and automatically opening it in a browser without a user-visible prompt. This removes user control over filesystem changes and application launching, and may expose generated personal travel content on screen or disk unexpectedly.
The HTML document declares lang="zh-CN", and all visible content is written in Chinese, which imposes a specific language/locale on users. There is no indication that the user can opt into another language or that the file is intentionally limited to a China-specific compliance or regional use case.
The demo template embeds unnecessary personal-style data such as a named individual, relationship status, and a vehicle plate number, none of which are required to demonstrate a travel-planning skill. Even if synthetic, this normalizes inclusion of sensitive or tracking-like identifiers in generated artifacts and could lead developers to substitute real user data into public-facing HTML outputs.