{"score":90,"grade":"A","scannedAt":"2026-12-05T23:08:52.967Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"mpy-workbench","version":"0.4.0","license":"MIT","repository":"https://github.com/DanielBustillos/mpy-workbench","firstPublished":"2026-12-04T19:58:12.477051Z","lastPublished":"2026-12-05T18:54:51.786497Z","versions":6,"files":23,"bytes":263241,"hosts":["micropython.org"]},"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":"mpywb/codegen.py","line":33,"snippet":"\" _c = compile(_s, %s, 'exec')\" % py_str(trace_name),"},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"mpywb/codegen.py","line":37,"snippet":"\"exec(_c, {'__name__': '__main__'})\","},{"rule":"dynamic-code","severity":"medium","title":"Builds and runs code at runtime","file":"mpywb/tools.py","line":94,"snippet":"compile(src, name, \"exec\", dont_inherit=True)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mpywb/board.py","line":60,"snippet":"port = port or os.environ.get(\"MPYWB_PORT\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mpywb/board.py","line":89,"snippet":"r = subprocess.run([\"lsof\", \"-F\", \"p\", port], capture_output=True, text=True, timeout=3)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mpywb/board.py","line":97,"snippet":"cmd = subprocess.run([\"ps\", \"-o\", \"command=\", \"-p\", str(pid)], capture_output=True, text=True,"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mpywb/board.py","line":283,"snippet":"return vid in BRIDGE_VIDS and os.environ.get(\"MPYWB_RESET_ON_OPEN\") != \"1\""},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mpywb/codegen.py","line":282,"snippet":"\" os.remove(p)\","},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mpywb/codegen.py","line":333,"snippet":"\" os.rename(_f, _t)\","},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"mpywb/deps.py","line":20,"snippet":"return os.environ.get(\"CLAUDE_PLUGIN_DATA\") or os.path.join(os.path.expanduser(\"~\"), \".cache\", \"mpy-workbench\")"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"mpywb/deps.py","line":61,"snippet":"r = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"mpywb/firmware.py","line":17,"snippet":"import urllib.request"},{"rule":"network","severity":"info","title":"Makes network requests","file":"mpywb/firmware.py","line":195,"snippet":"with urllib.request.urlopen(url, timeout=20) as r:"},{"rule":"network","severity":"info","title":"Makes network requests","file":"mpywb/firmware.py","line":210,"snippet":"urllib.request.urlretrieve(build[\"url\"], tmp)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"mpywb/firmware.py","line":366,"snippet":"with open(dest, \"wb\") as f:"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.DanielBustillos/mpy-workbench","title":"MPY Workbench – MicroPython","description":"Run, upload and debug MicroPython on a USB board (ESP32, Pico) from any MCP client.","repository":"https://github.com/DanielBustillos/mpy-workbench","version":"0.4.0"}}