74trust / 100

Execution Environment Preflight

by NO HANDS AI in Developer tools

x402 APIPassing, checked 4 h ago

Review a caller-declared Agent sandbox, network, filesystem, credential scope and resource limits before code runs. Declarations are not inspected on any host; no code is executed and no environment is provisioned.

POST
https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight
Price
$2.00
per call in USDC
Uptime
97.9%
last 30 days
Response time
381 ms
693 ms slowest 5%
Last check
Passed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight

Each call costs $2.000001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight
content-type: application/json

{
  "action": {
    "decision_id": "dec_exec_001",
    "intent": "run unit tests",
    "policy_version": "execution-environment-policy-v1",
    "structured_action_proposal": true,
    "type": "CODE_EXECUTION"
  },
  "environment": {
    "credentials": {
      "browser_session": false,
      "host_credentials": false,
      "keychain": false,
      "requested_scopes": [],
      "ssh_agent": false
    },
    "dns_access": false,
    "filesystem": {
      "host_mounts": [],
      "read_scope": [
        "workspace"
      ],
      "write_scope": [
        "workspace/tmp"
      ]
    },
    "network_mode": "ALLOWLISTED",
    "outbound_destinations": [
      "https://registry.npmjs.org"
    ],
    "output_sanitization": {
      "binary_quarantine": true,
      "classify_untrusted": true,
      "external_link_handling": true,
      "instruction_data_separation": true,
      "mime_type_validation": true,
      "no_automatic_execution": true,
      "output_size_limit": true,
      "prompt_injection_scan": true,
      "provenance_tagging": true,
      "structured_extraction": true
    },
    "packages": {
      "external_binary_download": false,
      "install_requested": false,
      "lifecycle_scripts_present": false
    },
    "resources": {
      "child_processes": "BOUNDED",
      "cpu_limit": 2,
      "memory_mb": 1024,
      "process_limit": 32,
      "timeout_seconds": 600
    },
    "runtime_image": {
      "known": true,
      "trusted": true
    },
    "sandbox_profile": "L2_GVISOR",
    "worker": {
      "accepts_unstructured_natural_language": false,
      "control_plane_exposed": false,
      "decision_id": "dec_exec_001",
      "policy_version": "execution-environment-policy-v1"
    }
  }
}

Parameters

