Back to skill

Security audit

OpenWeatherMap Weather

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward OpenWeatherMap helper that shares weather lookup locations and an API key with OpenWeatherMap as part of its stated purpose.

Before installing, understand that weather lookups will send the queried city or coordinates and your OpenWeatherMap API key to OpenWeatherMap. Prefer the environment variable for the API key, avoid entering precise coordinates unless needed, and do not paste real keys into shared logs or prompts.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (9)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill description is broadly worded to activate on virtually any weather-related query for any location, which can cause over-invocation and unnecessary routing of user requests to this skill. In context, that increases the chance that user-provided location data and associated API-backed requests are sent to an external service without sufficiently specific user intent or clear disclosure.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill documentation does not warn users that their city name, coordinates, and API credential will be transmitted to OpenWeatherMap. This is a genuine transparency and privacy issue because the skill’s core behavior is to send user-supplied location data to a third-party service.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
96% confidence
Finding

This endpoint performs an external network transmission of user-provided location data together with the API key to a third-party service. In a weather skill this is expected functionality, but it still creates a real privacy and secret-handling risk if users are not informed and if requests are not minimized or protected.

Content

Scanner excerpt · SKILL.md (reported line 29)May include surrounding context.

By City Name

text
GET https://api.openweathermap.org/data/2.5/weather?q={city},{country_code}&appid={API_KEY}&units={units}

By Coordinates

External Transmission

Medium
Category
Data Exfiltration
Confidence
96% confidence
Finding

This coordinates-based endpoint sends precise latitude and longitude to an external provider along with the API key. Because coordinates can be highly sensitive compared to city-level queries, this transmission has elevated privacy significance even though it is functionally necessary for the skill.

Content

Scanner excerpt · SKILL.md (reported line 34)May include surrounding context.

By Coordinates

text
GET https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={API_KEY}&units={units}

Parameters

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 60)May include surrounding context.

London (Metric - Celsius)

bash
curl "https://api.openweathermap.org/data/2.5/weather?q=London,UK&appid=YOUR_API_KEY&units=metric"

Stamford CT (Imperial - Fahrenheit)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 65)May include surrounding context.

London (Metric - Celsius)

bash
curl "https://api.openweathermap.org/data/2.5/weather?q=London,UK&appid=YOUR_API_KEY&units=metric"

Stamford CT (Imperial - Fahrenheit)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 70)May include surrounding context.

London (Metric - Celsius)

bash
curl "https://api.openweathermap.org/data/2.5/weather?q=London,UK&appid=YOUR_API_KEY&units=metric"

Stamford CT (Imperial - Fahrenheit)

External Transmission

Medium
Category
Data Exfiltration
Confidence
94% confidence
Finding

The forecast endpoint also transmits user-provided location queries and the API key to a third-party service. This is expected for a weather integration, but it remains a real data-sharing boundary that should be disclosed and handled carefully, especially if invocation happens broadly.

Content

Scanner excerpt · SKILL.md (reported line 110)May include surrounding context.

Forecast API (5 Day / 3 Hour)

text
GET https://api.openweathermap.org/data/2.5/forecast?q={city}&appid={API_KEY}&units=imperial

Returns forecast data in 3-hour intervals for 5 days.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instruction 'Convert Unix timestamps to 24-hour format' forces a specific time-format locale convention for all users. This is a natural-language locale policy issue because it does not offer user preference or explain a region-specific justification.

Content

No source excerpt is available for this finding.