Skip to main content
SkillTotal

Is Google Maps Scraper Kit safe?

What Google Maps Scraper Kit does

Google Maps Scraper Kit is a local Google Maps scraper with an agent skill that exports business listings to CSV. It runs the open-source gosom/google-maps-scraper engine in Docker on 127.0.0.1:8080, driven by shell and Python scripts or by Claude Code, Codex and Cursor through its skill and four slash commands. Each row has name, phone, email, website, category, address, rating and review count; it visits business websites to find emails and geocodes cities through OpenStreetMap. The repository's .claude/settings.json pre-approves local commands for hands-free runs. Before installing, read that settings file, and note the README's own warning that scraping Google Maps is against Google's Terms of Service.

Low risk - review the findings before installing
Notable — review in context (a capability is not a malicious indicator):
  • Server bound to all network interfaces
  • Agent or editor configuration runs a command or sends data automatically
  • Python shell/command execution

What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.

Google Maps Scraper Kit is an agent skill analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 2 risky constructs are reported for review. It can: dynamic code execution, filesystem read, filesystem write, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 20/100 (low).

google-maps-scraper-kit

GitHub repository, read as an AI component · https://github.com/Mahanaicoach/google-maps-scraper-kit
LOW
20
/ 100 risk score
Snapshot · scanned Nov 21, 2026 · google-maps-scraper-kit@c3e63f1 · engine 1.8.0 / ruleset 107

Get notified when this component changes

Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Google Maps Scraper Kit's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
dynamic code executionfilesystem readfilesystem writenetwork egressshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Execution authority
Tool Access Control / Direct Tool Access
Filesystem reach
Tool Execution Context
Network egress
Interaction & Communication / Direct Communication
Network exposure
Interaction & Communication
Supply-chain provenance risk
General Protections / Supply Chain

Findings (7)

CapabilityPython dynamic code executionnot scored · severity highST-DYN-PY

The code turns strings into live code at runtime (eval / new Function / exec).

return super().eval(expr)

Why it matters: If those strings aren't fixed and trusted, they become a way to run arbitrary code.

Fix: Avoid evaluating dynamically constructed code; if unavoidable, ensure the input is a trusted constant and never derived from external data.

CapabilityPython shell/command executionnot scored · severity highST-SHELL-PY

The component can run operating-system commands or spawn processes.

self.proc = subprocess.Popen(args + ["about:blank"], **kw)
out = subprocess.run(["ps", "-axo", "command"], capture_output=True, text=True).stdout
p = subprocess.Popen([sys.executable, "-c", "import time; time.sleep(30)"])
out = subprocess.run(ps, capture_output=True, text=True, encoding="utf-8", errors="replace", timeout=20)
return subprocess.run(["ps", "-p", str(int(pid)), "-o", "command="], capture_output=True,
                              text=True, errors="replace", timeout=10).stdout
subprocess.run(["taskkill", "/PID", str(pid), "/T", "/F"], capture_output=True)
proc = subprocess.Popen([sys.executable, SERVE, "--port", str(port)], **kw)
subprocess.run(["open", path], check=False)
os.startfile(path)  # noqa: the default app for .csv (Excel) on Windows
subprocess.run(["xdg-open", path], check=False)
return subprocess.run([sys.executable, self.HOOK], input=json.dumps(event), capture_output=True,
                              text=True, timeout=10).stdout
out = subprocess.run([sys.executable, self.HOOK], input=json.dumps(event), capture_output=True,
                                 text=True, timeout=10).stdout

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.

MEDIUMAgent or editor configuration runs a command or sends data automaticallyST-AGENT-AUTORUN

The component ships agent or IDE configuration that acts without a separate step: a Claude Code / Gemini CLI / Cursor hook, a Claude Code status line or credential helper command, a VS Code task that runs when the folder opens, a dev container command that runs on the host (`initializeCommand`), or a dev container hook that downloads code and runs it inside the container. Opening the project in that tool runs it with the developer's privileges. An `http` hook (here or in a plugin or skill), or a hook command that hands its own input to a network client (`curl --data-binary @- https://...`), posts each event it is bound to, the user's prompt and tool input and output included, to a server that is not this machine. (2 occurrence(s) shown as evidence).

"command": "python3 scripts/preview_hook.py 2>/dev/null || python scripts/preview_hook.py 2>/dev/null || true"
"command": "python3 scripts/preview_hook.py 2>/dev/null || python scripts/preview_hook.py 2>/dev/null || true",

Fix: Read the command and anything it runs, or the URL a hook posts to, before opening this project in an agent or editor. A published package has no reason to ship project auto-run config.

MEDIUMServer bound to all network interfacesST-EXPOSE-BIND

A server is bound to all network interfaces (0.0.0.0), not just your own machine.

