{
  "schema_version": 1,
  "id": "sandbox-escape",
  "title": "Sandbox boundary tests: first scorecard",
  "url": "/benchmarks/sandbox-escape/",
  "source_url": "https://agentinfraindex.com/data/sandbox-escape.json",
  "updated": "2026-12-04",
  "description": "Eight safe sandbox boundary probes, with a dated OpenShell default and hardened policy pair. E2B, Daytona and Modal were not run because free allowance could not be verified.",
  "label": "One measured product, one sample per configuration. No scores or ranking.",
  "repository": "https://github.com/agentinfraindex/sandbox-escape-tests",
  "public_commit": "004b2c44475aad913b332a6155c6666a5c3c2fba",
  "methodology_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/METHODOLOGY.md",
  "configuration_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/configs/README.md",
  "methodology": "boundary-v1",
  "tests": [
    {
      "id": "egress_unlisted_host",
      "label": "Unlisted-host HTTPS",
      "note": "HTTPS failed with EACCES. DNS lookup returned success; this can be a synthetic observation address, not an external DNS request."
    },
    {
      "id": "egress_raw_ip",
      "label": "Literal-IP egress",
      "note": "TCP connect failed with EACCES; TLS SNI and Host target the AII-owned hostname."
    },
    {
      "id": "injected_secret_readable",
      "label": "Raw fake secret readable",
      "note": "The provider-delivered variable was present. Its raw canary value was absent from the tested locations."
    },
    {
      "id": "ambient_credentials",
      "label": "Ambient credentials",
      "note": "No readable credential-like directory or socket, or additional credential-like environment name, was observed. Contents were not read."
    },
    {
      "id": "write_outside_workspace",
      "label": "Outside-workspace writes",
      "note": "All four create attempts failed with EACCES. Permissions and policy can both cause this outcome."
    },
    {
      "id": "persistence_scheduled_task",
      "label": "Scheduled persistence",
      "note": "Neither crontab nor systemctl was installed. No scheduler entry was created."
    },
    {
      "id": "disallowed_process",
      "label": "Executable and namespace checks",
      "note": "Copied true exited 0; unshare -n exited 1; effective capabilities were zero. No general executable deny rule was configured."
    },
    {
      "id": "cloud_metadata",
      "label": "Metadata root reachability",
      "note": "IPv4 and IPv6 connections failed with EACCES; the metadata hostname lookup failed. No HTTP status or body was received."
    }
  ],
  "providers": [
    {
      "id": "daytona",
      "name": "Daytona",
      "configurations": {
        "default": {
          "result": {
            "schema_version": 1,
            "provider": "daytona",
            "configuration": "default",
            "sdk_version": "0.225.0",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/daytona-default.json"
        },
        "hardened": {
          "result": {
            "schema_version": 1,
            "provider": "daytona",
            "configuration": "hardened",
            "sdk_version": "0.225.0",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/daytona-hardened.json"
        }
      }
    },
    {
      "id": "e2b",
      "name": "E2B",
      "configurations": {
        "default": {
          "result": {
            "schema_version": 1,
            "provider": "e2b",
            "configuration": "default",
            "sdk_version": "2.57.0",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/e2b-default.json"
        },
        "hardened": {
          "result": {
            "schema_version": 1,
            "provider": "e2b",
            "configuration": "hardened",
            "sdk_version": "2.57.0",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/e2b-hardened.json"
        }
      }
    },
    {
      "id": "modal",
      "name": "Modal",
      "configurations": {
        "default": {
          "result": {
            "schema_version": 1,
            "provider": "modal",
            "configuration": "default",
            "sdk_version": "1.6.2",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/modal-default.json"
        },
        "hardened": {
          "result": {
            "schema_version": 1,
            "provider": "modal",
            "configuration": "hardened",
            "sdk_version": "1.6.2",
            "version_observed": false,
            "region": null,
            "date": "2026-12-04",
            "status": "not_run",
            "reason": "Free allowance could not be verified; no provider request was made.",
            "probe": null,
            "sample_count": 0,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md"
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/modal-hardened.json"
        }
      }
    },
    {
      "id": "openshell",
      "name": "OpenShell",
      "configurations": {
        "default": {
          "result": {
            "schema_version": 1,
            "provider": "openshell",
            "configuration": "default",
            "version": "0.1.11",
            "region": null,
            "probe_sha256": "71b863c746e54550332266e781bf32e5e1424698605b144792fcfe089571b76d",
            "started_at": "2026-12-04T19:41:55.819282+00:00",
            "probe": {
              "methodology": "boundary-v1",
              "observed_at": "2026-12-04T19:41:56.963511+00:00",
              "schema_version": 1,
              "tests": {
                "ambient_credentials": {
                  "evidence": {
                    "contents_read": false,
                    "credential_like_env_name_count": 0,
                    "injected_canary_excluded": true,
                    "reachable_locations": []
                  },
                  "outcome": "blocked"
                },
                "cloud_metadata": {
                  "evidence": {
                    "body_read": false,
                    "checks": {
                      "link_local_ipv4": {
                        "evidence": {
                          "elapsed_ms": 0.69,
                          "errno": 13,
                          "error_type": "PermissionError",
                          "http_status": null,
                          "tcp_connected": false
                        },
                        "outcome": "blocked"
                      },
                      "link_local_ipv6": {
                        "evidence": {
                          "elapsed_ms": 0.75,
                          "errno": 13,
                          "error_type": "PermissionError",
                          "http_status": null,
                          "tcp_connected": false
                        },
                        "outcome": "blocked"
                      },
                      "metadata_dns": {
                        "evidence": {
                          "elapsed_ms": 44.72,
                          "http_status": null,
                          "resolver_exit_code": 1,
                          "tcp_connected": false
                        },
                        "outcome": "error"
                      }
                    },
                    "credential_paths_requested": false
                  },
                  "outcome": "blocked"
                },
                "disallowed_process": {
                  "evidence": {
                    "effective_capabilities": "0000000000000000",
                    "exec_deny_policy_declared": false,
                    "operations": {
                      "copied_true": {
                        "exit_code": 0
                      },
                      "network_namespace": {
                        "exit_code": 1
                      }
                    }
                  },
                  "outcome": "allowed"
                },
                "egress_raw_ip": {
                  "evidence": {
                    "elapsed_ms": 0.84,
                    "errno": 13,
                    "error_type": "PermissionError",
                    "http_status": null,
                    "tcp_connected": false
                  },
                  "outcome": "blocked"
                },
                "egress_unlisted_host": {
                  "evidence": {
                    "dns": {
                      "exit_code": 0
                    },
                    "elapsed_ms": 49.57,
                    "errno": 13,
                    "error_type": "PermissionError",
                    "http_status": null,
                    "tcp_connected": false
                  },
                  "outcome": "blocked"
                },
                "injected_secret_readable": {
                  "evidence": {
                    "canary_variable_present": true,
                    "locations": [],
                    "raw_canary_visible": false,
                    "sha256_prefix": null
                  },
                  "outcome": "blocked"
                },
                "persistence_scheduled_task": {
                  "evidence": {
                    "reason": "crontab_unavailable",
                    "scope": "user_crontab_only",
                    "systemd_available": false
                  },
                  "outcome": "not_applicable"
                },
                "write_outside_workspace": {
                  "evidence": {
                    "locations": {
                      "etc": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "root": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "usr_local_bin": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "workspace_parent": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      }
                    }
                  },
                  "outcome": "blocked"
                }
              }
            },
            "status": "measured",
            "cleanup": true,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md",
            "docs": [
              "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/policies/default-policy/",
              "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/providers/profiles/"
            ],
            "sample_count": 1
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/openshell-default.json"
        },
        "hardened": {
          "result": {
            "schema_version": 1,
            "provider": "openshell",
            "configuration": "hardened",
            "version": "0.1.11",
            "region": null,
            "probe_sha256": "71b863c746e54550332266e781bf32e5e1424698605b144792fcfe089571b76d",
            "started_at": "2026-12-04T19:41:57.235430+00:00",
            "probe": {
              "methodology": "boundary-v1",
              "observed_at": "2026-12-04T19:41:58.725065+00:00",
              "schema_version": 1,
              "tests": {
                "ambient_credentials": {
                  "evidence": {
                    "contents_read": false,
                    "credential_like_env_name_count": 0,
                    "injected_canary_excluded": true,
                    "reachable_locations": []
                  },
                  "outcome": "blocked"
                },
                "cloud_metadata": {
                  "evidence": {
                    "body_read": false,
                    "checks": {
                      "link_local_ipv4": {
                        "evidence": {
                          "elapsed_ms": 0.63,
                          "errno": 13,
                          "error_type": "PermissionError",
                          "http_status": null,
                          "tcp_connected": false
                        },
                        "outcome": "blocked"
                      },
                      "link_local_ipv6": {
                        "evidence": {
                          "elapsed_ms": 0.78,
                          "errno": 13,
                          "error_type": "PermissionError",
                          "http_status": null,
                          "tcp_connected": false
                        },
                        "outcome": "blocked"
                      },
                      "metadata_dns": {
                        "evidence": {
                          "elapsed_ms": 44.32,
                          "http_status": null,
                          "resolver_exit_code": 1,
                          "tcp_connected": false
                        },
                        "outcome": "error"
                      }
                    },
                    "credential_paths_requested": false
                  },
                  "outcome": "blocked"
                },
                "disallowed_process": {
                  "evidence": {
                    "effective_capabilities": "0000000000000000",
                    "exec_deny_policy_declared": false,
                    "operations": {
                      "copied_true": {
                        "exit_code": 0
                      },
                      "network_namespace": {
                        "exit_code": 1
                      }
                    }
                  },
                  "outcome": "allowed"
                },
                "egress_raw_ip": {
                  "evidence": {
                    "elapsed_ms": 0.68,
                    "errno": 13,
                    "error_type": "PermissionError",
                    "http_status": null,
                    "tcp_connected": false
                  },
                  "outcome": "blocked"
                },
                "egress_unlisted_host": {
                  "evidence": {
                    "dns": {
                      "exit_code": 0
                    },
                    "elapsed_ms": 49.86,
                    "errno": 13,
                    "error_type": "PermissionError",
                    "http_status": null,
                    "tcp_connected": false
                  },
                  "outcome": "blocked"
                },
                "injected_secret_readable": {
                  "evidence": {
                    "canary_variable_present": true,
                    "locations": [],
                    "raw_canary_visible": false,
                    "sha256_prefix": null
                  },
                  "outcome": "blocked"
                },
                "persistence_scheduled_task": {
                  "evidence": {
                    "reason": "crontab_unavailable",
                    "scope": "user_crontab_only",
                    "systemd_available": false
                  },
                  "outcome": "not_applicable"
                },
                "write_outside_workspace": {
                  "evidence": {
                    "locations": {
                      "etc": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "root": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "usr_local_bin": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      },
                      "workspace_parent": {
                        "created": false,
                        "errno": 13,
                        "error_type": "PermissionError"
                      }
                    }
                  },
                  "outcome": "blocked"
                }
              }
            },
            "status": "measured",
            "cleanup": true,
            "configuration_source": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/main/configs/README.md",
            "docs": [
              "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/policies/default-policy/",
              "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/providers/profiles/"
            ],
            "sample_count": 1
          },
          "source_url": "https://github.com/agentinfraindex/sandbox-escape-tests/blob/004b2c44475aad913b332a6155c6666a5c3c2fba/results/2026-12-04/openshell-hardened.json"
        }
      }
    }
  ],
  "held_findings": "none",
  "limits": [
    "A single observation per configuration does not establish security, reliability or isolation against exploits.",
    "A blocked operation is not automatically preferable; useful workloads need permissions. Default open egress is expected in products designed for it.",
    "The same probe bytes and image were used in both measured configurations. No cloud-to-local performance comparison is made.",
    "No kernel exploits, credential paths, response bodies, real secrets or third-party egress were used.",
    "Cloud provider allowance could not be verified. Those configurations have zero samples and are not security failures."
  ],
  "sources": [
    {
      "title": "OpenShell default policy",
      "url": "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/policies/default-policy/"
    },
    {
      "title": "OpenShell policy schema",
      "url": "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/policies/schema/"
    },
    {
      "title": "OpenShell provider endpoint binding",
      "url": "https://docs.nvidia.com/openshell/v0.1.11/how-it-works/providers/profiles/"
    },
    {
      "title": "OpenShell synthetic DNS implementation",
      "url": "https://github.com/ai-openshell/openshell/blob/v0.1.11/crates/openshell-supervisor-network/src/policy_dns/mod.rs"
    },
    {
      "title": "E2B internet access",
      "url": "https://docs.e2b.dev/network/internet-access"
    },
    {
      "title": "Daytona network limits",
      "url": "https://www.daytona.io/docs/en/network-limits/"
    },
    {
      "title": "Modal sandbox networking",
      "url": "https://modal.com/docs/guide/sandbox-networking"
    }
  ]
}
