{"score":90,"grade":"A","scannedAt":"2026-12-05T23:09:06.064Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"security-scanner-deepsleuth-mcp","version":"1.0.4","license":"Apache-2.0","repository":"https://github.com/DeepSleuth/deepsleuth-mcp","firstPublished":"2026-10-07T11:46:50.948786Z","lastPublished":"2026-10-07T11:46:52.506914Z","versions":1,"files":77,"bytes":1304390,"hosts":[]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":true},"findings":[{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"deepsleuth/analysis/constfold.py","line":620,"snippet":"def eval(self, node: ast.AST, loc: Dict[str, Any]) -> Tuple[Any, FoldInfo]:"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"deepsleuth/analysis/jsast.py","line":588,"snippet":"r\"\\b(?:child_process\\s*\\.\\s*)?(?:exec(?:Sync|File(?:Sync)?)?|spawn(?:Sync)?)\\s*\\(\""},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"deepsleuth/analysis/jsast.py","line":808,"snippet":"_JS_SHELL_CALL_RE = re.compile(r\"^(?:child_process\\s*\\.\\s*)?exec(?:Sync)?\\s*\\($\")"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"deepsleuth/analysis/buildbackend.py","line":12,"snippet":"(``~/.ssh``, ``.aws/credentials``, ``.netrc``, ``.env`` ...), including a"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"deepsleuth/analysis/buildbackend.py","line":13,"snippet":"…ath assembled from constants (``os.path.join(home, \".ssh\", \"id_rsa\")``,"},{"rule":"secrets-paths","severity":"low","title":"Mentions credential files (SSH keys, cloud credentials, browser data or crypto wallets)","file":"deepsleuth/analysis/buildbackend.py","line":39,"snippet":"r\"(\\.ssh(?:/|$)|id_rsa|id_ed25519|id_ecdsa|authorized_keys|\\.aws(?:/|$)|\""},{"rule":"bidi-string","severity":"low","title":"Text-direction characters inside a string (usually right-to-left text)","file":"deepsleuth/normalize.py","line":41,"snippet":"\"<U+202A>\","},{"rule":"bidi-string","severity":"low","title":"Text-direction characters inside a string (usually right-to-left text)","file":"deepsleuth/normalize.py","line":42,"snippet":"\"<U+202B>\","},{"rule":"bidi-string","severity":"low","title":"Text-direction characters inside a string (usually right-to-left text)","file":"deepsleuth/normalize.py","line":43,"snippet":"\"<U+202C>\","},{"rule":"network","severity":"info","title":"Makes network requests","file":"deepsleuth/analysis/buildbackend.py","line":16,"snippet":"(``urllib.request.urlopen``, ``requests.*``, ``socket.*``, ``smtplib`` ...);"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"deepsleuth/analysis/buildbackend.py","line":24,"snippet":"metadata, calling ``subprocess.run([\"gcc\", ...])`` with a constant argv --"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"deepsleuth/analysis/envdump.py","line":4,"snippet":"…that hands back the WHOLE process environment -- ``str(dict(os.environ))``,"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"deepsleuth/analysis/envdump.py","line":5,"snippet":"``json.dumps(dict(os.environ))``, a loop over ``os.environ.items()`` that builds"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"deepsleuth/analysis/envdump.py","line":14,"snippet":"``name in os.environ``                  -> one variable (the caller asked), clean"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"deepsleuth/analysis/envdump.py","line":19,"snippet":"Handing the environment to a CHILD PROCESS (``subprocess.run(cmd, env={**os.environ,"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"deepsleuth/analysis/envdump.py","line":57,"snippet":"\"subprocess.check_output\", \"subprocess.run\", \"subprocess.getoutput\","},{"rule":"network","severity":"info","title":"Makes network requests","file":"deepsleuth/analysis/pyast.py","line":50,"snippet":"\"requests.get\", \"requests.post\", \"requests.put\", \"requests.delete\","},{"rule":"network","severity":"info","title":"Makes network requests","file":"deepsleuth/analysis/pyast.py","line":51,"snippet":"\"requests.patch\", \"requests.head\", \"requests.request\", \"requests.Session\","},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"deepsleuth/pinning.py","line":82,"snippet":"with open(tmp, \"w\", encoding=\"utf-8\") as f:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"deepsleuth/proxy.py","line":270,"snippet":"self._logf = open(log_path, \"a\", encoding=\"utf-8\") if log_path else None"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"deepsleuth/reporter.py","line":15,"snippet":"with open(path, \"w\", encoding=\"utf-8\") as f:"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.DeepSleuth/deepsleuth","title":"Deepsleuth","description":"Deterministic, no-LLM security scanner for MCP servers, plus an inline proxy gate.","websiteUrl":"https://github.com/DeepSleuth/deepsleuth-mcp","repository":"https://github.com/DeepSleuth/deepsleuth-mcp","version":"1.0.4"}}