{"score":90,"grade":"A","scannedAt":"2026-12-05T23:02:05.686Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"codepathfinder","version":"2.1.1","license":"Apache-2.0","repository":"https://github.com/shivasurya/code-pathfinder","firstPublished":"2025-11-09T21:39:00.261702Z","lastPublished":"2026-04-25T02:37:41.680713Z","versions":22,"files":54,"bytes":394908,"hosts":["cheatsheetseries.owasp.org","codepathfinder.dev","cwe.mitre.org","flask.palletsprojects.com","vulnerable-app.com","werkzeug.palletsprojects.com"]},"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":"codepathfinder/python_rule_meta.py","line":361,"snippet":"\"The main sinks are eval() and evalsha() which run Lua scripts — injection-sensitive \""},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"codepathfinder/python_rule_meta.py","line":1045,"snippet":"\"evaluator for literals only. The builtins eval() and exec() execute arbitrary Python \""},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"codepathfinder/python_rule_meta.py","line":1046,"snippet":"…ks on user input. compile() produces code objects that reach exec().\""},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"codepathfinder/cli/__init__.py","line":39,"snippet":"env_value = os.environ.get(_ENV_OVERRIDE)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"codepathfinder/cli/__init__.py","line":113,"snippet":"result = subprocess.run([str(binary)] + sys.argv[1:])"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"codepathfinder/container_ir.py","line":103,"snippet":"with open(filepath, \"w\") as f:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"codepathfinder/dataflow.py","line":183,"snippet":"...     to_sinks=calls(\"os.system\", \"subprocess.call\"),"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"codepathfinder/matchers.py","line":214,"snippet":"attribute(\"os.environ\")            # x = os.environ[\"VAR\"]"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"codepathfinder/python_ir.py","line":79,"snippet":"with open(filepath, \"w\") as f:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"codepathfinder/python_rule_meta.py","line":28,"snippet":"\"signature\": \"subprocess.run(args, *, shell=False, capture_output=False, ...) -> CompletedProcess\","},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"codepathfinder/python_rule_meta.py","line":96,"snippet":"\"for the program path. Environment accessors (os.environ, os.getenv) are sources.\""},{"rule":"network","severity":"info","title":"Makes network requests","file":"codepathfinder/python_rule_meta.py","line":612,"snippet":"\"signature\": \"requests.get(url: str, params=None, **kwargs) -> Response\","},{"rule":"network","severity":"info","title":"Makes network requests","file":"codepathfinder/python_rule_meta.py","line":618,"snippet":"\"signature\": \"requests.post(url: str, data=None, json=None, **kwargs) -> Response\","},{"rule":"network","severity":"info","title":"Makes network requests","file":"codepathfinder/python_rule_meta.py","line":624,"snippet":"\"signature\": \"requests.put(url: str, data=None, **kwargs) -> Response\","},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"codepathfinder/python_rule_meta.py","line":1383,"snippet":"\"signature\": \"shutil.rmtree(path, ignore_errors=False, onerror=None) -> None\","}],"vulns":[],"installScripts":[],"server":{"name":"dev.codepathfinder/pathfinder","title":"Code Pathfinder","description":"Code intelligence MCP server: call graphs, type inference, and symbol search for Python/Go.","repository":"https://github.com/shivasurya/code-pathfinder","version":"2.1.1"}}