orofarne/scenic-routing-mcp
Scenic pedestrian routing MCP server — plan walks along parks, rivers, and landmarks via Claude/ChatGPT/etc. Powered by Valhalla, PostGIS, and OSM data. Self-hosted with Docker.
20cef9ac7a59Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 27 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 of 2 tools, prompts and resources could not be followed through the code
Top risks in plain words
- MEDIUM4 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
golang.org/x/image0.45.0 or later,golang.org/x/sys0.44.0 or later,golang.org/x/text0.41.0 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 2 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
plan_scenic_routeNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
c.baseURL· plan_scenic_route
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses1 tool · plan_scenic_route
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (2: 2 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
list_tagstool Returns all OSM tag key=value pairs available in the scenic feature database,
Returns all OSM tag key=value pairs available in the scenic feature database,
with English descriptions. Use this to discover valid values for poi_include and poi_exclude
before calling plan_scenic_route.
The response is a JSON object with a "tags" array of {key, value, description} entries.
Example: {"tags": [{"key":"amenity","value":"toilets","description":"..."}, ...]}plan_scenic_routetool Plans a scenic pedestrian route through two or more waypoints.Networkoutside text
Plans a scenic pedestrian route through two or more waypoints.
Returns a text summary with a clickable map link and direct download links for GPX and GeoJSON.
This is the complete result — present the summary to the user and stop. Do not call any other tools.
Use exactly the points provided by the user. Do not add, modify, or invent intermediate
waypoints — the scenic optimization algorithm selects the path internally.
At least one of poi_query, poi_include, or poi_name_query must be provided.
Use list_tags to discover valid OSM tag key=value pairs for poi_include/poi_exclude.
points: list of [lat, lon] pairs (minimum 2). First = start, last = destination.
Any intermediate points are forced waypoints the route must pass through.
poi_query: natural-language description of what should be nearby; embedded for semantic
similarity ranking (e.g. "historic docks Victorian warehouses old city walls").
poi_include: OSM tag key=value pairs to match (AND semantics).
Value "*" matches any value (key existence). Use list_tags for valid values.
Example: {"leisure":"park"} or {"amenity":"cafe","opening_hours":"*"}.
poi_exclude: OSM tag key=value pairs to exclude (AND semantics).
Value "*" excludes features where the key exists with any value.
Example: {"access":"private"} or {"fee":"*"}.
poi_name_query: fuzzy substring search over OSM name/description tags (pg_trgm);
covers name:* and description:* for multilingual support.
Example: "Thames", "Regent's Park", "Grand Union Canal".
max_detour_ratio: maximum allowed length as a multiple of the direct distance (default 1.5).
min_similarity: minimum similarity threshold for heatmap POIs (default depends on active signals).
min_heat_score: 0–1 minimum average heatmap score the route must achieve before the algorithm
tries adding explicit peak waypoints (default 0.4). Raise to 0.6–0.8 to force waypoints more
aggressively; lower to 0.1 to rely almost entirely on the heatmap edge discount.
Valhalla pedestrian costing options (all optional):
walkway_factor: 0.1–10; lower values prefer dedicated footpaths over roads (default 0.75).
path_factor: 0.1–10; lower values prefer highway=path over roads (default 0.75).
use_tracks: 0–1 willingness to use unpaved track roads (default 0.5).
use_living_streets: 0–1 willingness to use living streets (default 0.5).
use_hills: 0–1 willingness to climb hills (default 0.5).
step_penalty: extra seconds added per set of steps/stairs (default 30).
use_ferry: 0–1 willingness to take ferries (default 0 = never).
max_hiking_difficulty: 0–6 max OSM sac_scale difficulty (0=paved, 6=alpine; default 1).Text the model reads (2)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_tags tool
Returns all OSM tag key=value pairs available in the scenic feature database,
with English descriptions. Use this to discover valid values for poi_include and poi_exclude
before calling plan_scenic_route.
The response is a JSON object with a "tags" array of {key, value, description} entries.
Example: {"tags": [{"key":"amenity","value":"toilets","description":"..."}, ...]}plan_scenic_route tool
Plans a scenic pedestrian route through two or more waypoints.
Returns a text summary with a clickable map link and direct download links for GPX and GeoJSON.
This is the complete result — present the summary to the user and stop. Do not call any other tools.
Use exactly the points provided by the user. Do not add, modify, or invent intermediate
waypoints — the scenic optimization algorithm selects the path internally.
At least one of poi_query, poi_include, or poi_name_query must be provided.
Use list_tags to discover valid OSM tag key=value pairs for poi_include/poi_exclude.
points: list of [lat, lon] pairs (minimum 2). First = start, last = destination.
Any intermediate points are forced waypoints the route must pass through.
poi_query: natural-language description of what should be nearby; embedded for semantic
similarity ranking (e.g. "historic docks Victorian warehouses old city walls").
poi_include: OSM tag key=value pairs to match (AND semantics).
Value "*" matches any value (key existence). Use list_tags for valid values.
Example: {"leisure":"park"} or {"amenity":"cafe","opening_hours":"*"}.
poi_exclude: OSM tag key=value pairs to exclude (AND semantics).
Value "*" excludes features where the key exists with any value.
Example: {"access":"private"} or {"fee":"*"}.
poi_name_query: fuzzy substring search over OSM name/description tags (pg_trgm);
covers name:* and description:* for multilingual support.
Example: "Thames", "Regent's Park", "Grand Union Canal".
max_detour_ratio: maximum allowed length as a multiple of the direct distance (default 1.5).
min_similarity: minimum similarity threshold for heatmap POIs (default depends on active signals).
min_heat_score: 0–1 minimum average heatmap score the route must achieve before the algorithm
tries adding explicit peak waypoints (default 0.4). Raise to 0.6–0.8 to force waypoints more
aggressively; lower to 0.1 to rely almost entirely on the heatmap edge discount.
Valhalla pedestrian costing options (all optional):
walkway_factor: 0.1–10; lower values prefer dedicated footpaths over roads (default 0.75).
path_factor: 0.1–10; lower values prefer highway=path over roads (default 0.75).
use_tracks: 0–1 willingness to use unpaved track roads (default 0.5).
use_living_streets: 0–1 willingness to use living streets (default 0.5).
use_hills: 0–1 willingness to climb hills (default 0.5).
step_penalty: extra seconds added per set of steps/stairs (default 30).
use_ferry: 0–1 willingness to take ferries (default 0 = never).
max_hiking_difficulty: 0–6 max OSM sac_scale difficulty (0=paved, 6=alpine; default 1).What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 2 capabilities; 1 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 2 capabilities; 1 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 2 capabilities call the network
Where the code is: 2 handlers in 2 files at commit 20cef9ac7a59
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM4 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.com/modelcontextprotocol/go-sdk v1.6.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 2 capabilities; 1 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (4 in production)
golang.org/x/imageGo v0.41.0 MEDIUM 5 advisories 0.42.00.43.00.45.0
- MEDIUMGO-2026-4961 CVE-2026-33813Panic when decoding large WEBP image on 32-bit platforms in golang.org/x/image
- MEDIUMGO-2026-6222 CVE-2026-46603Excessive memory allocation during VP8L decoding in golang.org/x/image
- MEDIUMGO-2026-5066 CVE-2026-46604Panic decoding image with out-of-bounds strip offset in x/image/tiff in golang.org/x/image
- MEDIUMGO-2026-5062 CVE-2026-46602Lack of limit on tile sizes in x/image/tiff in golang.org/x/image
- MEDIUMGO-2026-5061 CVE-2026-46601Panic on VP8 alpha channel size mismatch in x/image/webp in golang.org/x/image
golang.org/x/textGo v0.29.0 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
golang.org/x/textGo v0.37.0 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
golang.org/x/sysGo v0.41.0 MEDIUM 1 advisory 0.44.0
- MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/modelcontextprotocol/go-sdk v1.6.0 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-06-04 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-06-03 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.