MCP server safety grade
Deepsleuth
Deterministic, no-LLM security scanner for MCP servers, plus an inline proxy gate.
uvx security-scanner-deepsleuth-mcp · pypi security-scanner-deepsleuth-mcp 1.0.4 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
deepsleuth/analysis/constfold.py:620def eval(self, node: ast.AST, loc: Dict[str, Any]) -> Tuple[Any, FoldInfo]:
- Builds and runs code at runtime
deepsleuth/analysis/jsast.py:588r"\b(?:child_process\s*\.\s*)?(?:exec(?:Sync|File(?:Sync)?)?|spawn(?:Sync)?)\s*\(" - Builds and runs code at runtime
deepsleuth/analysis/jsast.py:808_JS_SHELL_CALL_RE = re.compile(r"^(?:child_process\s*\.\s*)?exec(?:Sync)?\s*\($")
Worth knowing
Not scored. Often harmless (security tools, denylists and chat bots mention these too), shown so you can judge.
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
deepsleuth/analysis/buildbackend.py:12(``~/.ssh``, ``.aws/credentials``, ``.netrc``, ``.env`` ...), including a
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
deepsleuth/analysis/buildbackend.py:13…ath assembled from constants (``os.path.join(home, ".ssh", "id_rsa")``,
- Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)
deepsleuth/analysis/buildbackend.py:39r"(\.ssh(?:/|$)|id_rsa|id_ed25519|id_ecdsa|authorized_keys|\.aws(?:/|$)|"
- Text-direction characters inside a string (usually right-to-left text)
deepsleuth/normalize.py:41"<U+202A>",
- Text-direction characters inside a string (usually right-to-left text)
deepsleuth/normalize.py:42"<U+202B>",
- Text-direction characters inside a string (usually right-to-left text)
deepsleuth/normalize.py:43"<U+202C>",
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-10-07 |
| This version published | 2026-10-07 |
| Versions | 1 |
| Maintainers | — |
| Licence | Apache-2.0 |
| Source repository | github.com/DeepSleuth/deepsleuth-mcp |
| Runs scripts on install | No |
| Files in package | 77 (1,274 KB) |
| Web addresses in code | none besides common ones |
Where we saw each capability (12 examples)
- Makes network requests
deepsleuth/analysis/buildbackend.py:16(``urllib.request.urlopen``, ``requests.*``, ``socket.*``, ``smtplib`` ...);
- Runs shell commands or other programs
deepsleuth/analysis/buildbackend.py:24metadata, calling ``subprocess.run(["gcc", ...])`` with a constant argv --
- Reads environment variables (where API keys usually live)
deepsleuth/analysis/envdump.py:4…that hands back the WHOLE process environment -- ``str(dict(os.environ))``,
- Reads environment variables (where API keys usually live)
deepsleuth/analysis/envdump.py:5``json.dumps(dict(os.environ))``, a loop over ``os.environ.items()`` that builds
- Reads environment variables (where API keys usually live)
deepsleuth/analysis/envdump.py:14``name in os.environ`` -> one variable (the caller asked), clean
- Runs shell commands or other programs
deepsleuth/analysis/envdump.py:19Handing the environment to a CHILD PROCESS (``subprocess.run(cmd, env={**os.environ, - Runs shell commands or other programs
deepsleuth/analysis/envdump.py:57"subprocess.check_output", "subprocess.run", "subprocess.getoutput",
- Makes network requests
deepsleuth/analysis/pyast.py:50"requests.get", "requests.post", "requests.put", "requests.delete",
- Makes network requests
deepsleuth/analysis/pyast.py:51"requests.patch", "requests.head", "requests.request", "requests.Session",
- Writes, moves or deletes files
deepsleuth/pinning.py:82with open(tmp, "w", encoding="utf-8") as f:
- Writes, moves or deletes files
deepsleuth/proxy.py:270self._logf = open(log_path, "a", encoding="utf-8") if log_path else None
- Writes, moves or deletes files
deepsleuth/reporter.py:15with open(path, "w", encoding="utf-8") as f:
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-deepsleuth-deepsleuth)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).