ParameterTypeRequiredDescription
actionobjectYes
environmentobjectYes
idempotency_keystringNo
replay_detectedbooleanNo

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 71 lines
{
  "browser_session_access": false,
  "credential_status": "NOT_REQUESTED",
  "decision": "ALLOW",
  "decision_id": "dec_exec_001",
  "deterministic": true,
  "docker_socket_accessed": false,
  "effective_sandbox_profile": "L2_GVISOR",
  "evaluated_at": "2026-11-01T00:00:00.000Z",
  "evaluation_mode": "DECLARED_CONFIGURATION_EVALUATED",
  "expires_at": "2026-11-01T00:05:00.000Z",
  "filesystem_status": "SCOPED",
  "host_credential_access": false,
  "llm_used": false,
  "network_status": "ALLOWLISTED",
  "output_sanitization_status": "DECLARED_COMPLIANT",
  "policy_version": "nomos-execution-environment-preflight-v1-20260724",
  "product": "nomos-execution-environment-preflight",
  "reason_codes": [],
  "requested_sandbox_profile": "L2_GVISOR",
  "required_controls": [
    "DECLARED_CONFIGURATION_EVALUATED",
    "CLASSIFY_UNTRUSTED",
    "PROMPT_INJECTION_SCAN",
    "INSTRUCTION_DATA_SEPARATION",
    "STRUCTURED_EXTRACTION",
    "PROVENANCE_TAGGING",
    "MIME_TYPE_VALIDATION",
    "OUTPUT_SIZE_LIMIT",
    "BINARY_QUARANTINE",
    "EXTERNAL_LINK_HANDLING",
    "NO_AUTOMATIC_EXECUTION"
  ],
  "required_sandbox_profile": "L1_CONTAINER",
  "resource_status": "BOUNDED",
  "result_id": "eep_20261101000000_2mow",
  "risk_level": "LOW",
  "sandbox_profile_status": "ACCEPTED",
  "schema_version": "1.0",
  "ssh_agent_access": false,
  "supported_reason_codes": [
    "PRIVILEGED_CONTAINER",
    "DOCKER_SOCKET_MOUNTED",
    "HOST_NETWORK_ENABLED",
    "HOST_PID_NAMESPACE",
    "UNRESTRICTED_HOST_VOLUME",
    "HOST_CREDENTIAL_MOUNT",
    "SSH_AGENT_ACCESS",
    "BROWSER_SESSION_ACCESS",
    "KEYCHAIN_ACCESS",
    "UNRESTRICTED_OUTBOUND_NETWORK",
    "REVERSE_SHELL_INDICATOR",
    "UNBOUNDED_RUNTIME",
    "UNBOUNDED_PROCESS_CREATION",
    "SANDBOX_PROFILE_DOWNGRADE",
    "ACTION_NOT_BOUND_TO_DECISION",
    "WORKER_ACCEPTS_UNSTRUCTURED_NATURAL_LANGUAGE",
    "PACKAGE_INSTALL_REQUESTED",
    "LIFECYCLE_SCRIPT_PRESENT",
    "EXTERNAL_BINARY_DOWNLOAD",
    "NEW_NETWORK_DESTINATION"
  ],
  "supported_sandbox_profiles": [
    "L1_CONTAINER",
    "L2_GVISOR",
    "L3_MICROVM"
  ],
  "unknown_code_executed": false,
  "unsupported_actions_executed": false,
  "worker_boundary_status": "BOUND"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $2.000001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight' \
  -H 'content-type: application/json' \
  --data-raw '{"action":{"decision_id":"dec_exec_001","intent":"run unit tests","policy_version":"execution-environment-policy-v1","structured_action_proposal":true,"type":"CODE_EXECUTION"},"environment":{"credentials":{"browser_session":false,"host_credentials":false,"keychain":false,"requested_scopes":[],"ssh_agent":false},"dns_access":false,"filesystem":{"host_mounts":[],"read_scope":["workspace"],"write_scope":["workspace/tmp"]},"network_mode":"ALLOWLISTED","outbound_destinations":["https://registry.npmjs.org"],"output_sanitization":{"binary_quarantine":true,"classify_untrusted":true,"external_link_handling":true,"instruction_data_separation":true,"mime_type_validation":true,"no_automatic_execution":true,"output_size_limit":true,"prompt_injection_scan":true,"provenance_tagging":true,"structured_extraction":true},"packages":{"external_binary_download":false,"install_requested":false,"lifecycle_scripts_present":false},"resources":{"child_processes":"BOUNDED","cpu_limit":2,"memory_mb":1024,"process_limit":32,"timeout_seconds":600},"runtime_image":{"known":true,"trusted":true},"sandbox_profile":"L2_GVISOR","worker":{"accepts_unstructured_natural_language":false,"control_plane_exposed":false,"decision_id":"dec_exec_001","policy_version":"execution-environment-policy-v1"}}}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight' \
  -H 'content-type: application/json' \
  --data-raw '{"action":{"decision_id":"dec_exec_001","intent":"run unit tests","policy_version":"execution-environment-policy-v1","structured_action_proposal":true,"type":"CODE_EXECUTION"},"environment":{"credentials":{"browser_session":false,"host_credentials":false,"keychain":false,"requested_scopes":[],"ssh_agent":false},"dns_access":false,"filesystem":{"host_mounts":[],"read_scope":["workspace"],"write_scope":["workspace/tmp"]},"network_mode":"ALLOWLISTED","outbound_destinations":["https://registry.npmjs.org"],"output_sanitization":{"binary_quarantine":true,"classify_untrusted":true,"external_link_handling":true,"instruction_data_separation":true,"mime_type_validation":true,"no_automatic_execution":true,"output_size_limit":true,"prompt_injection_scan":true,"provenance_tagging":true,"structured_extraction":true},"packages":{"external_binary_download":false,"install_requested":false,"lifecycle_scripts_present":false},"resources":{"child_processes":"BOUNDED","cpu_limit":2,"memory_mb":1024,"process_limit":32,"timeout_seconds":600},"runtime_image":{"known":true,"trusted":true},"sandbox_profile":"L2_GVISOR","worker":{"accepts_unstructured_natural_language":false,"control_plane_exposed":false,"decision_id":"dec_exec_001","policy_version":"execution-environment-policy-v1"}}}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $2.000001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$2.000001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $2.000001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fnohands-coinbase-bazaar.bytoken2023.workers.dev%2Fx402%2Fv1%2Fexecution%2Fenvironment-preflight&method=POST
const res = await pay("https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "action": {
      "decision_id": "dec_exec_001",
      "intent": "run unit tests",
      "policy_version": "execution-environment-policy-v1",
      "structured_action_proposal": true,
      "type": "CODE_EXECUTION"
    },
    "environment": {
      "credentials": {
        "browser_session": false,
        "host_credentials": false,
        "keychain": false,
        "requested_scopes": [],
        "ssh_agent": false
      },
      "dns_access": false,
      "filesystem": {
        "host_mounts": [],
        "read_scope": [
          "workspace"
        ],
        "write_scope": [
          "workspace/tmp"
        ]
      },
      "network_mode": "ALLOWLISTED",
      "outbound_destinations": [
        "https://registry.npmjs.org"
      ],
      "output_sanitization": {
        "binary_quarantine": true,
        "classify_untrusted": true,
        "external_link_handling": true,
        "instruction_data_separation": true,
        "mime_type_validation": true,
        "no_automatic_execution": true,
        "output_size_limit": true,
        "prompt_injection_scan": true,
        "provenance_tagging": true,
        "structured_extraction": true
      },
      "packages": {
        "external_binary_download": false,
        "install_requested": false,
        "lifecycle_scripts_present": false
      },
      "resources": {
        "child_processes": "BOUNDED",
        "cpu_limit": 2,
        "memory_mb": 1024,
        "process_limit": 32,
        "timeout_seconds": 600
      },
      "runtime_image": {
        "known": true,
        "trusted": true
      },
      "sandbox_profile": "L2_GVISOR",
      "worker": {
        "accepts_unstructured_natural_language": false,
        "control_plane_exposed": false,
        "decision_id": "dec_exec_001",
        "policy_version": "execution-environment-policy-v1"
      }
    }
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $2.000001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$2.000001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://nohands-coinbase-bazaar.bytoken2023.workers.dev/x402/v1/execution/environment-preflight",
        json={
            "action": {
                "decision_id": "dec_exec_001",
                "intent": "run unit tests",
                "policy_version": "execution-environment-policy-v1",
                "structured_action_proposal": True,
                "type": "CODE_EXECUTION",
            },
            "environment": {
                "credentials": {
                    "browser_session": False,
                    "host_credentials": False,
                    "keychain": False,
                    "requested_scopes": [],
                    "ssh_agent": False,
                },
                "dns_access": False,
                "filesystem": {
                    "host_mounts": [],
                    "read_scope": [
                        "workspace",
                    ],
                    "write_scope": [
                        "workspace/tmp",
                    ],
                },
                "network_mode": "ALLOWLISTED",
                "outbound_destinations": [
                    "https://registry.npmjs.org",
                ],
                "output_sanitization": {
                    "binary_quarantine": True,
                    "classify_untrusted": True,
                    "external_link_handling": True,
                    "instruction_data_separation": True,
                    "mime_type_validation": True,
                    "no_automatic_execution": True,
                    "output_size_limit": True,
                    "prompt_injection_scan": True,
                    "provenance_tagging": True,
                    "structured_extraction": True,
                },
                "packages": {
                    "external_binary_download": False,
                    "install_requested": False,
                    "lifecycle_scripts_present": False,
                },
                "resources": {
                    "child_processes": "BOUNDED",
                    "cpu_limit": 2,
                    "memory_mb": 1024,
                    "process_limit": 32,
                    "timeout_seconds": 600,
                },
                "runtime_image": {
                    "known": True,
                    "trusted": True,
                },
                "sandbox_profile": "L2_GVISOR",
                "worker": {
                    "accepts_unstructured_natural_language": False,
                    "control_plane_exposed": False,
                    "decision_id": "dec_exec_001",
                    "policy_version": "execution-environment-policy-v1",
                },
            },
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402443 ms$2.00
15 h agoPassed40248 ms$2.00
27 h agoPassed402147 ms$2.00
2 days agoTimed out---
4 days agoTimed out---
Show 10 older checks
5 days agoPassed402351 ms$2.00
5 days agoPassed402462 ms$2.00
6 days agoPassed402364 ms$2.00
6 days agoPassed402591 ms$2.00
6 days agoPassed402117 ms$2.00
7 days agoPassed402893 ms$2.00
7 days agoPassed402570 ms$2.00
7 days agoPassed402613 ms$2.00
8 days agoPassed402359 ms$2.00
8 days agoPassed402583 ms$2.00