{"score":100,"grade":"A","scannedAt":"2026-12-05T23:04:59.023Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"mathlas-mcp","version":"1.5.0","license":"Apache Software License","repository":"https://github.com/Archerkattri/mathlas","firstPublished":"2026-06-07T15:20:01.162363Z","lastPublished":"2026-07-02T01:51:21.782506Z","versions":9,"files":46,"bytes":603961,"hosts":["arxiv.org","elan.lean-lang.org","leanprover-community.github.io","leansearch.net","loogle.lean-lang.org","oeis.org"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"mathlas/formal_search.py","line":36,"snippet":"import urllib.request"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mathlas/formal_search.py","line":57,"snippet":"if os.environ.get(\"MATHLAS_NO_CACHE\", \"\").strip().lower() in ("},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mathlas/formal_search.py","line":64,"snippet":"root = os.environ.get(\"MATHLAS_CACHE_DIR\") or os.path.join("},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mathlas/formal_search.py","line":65,"snippet":"os.environ.get(\"XDG_CACHE_HOME\") or os.path.expanduser(\"~/.cache\"),"},{"rule":"network","severity":"info","title":"Makes network requests","file":"mathlas/formal_search.py","line":173,"snippet":"req = urllib.request.Request(url, data=data, headers=headers)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"mathlas/formal_search.py","line":174,"snippet":"with urllib.request.urlopen(req, timeout=timeout_s) as resp:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mathlas/funsearch.py","line":409,"snippet":"os.system() cannot spawn child processes."},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mathlas/funsearch.py","line":423,"snippet":"with open(script, \"w\") as f:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mathlas/funsearch.py","line":433,"snippet":"proc = subprocess.run("},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mathlas/funsearch.py","line":503,"snippet":"with open(tmp, \"w\") as f:"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mathlas/retrieve/bm25.py","line":130,"snippet":"shutil.rmtree(tmp, ignore_errors=True)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mathlas/verify_apply.py","line":232,"snippet":"out = subprocess.run([elan, \"which\", \"lean\"], capture_output=True,"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Archerkattri/mathlas","description":"Airtight math for AI agents: 3.68M-doc theorem search + numeric/Lean verification. No LLM, no key.","repository":"https://github.com/Archerkattri/mathlas","version":"1.5.0"}}