Back to skill

Security audit

Entur Travel

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Norway transit helper that sends trip and stop queries to Entur's public API, with some input-validation weaknesses but no hidden persistence, credential access, or destructive behavior.

Install only if you are comfortable sending Norway transit searches, stop IDs, and trip details to Entur. Prefer normal place names and small result limits; avoid using untrusted raw stop IDs or unusual mode/time strings until input validation is tightened.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/entur.py:87
Finding

GraphQL Injection Through Unescaped CLI and Geocoder Inputs

Content
View full analysis
str: if "id" in place: s = f'place: "{place["id"]}"' else: c = place["coords"] s = f'coordinates: {{latitude: {c["lat"]}, longitude: {c["lon"]}}}' if "name" in place: s += f', name: "{place["name"]}"' return s ``` ### Technical Analysis The script constructs GraphQL documents by directly interpolating values originating from command-line arguments or geocoder responses. The affected values include: - `--time` - `--modes` - Stop IDs used by the ` ...[truncated 1999 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/entur.py:96
Finding

Unbounded API Result Parameters Permit Resource Abuse

Content
View full analysis
Remediation
View remediation
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
90% confidence
Finding

The skill documents and invokes a Python script that performs network access to the Entur API, but the manifest does not declare any explicit tool scope such as allowed network permissions. This creates a least-privilege and governance gap: reviewers and runtime policy systems cannot easily verify or constrain the skill's external communication behavior, which could enable unintended outbound requests if the script is modified or misused.

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/entur.py (reported line 20)May include surrounding context.

python
import urllib.parse
from datetime import datetime, timezone

GEOCODER_URL = "https://api.entur.io/geocoder/v1/autocomplete"
JOURNEY_URL = "https://api.entur.io/journey-planner/v3/graphql"
CLIENT_NAME = "openclaw-entur-travel"
HEADERS = {

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/entur.py (reported line 21)May include surrounding context.

python
import urllib.parse
from datetime import datetime, timezone

GEOCODER_URL = "https://api.entur.io/geocoder/v1/autocomplete"
JOURNEY_URL = "https://api.entur.io/journey-planner/v3/graphql"
CLIENT_NAME = "openclaw-entur-travel"
HEADERS = {

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

The script sends user-supplied search text, origin/destination inputs, and stop identifiers to Entur's remote geocoding and journey-planner APIs via HTTP requests. While networking is core to the tool's purpose, the file does not include any explicit notice that user-entered travel/location data will be transmitted to an external service.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The geocoding request hard-codes lang to en, which enforces a specific language/locale regardless of user preference. The file does not provide a language selection option or explain why English-only responses are required.

Content

No source excerpt is available for this finding.