{"score":100,"grade":"A","scannedAt":"2026-12-05T22:58:41.156Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"emode","version":"1.1.28","license":"BSD License","repository":"https://github.com/emode-photonix/emodeconnection","firstPublished":"2026-11-07T18:20:11.193569Z","lastPublished":"2026-11-25T20:53:29.044056Z","versions":4,"files":181,"bytes":3119925,"hosts":["docs.emodephotonix.com","emodephotonix.com"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"emode/emode.py","line":325,"snippet":"if log_level := os.getenv(\"EMODE_LOGGING\", \"WARNING\"):"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"emode/emodeclient.py","line":34,"snippet":"env = os.environ"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"emode/emodeclient.py","line":172,"snippet":"if any(\"VSCODE\" in name for name in os.environ):"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"emode/file_utils.py","line":56,"snippet":"with open(self.port_path, \"w\") as f:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"emode/installer.py","line":433,"snippet":"subprocess.run(['open', EULA_URL], timeout=5,"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"emode/installer.py","line":438,"snippet":"subprocess.run(['xdg-open', EULA_URL], timeout=5,"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"emode/installer.py","line":718,"snippet":"os.unlink(tmp_path)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"emode/installer.py","line":722,"snippet":"shutil.move(tmp_path, dest_path)"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"emode/installer.py","line":784,"snippet":"result = subprocess.run("},{"rule":"network","severity":"info","title":"Makes network requests","file":"emode/mcp/docs.py","line":25,"snippet":"response = requests.get(url, timeout=20)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"emode/ui/static/app.js","line":37,"snippet":"return fetch(\"api/\" + path, options).then("},{"rule":"network","severity":"info","title":"Makes network requests","file":"emode/ui/static/app.js","line":1546,"snippet":"const r = await fetch(\"api/views/\" + id + \"/export\", {"}],"vulns":[],"installScripts":[],"server":{"name":"com.emodephotonix/emode","title":"EMode","description":"Photonic waveguide mode solver and EME simulator. Requires an EMode license, free demo available.","websiteUrl":"https://emodephotonix.com","repository":"https://github.com/emode-photonix/emodeconnection","version":"1.1.28"}}