{"score":90,"grade":"A","scannedAt":"2026-12-05T23:10:42.499Z","scanner":"grades-0.2","signals":{"ecosystem":"pypi","name":"two-key","version":"0.8.0","license":"Apache-2.0","repository":"https://github.com/Insomniac-VibeLabs/two-key","firstPublished":"2026-10-17T08:11:14.962796Z","lastPublished":"2026-10-28T19:23:10.613192Z","versions":6,"files":211,"bytes":7428209,"hosts":["api.anthropic.com","api.openai.com","api.x.ai","generativelanguage.googleapis.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":"two_key/policy_vm.py","line":88,"snippet":"def eval(self, action: Action) -> VMResult:"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"two_key/_platform.py","line":553,"snippet":"done = subprocess.run([\"/bin/ps\", \"-o\", \"ruid=\", \"-p\", str(ppid)],  # nosec B603 - fixed argv, no shell"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"two_key/backup.py","line":546,"snippet":"os.unlink(tmp)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"two_key/backup.py","line":747,"snippet":"os.unlink(path)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"two_key/cli.py","line":481,"snippet":"agent_session = os.environ.get(args.agent_session_env)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"two_key/cli.py","line":603,"snippet":"value = os.environ.get(name, \"\")"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"two_key/cli.py","line":708,"snippet":"value = os.environ.get(name)"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"two_key/config_set.py","line":758,"snippet":"os.unlink(tmp)"},{"rule":"network","severity":"info","title":"Makes network requests","file":"two_key/judges/transport.py","line":15,"snippet":"``urllib.request.urlopen`` and so followed redirects with the credential (#47)."},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"two_key/scanners.py","line":448,"snippet":"done = subprocess.run(argv, input=data, capture_output=True, timeout=_timeout(request),  # nosec B603  # nosemgrep: python.django.security.injection"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.Insomniac-VibeLabs/two-key","title":"Two-Key","description":"Authorization proxy for another MCP server: a rule check and AI judges approve each tool call","websiteUrl":"https://insomniac-vibelabs.github.io/Insomniac-VibeLabs-Webpage/two-key.html","repository":"https://github.com/Insomniac-VibeLabs/two-key","version":"0.8.0"}}