ap.add_argument("--host", default="127.0.0.1", choices=("127.0.0.1", "0.0.0.0"),
sys.exit("✗ --host 0.0.0.0 is for the Docker image only. On this machine the engine listens on "
serve.make_servers(0, self.store, self.worker, host="0.0.0.0")
argv = ["serve.py", "--host", "0.0.0.0", "--port", "0", "--data", self.dir]
s.bind(("0.0.0.0", 0))

Why it matters: Without authentication, other hosts on the network can reach it.

Fix: Bind to 127.0.0.1 for local-only use, or require authentication and restrict access if remote exposure is intended.

CapabilityPython filesystem readnot scored · severity mediumST-FS-PY-READ

The component reads files from disk.

with open(path, "rb") as f:
with open(active, encoding="utf-8") as f:
with open(src, newline="", encoding="utf-8", errors="replace") as f:
with open(self.csv_path(jid), "rb") as f:
with open(os.path.join(folder or PRESETS, "business-types.json"), encoding="utf-8") as f:
with open(os.path.join(browser.KIT, ".env"), encoding="utf-8-sig", errors="replace") as f:
with open(os.environ["FAKE_LOG"]) as f:
with open(os.path.join(serve.PRESETS, "cities.tsv.gz"), "rb") as g:
with open(STATE, encoding="utf-8") as f:
with open(f"/proc/{int(pid)}/cmdline", "rb") as f:
with open(path, "rb") as f:
with open(LOG, "rb") as f:
with open(path, encoding="utf-8") as f:
with open(UPDATE_CACHE, encoding="utf-8") as f:
with open(path, encoding="utf-8") as f:
with open(path, newline="", encoding="utf-8-sig") as f:
with open(path, encoding="utf-8") as f:
with open(path, newline="", encoding="utf-8-sig") as f:
with open(path, encoding="utf-8-sig", errors="replace") as f:
with open(path, encoding="utf-8-sig", newline="") as f:  # -sig: also reads the kit's own CSVs
with open(a.keywords_file, encoding="utf-8-sig") as f:
with open(out, newline="", encoding="utf-8-sig") as f:
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "scrape.py"), encoding="utf-8") as f:
with open(out, newline="", encoding="utf-8-sig") as f:  # the kit writes a BOM for Excel
with open(out, newline="", encoding="utf-8-sig") as f:

Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.

Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.

CapabilityPython filesystem write/deletenot scored · severity mediumST-FS-PY-WRITE

The component writes or deletes files on disk.

shutil.rmtree(path, ignore_errors=True)
with opener(url, timeout=60) as r, open(tmp, "wb") as f:
shutil.rmtree(final, ignore_errors=True)
shutil.rmtree(staging, ignore_errors=True)
self._err = open(os.path.join(self.profile, "chrome-stderr.log"), "w+b")
shutil.rmtree(self.profile, ignore_errors=True)
os.remove(path)
shutil.copyfile(os.path.join(folder, f), os.path.join(tmp, f))
shutil.rmtree(tmp, ignore_errors=True)
shutil.copyfile(src, self.csv_path(jid))
os.remove(self.csv_path(jid))
with open(marker, "w"):
with open(path, "ab") as f:
with open(path, "r+b") as f:
os.remove(path)
with open(path, "r+b") as f:
with open(tmp, "wb") as f:
f = open(os.path.join(folder, "engine.lock"), "a+")
with open(a.json, "w", encoding="utf-8") as f:
shutil.rmtree(self.dir, ignore_errors=True)
with open(os.path.join(old, f"{jid}.csv"), "w", newline="") as f:
with open(os.path.join(old, f"{big}.csv"), "w", newline="") as f:
shutil.rmtree(self.dir, ignore_errors=True)
with open(self.exe, "w") as f:

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

CapabilityPython network egressnot scored · severity mediumST-NET-PY

The component makes outbound network requests.

import json, os, sys, time, urllib.request
r = urllib.request.Request(url, json.dumps(body).encode() if body else None,
                               {"Content-Type": "application/json"}, method=method)
with urllib.request.urlopen(r, timeout=30) as f:
rows = json.loads(urllib.request.urlopen(f"{BASE}/{jid}/download?format=json").read())
import hashlib, http.client, os, platform, queue, shutil, subprocess, tempfile, threading, time, urllib.parse, urllib.request
u = urllib.parse.urlsplit(url)
urllib.parse.unquote(u.username or ""), urllib.parse.unquote(u.password or ""))
import shutil, sqlite3, tempfile, threading, time, urllib.parse, urllib.request, uuid
u = urllib.parse.urlsplit(p.strip())
u = urllib.parse.urlsplit(proxy)
return urllib.parse.urlunsplit(u._replace(netloc=f"{shown}@{host}"))
+ urllib.parse.quote(row["title"], safe="")
+ "&query_place_id=" + urllib.parse.quote(place["place_id"], safe=""))
p = urllib.parse.urlsplit(url)
return urllib.parse.urlunsplit((p.scheme, p.netloc, urllib.parse.quote(p.path, safe="/%:@&=+$,;~!*'()"),
                                        urllib.parse.quote(p.query, safe="=&%+/?:@;,!*'()$"), ""))
return urllib.parse.urlunsplit((p.scheme, p.netloc, urllib.parse.quote(p.path, safe="/%:@&=+$,;~!*'()"),
urllib.parse.quote(p.query, safe="=&%+/?:@;,!*'()$"), ""))
if urllib.parse.urlsplit(newurl).scheme not in ("http", "https"):
if not _public_host(urllib.parse.urlsplit(newurl).hostname or ""):
_OPENER = urllib.request.build_opener(urllib.request.ProxyHandler({}), _HTTPHandler, _HTTPSHandler, _Redirects)
if not _public_host(urllib.parse.urlsplit(url).hostname or ""):
r = urllib.request.Request(ascii_url(url), headers={"User-Agent": UA, "Accept": "text/html"})
h = (urllib.parse.urlsplit(url if "://" in url else "http://" + url).hostname or "").lower()
with fetch_window(), _OPENER.open(urllib.request.Request(
                DOH + urllib.parse.urlencode({"name": domain, "type": "MX"}), headers={"User-Agent": UA}), timeout=8) as r:
DOH + urllib.parse.urlencode({"name": domain, "type": "MX"}), headers={"User-Agent": UA}), timeout=8) as r:

Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.

Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.

How attackers abuse these capabilities

Interactive labs on the attack class behind the rules above. They show the technique, not anything found in Google Maps Scraper Kit.

Maintain Google Maps Scraper Kit?

Check the next package before your agent installs it

The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →