MCP server safety grade
Two-Key
Authorization proxy for another MCP server: a rule check and AI judges approve each tool call
uvx two-key · pypi two-key 0.8.0 · score 90/100 · scanned 2026-12-05
What it can do
- Yes: Network access
- Yes: Writes or deletes files
- Yes: Runs programs or shell commands
- Yes: Reads environment variables
- Yes: Runs code built at runtime
These are normal for many MCP servers. They tell you what the server could do with the access you give it.
Risk signals
- Builds and runs code at runtime
two_key/policy_vm.py:88def eval(self, action: Action) -> VMResult:
Package facts
| Weekly downloads | — |
|---|---|
| First published | 2026-10-17 |
| This version published | 2026-10-28 |
| Versions | 6 |
| Maintainers | — |
| Licence | Apache-2.0 |
| Source repository | github.com/Insomniac-VibeLabs/two-key |
| Runs scripts on install | No |
| Files in package | 211 (7,254 KB) |
| Web addresses in code | api.anthropic.com api.openai.com api.x.ai generativelanguage.googleapis.com |
Where we saw each capability (9 examples)
- Runs shell commands or other programs
two_key/_platform.py:553done = subprocess.run(["/bin/ps", "-o", "ruid=", "-p", str(ppid)], # nosec B603 - fixed argv, no shell
- Writes, moves or deletes files
two_key/backup.py:546os.unlink(tmp)
- Writes, moves or deletes files
two_key/backup.py:747os.unlink(path)
- Reads environment variables (where API keys usually live)
two_key/cli.py:481agent_session = os.environ.get(args.agent_session_env)
- Reads environment variables (where API keys usually live)
two_key/cli.py:603value = os.environ.get(name, "")
- Reads environment variables (where API keys usually live)
two_key/cli.py:708value = os.environ.get(name)
- Writes, moves or deletes files
two_key/config_set.py:758os.unlink(tmp)
- Makes network requests
two_key/judges/transport.py:15``urllib.request.urlopen`` and so followed redirects with the credential (#47).
- Runs shell commands or other programs
two_key/scanners.py:448done = subprocess.run(argv, input=data, capture_output=True, timeout=_timeout(request), # nosec B603 # nosemgrep: python.django.security.injection
Badge
Maintainer? Add it to your README:
[](https://nodekya.com/mcp/io-github-insomniac-vibelabs-two-key)
The badge updates when we re-grade a new release from the registry.
Automated scan of the published package, not a security audit. A good grade means we found none of the patterns we check for (method). Think we got it wrong? Email hello@primemoverindustries.com and we re-check within 2 days.
Need a package that isn't here checked, or a fresh check of an unreleased version? Check any npm or PyPI package (US$9).
This grade as JSON (free, for agents).