MCP, MCP server
geodata
A visual catalog, REST API, MCP server, drag-drop verifier, anonymous contribution flow, and a mobile crowd map-capture tool (collect) for India's geo data.
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit a11d5ab7b0ab, unchanged since the check below.
NETWORK_HOST_FROM_INPUT
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
collect/functions/c/[[path]].ts, line 6
return ctx.env.ASSETS.fetch(new URL('/c.html', ctx.request.url));
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
scripts/bake_community.py, line 232
subprocess.run(['which', 'wrangler'], check=True, capture_output=True)
scripts/bake_community.py, line 240
proc = subprocess.run(cmd, capture_output=True, text=True)
scripts/bake_community.py, line 247
proc = subprocess.run(cmd, capture_output=True, text=True, env=env)
Show more
scripts/bake_community.py, line 275
subprocess.run(cmd, check=True, capture_output=True)
scripts/bake_formats.py, line 47
subprocess.run(['curl', '-sfL', '-A', 'Mozilla/5.0', '-o', str(part), url], check=True)
scripts/bake_formats.py, line 83
subprocess.run(pmtiles_args(src, out, layer, fields, parallel), check=True, capture_output=True)
scripts/bake_formats.py, line 123
layer = subprocess.run(['ogrinfo', '-q', '-so', str(geojson)], check=True,
scripts/bake_formats.py, line 128
subprocess.run(['ogr2ogr', '-f', 'ESRI Shapefile', '-nlt', 'PROMOTE_TO_MULTI',
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
collect/functions/c/[[path]].ts, line 6
return ctx.env.ASSETS.fetch(new URL('/c.html', ctx.request.url));
collect/functions/lib/handlers.ts, line 36
const res = await fetch(`${origin}/api/v1/locate?lat=${c[1]}&lng=${c[0]}`, {
collect/src/api.ts, line 29
return fetch(`/api/collect/v1${path}`, { ...init, headers });
Show more
collect/src/app.ts, line 276
let lastReviewFetch = 0; // Date.now() of the last records fetch (throttles revalidation)
collect/src/geo/catalog.ts, line 11
const res = await fetch(`${BHARATLAS}/api/v1/layers?limit=1000`);
mcp/index.js, line 390
https.get(url, (res) => {
mcp/index.js, line 460
const req = https.request(new URL(urlStr), opts, (res) => {
scripts/bake_formats.py, line 43
`dest` exists. curl with a browser UA: r2.dev rejects urllib's default."""
scripts/bake_overture_places.py, line 249
def fetch(release: str, src: Path, parts: int = 8) -> list[Path]:
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
mcp/index.js, line 21
const COLLECT_API_KEY = process.env.COLLECT_API_KEY || ""; // optional: only for headless create_map
scripts/fix_r2_content_disposition.py, line 21
ACCESS_KEY = os.environ.get('R2_ACCESS_KEY_ID')
scripts/fix_r2_content_disposition.py, line 22
SECRET_KEY = os.environ.get('R2_SECRET_ACCESS_KEY')
Show more
scripts/upload_baked.py, line 102
access_key = os.environ.get("R2_ACCESS_KEY_ID")
scripts/upload_baked.py, line 103
secret_key = os.environ.get("R2_SECRET_ACCESS_KEY")
scripts/upload_r2_multipart.py, line 23
ACCESS_KEY = os.environ.get('R2_ACCESS_KEY_ID')
scripts/upload_r2_multipart.py, line 24
SECRET_KEY = os.environ.get('R2_SECRET_ACCESS_KEY')
web/scripts/prerender.mjs, line 1009
const TURNSTILE_SITEKEY = process.env.TURNSTILE_SITEKEY || '1x00000000000000000000AA';
.gitignore, line 23
# Env
.gitignore, line 24
.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
catalog.json, line 1
{
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit a11d5ab7b0ab. requests shell access. The manifest names this permission. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: a11d5ab7b0ab5de0b7f14e772deb52746e58214a
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.