MCP server safety grade
Code Pathfinder
Code intelligence MCP server: call graphs, type inference, and symbol search for Python/Go.
uvx codepathfinder · pypi codepathfinder 2.1.1 · 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
codepathfinder/python_rule_meta.py:361"The main sinks are eval() and evalsha() which run Lua scripts — injection-sensitive "
- Builds and runs code at runtime
codepathfinder/python_rule_meta.py:1045"evaluator for literals only. The builtins eval() and exec() execute arbitrary Python "
- Builds and runs code at runtime
codepathfinder/python_rule_meta.py:1046…ks on user input. compile() produces code objects that reach exec()."
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2025-11-09 |
| This version published | 2026-04-25 |
| Versions | 22 |
| Maintainers | — |
| Licence | Apache-2.0 |
| Source repository | github.com/shivasurya/code-pathfinder |
| Runs scripts on install | No |
| Files in package | 54 (386 KB) |
| Web addresses in code | cheatsheetseries.owasp.org codepathfinder.dev cwe.mitre.org flask.palletsprojects.com vulnerable-app.com werkzeug.palletsprojects.com |
Where we saw each capability (12 examples)
- Reads environment variables (where API keys usually live)
codepathfinder/cli/__init__.py:39env_value = os.environ.get(_ENV_OVERRIDE)
- Runs shell commands or other programs
codepathfinder/cli/__init__.py:113result = subprocess.run([str(binary)] + sys.argv[1:])
- Writes, moves or deletes files
codepathfinder/container_ir.py:103with open(filepath, "w") as f:
- Runs shell commands or other programs
codepathfinder/dataflow.py:183... to_sinks=calls("os.system", "subprocess.call"), - Reads environment variables (where API keys usually live)
codepathfinder/matchers.py:214attribute("os.environ") # x = os.environ["VAR"] - Writes, moves or deletes files
codepathfinder/python_ir.py:79with open(filepath, "w") as f:
- Runs shell commands or other programs
codepathfinder/python_rule_meta.py:28"signature": "subprocess.run(args, *, shell=False, capture_output=False, ...) -> CompletedProcess",
- Reads environment variables (where API keys usually live)
codepathfinder/python_rule_meta.py:96"for the program path. Environment accessors (os.environ, os.getenv) are sources."
- Makes network requests
codepathfinder/python_rule_meta.py:612"signature": "requests.get(url: str, params=None, **kwargs) -> Response",
- Makes network requests
codepathfinder/python_rule_meta.py:618"signature": "requests.post(url: str, data=None, json=None, **kwargs) -> Response",
- Makes network requests
codepathfinder/python_rule_meta.py:624"signature": "requests.put(url: str, data=None, **kwargs) -> Response",
- Writes, moves or deletes files
codepathfinder/python_rule_meta.py:1383"signature": "shutil.rmtree(path, ignore_errors=False, onerror=None) -> None",
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/dev-codepathfinder-pathfinder)
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).