Back to skill

Security audit

Weather Daily

Security checks for vulnerabilities and agentic risk

Overview

The skill mostly does what it says, but its implementation still exposes the weather API key in curl arguments and query handling despite documentation claiming that issue was fixed.

Install only if you are comfortable giving the skill an OpenWeather API key and allowing it to write to your Obsidian daily-note directory. Rotate the key if it may have appeared in process or URL logs, and prefer a patched version whose implementation matches its SECURITY.md credential-handling claims.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/weather_daily.sh:18
Finding

OpenWeatherMap API Key Exposed Through Process Arguments and URL Query Parameters

Content
View full analysis
`. 3. While `curl` is running, a local process-monitoring or diagnostic component capable of inspecting the process captures its arguments. 4. Alternatively, a proxy, monitoring system, or server component records the complete request URL containing the query parameter. 5. An attacker who obtains the recorded value reuses the OpenWeatherMap API key for ...[truncated 592 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
PUBLISHING.md:17
Finding

Unpinned Global Installation of a Mutable npm Package

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
82% confidence
Finding

The skill describes shell-capable behavior via curl and file writes, but it does not declare any explicit tool scope such as allowed-tools or permissions. That creates a policy gap: an agent runtime may permit broader shell access than intended, increasing the chance of command execution or file access beyond the narrow weather-fetching use case.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 59)May include surrounding context.

md
mkdir -p "$OUTPUT_DIR"

RESPONSE="$(curl -s -G "https://api.openweathermap.org/data/2.5/weather" \
  --data-urlencode "q=${LOCATION}" \
  --data-urlencode "appid=${OPENWEATHER_API_KEY}" \
  --data-urlencode "units=metric")"

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% 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 · scripts/weather_daily.sh (reported line 20)May include surrounding context.

sh
mkdir -p "$OUTPUT_DIR"

RESPONSE="$(curl -s -G "https://api.openweathermap.org/data/2.5/weather" \
  --data-urlencode "q=${LOCATION}" \
  --data-urlencode "appid=${OPENWEATHER_API_KEY}" \
  --data-urlencode "units=metric")"

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 13)May include surrounding context.

text
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

This shell script sends the user-provided location and an API credential to the OpenWeather service via curl. Although the code comments document the behavior for maintainers, there is no user-facing prompt or runtime notice that network transmission will occur.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
scripts/weather_daily.sh:11