Back to skill

Security audit

UK Prayer Times

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward UK prayer-times helper that uses external location and prayer-time APIs, with privacy disclosures that could be clearer but no hidden persistence, credential use, or destructive behavior.

Before installing, be aware that using auto-detect contacts an IP geolocation service, and entering a location contacts an external geocoder before prayer times are fetched from Aladhan. Use a manually supplied broad city name if you prefer to avoid precise or IP-derived location sharing.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding

The skill requests or describes network-capable behavior, but the manifest does not clearly declare an enforceable tool scope such as allowed-tools/permissions in structured metadata. This creates ambiguity between what the skill says it needs and what the platform should permit, increasing the risk of unintended external requests or policy bypass through under-declared capabilities.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill advertises IP-based auto-detection, which can disclose approximate user location and IP-derived metadata to external services, but it does not present a clear, user-facing privacy warning or consent flow. In this context, the feature is functional rather than overtly malicious, but location-identifying data is sensitive enough that silent transmission meaningfully raises privacy risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script automatically queries ipapi.co to derive the user's city, latitude, and longitude when no location is provided, but it does not clearly disclose that the user's network-derived location will be sent to a third-party service. This creates a privacy issue because users may not expect external location lookup, and the returned coordinates are then used in further external requests.

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 · scripts/uk_prayer_times.py (reported line 41)May include surrounding context.

python
def get_prayer_times(lat, lon):
    """Fetch prayer times"""
    try:
        url = f"https://api.aladhan.com/v1/timings?latitude={lat}&longitude={lon}&method=2"
        req = urllib.request.Request(url, headers={'User-Agent': 'UKPrayerTimes/1.0'})
        with urllib.request.urlopen(req, timeout=10) as response:
            data = json.loads(response.read())

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

User-entered location text is transmitted to OpenStreetMap Nominatim for geocoding without an explicit disclosure that the input leaves the local environment. While the data is less sensitive than precise auto-detected coordinates, it can still reveal a user's home area, mosque, or travel plans.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.