{
  "bomFormat": "CycloneDX",
  "specVersion": "1.7",
  "serialNumber": "urn:uuid:c0d28a71-453f-45a1-bc17-7ad685fa3955",
  "version": 1,
  "metadata": {
    "timestamp": "2026-10-10T17:55:58Z",
    "tools": {
      "components": [
        {
          "group": "@cyclonedx",
          "name": "cdxgen",
          "version": "12.8.5",
          "purl": "pkg:npm/%40cyclonedx/cdxgen@12.8.5",
          "type": "application",
          "bom-ref": "pkg:npm/@cyclonedx/cdxgen@12.8.5",
          "publisher": "OWASP Foundation",
          "authors": [
            {
              "name": "OWASP Foundation"
            }
          ]
        }
      ]
    },
    "authors": [
      {
        "name": "OWASP Foundation"
      }
    ],
    "lifecycles": [
      {
        "phase": "pre-build"
      }
    ],
    "component": {
      "name": "code-mode",
      "group": "@ai-sdk",
      "version": "1.0.93",
      "description": "QuickJS-backed code mode tool for AI SDK",
      "purl": "pkg:npm/%40ai-sdk/code-mode@1.0.93",
      "bom-ref": "pkg:npm/@ai-sdk/code-mode@1.0.93",
      "properties": [
        {
          "name": "cdx:npm:scripts",
          "value": "build, clean, type-check, test, test:watch, test:node, test:e2e"
        },
        {
          "name": "cdx:npm:buildScripts",
          "value": "build, test:watch"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "type": "application",
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "externalReferences": [
        {
          "type": "website",
          "url": "https://ai-sdk.dev/docs"
        },
        {
          "type": "vcs",
          "url": "https://github.com/vercel/ai"
        }
      ]
    },
    "properties": [
      {
        "name": "cdx:bom:componentTypes",
        "value": "npm"
      },
      {
        "name": "cdx:bom:componentNamespaces",
        "value": "@types\\n@vercel"
      },
      {
        "name": "cdx:bom:componentSrcFiles",
        "value": "node_modules/@types/node/package.json\\nnode_modules/@vercel/ai-tsconfig/package.json\\nnode_modules/ai/package.json\\nnode_modules/run/package.json\\nnode_modules/tsdown/package.json\\nnode_modules/typescript/package.json\\nnode_modules/zod/package.json"
      }
    ]
  },
  "components": [
    {
      "authors": [
        {
          "name": "Colin McDonnell <zod@colinhacks.com>"
        }
      ],
      "group": "",
      "name": "zod",
      "version": "3.25.76",
      "description": "TypeScript-first schema declaration and validation library with static type inference",
      "scope": "optional",
      "licenses": [
        {
          "license": {
            "id": "MIT",
            "url": "https://opensource.org/licenses/MIT",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/zod@3.25.76",
      "externalReferences": [
        {
          "type": "website",
          "url": "https://zod.dev"
        },
        {
          "type": "vcs",
          "url": "git+https://github.com/colinhacks/zod.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/zod@3.25.76",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/zod/package.json"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/zod/package.json"
              }
            ],
            "concludedValue": "node_modules/zod/package.json"
          }
        ]
      },
      "tags": [
        "validation"
      ]
    },
    {
      "authors": [
        {
          "name": "Microsoft Corp."
        }
      ],
      "group": "",
      "name": "typescript",
      "version": "6.0.3",
      "description": "TypeScript is a language for application scale JavaScript development",
      "scope": "optional",
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/typescript@6.0.3",
      "externalReferences": [
        {
          "type": "website",
          "url": "https://www.typescriptlang.org/"
        },
        {
          "type": "vcs",
          "url": "https://github.com/microsoft/TypeScript.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/typescript@6.0.3",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/typescript/package.json"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/typescript/package.json"
              }
            ],
            "concludedValue": "node_modules/typescript/package.json"
          }
        ]
      }
    },
    {
      "authors": [
        {
          "name": "Kevin Deng <sxzz@sxzz.moe>"
        }
      ],
      "group": "",
      "name": "tsdown",
      "version": "0.23.0",
      "description": "The Elegant Bundler for Libraries",
      "scope": "optional",
      "licenses": [
        {
          "license": {
            "id": "MIT",
            "url": "https://opensource.org/licenses/MIT",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/tsdown@0.23.0",
      "externalReferences": [
        {
          "type": "website",
          "url": "http://tsdown.dev/"
        },
        {
          "type": "vcs",
          "url": "git+https://github.com/rolldown/tsdown.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/tsdown@0.23.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/tsdown/package.json"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/tsdown/package.json"
              }
            ],
            "concludedValue": "node_modules/tsdown/package.json"
          }
        ]
      }
    },
    {
      "group": "",
      "name": "run",
      "version": "2.0.0",
      "description": "Secure QuickJS-backed JavaScript runtime with host functions and continuations",
      "scope": "required",
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/run@2.0.0",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "https://github.com/vercel-labs/run/tree/main/packages/run#readme"
        },
        {
          "type": "vcs",
          "url": "git+https://github.com/vercel-labs/run.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/run@2.0.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/run/package.json"
        },
        {
          "name": "ExportedModules",
          "value": "run-code-mode,run"
        },
        {
          "name": "ImportedModules",
          "value": "run,getHostFunctionContext,run/getHostFunctionContext,setMaxWorkers,run/setMaxWorkers,RunError,run/RunError,createRunner,run/createRunner,createSignedContinuationCodec,run/createSignedContinuationCodec,HostFunctions,run/HostFunctions,RunInterruption,run/RunInterruption,RunLimits,run/RunLimits,RunResolution,run/RunResolution"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/run/package.json"
              }
            ],
            "concludedValue": "node_modules/run/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/host-interrupt.js",
            "line": 1
          },
          {
            "location": "dist/host-interrupt.js",
            "line": 6
          },
          {
            "location": "dist/index.js",
            "line": 9
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 8
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 49
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 51
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 134
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 180
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 301
          },
          {
            "location": "dist/run-code-mode.js",
            "line": 307
          },
          {
            "location": "src/host-interrupt.ts",
            "line": 1
          },
          {
            "location": "src/host-interrupt.ts",
            "line": 19
          },
          {
            "location": "src/index.ts",
            "line": 34
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 12
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 101
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 103
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 266
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 336
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 617
          },
          {
            "location": "src/run-code-mode.ts",
            "line": 634
          }
        ]
      }
    },
    {
      "group": "",
      "name": "ai",
      "version": "7.0.136",
      "description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.",
      "scope": "required",
      "licenses": [
        {
          "license": {
            "id": "Apache-2.0",
            "url": "https://opensource.org/licenses/Apache-2.0",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/ai@7.0.136",
      "externalReferences": [
        {
          "type": "website",
          "url": "https://ai-sdk.dev/docs"
        },
        {
          "type": "vcs",
          "url": "https://github.com/vercel/ai"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/ai@7.0.136",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/ai/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "ai,experimental_toolCaller,ai/experimental_toolCaller,jsonSchema,ai/jsonSchema,tool,ai/tool,asSchema,ai/asSchema,ModelMessage,ai/ModelMessage,Experimental_ToolCallerTool,ai/Experimental_ToolCallerTool,Tool,ai/Tool"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/ai/package.json"
              }
            ],
            "concludedValue": "node_modules/ai/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/code-mode-tool.js",
            "line": 3
          },
          {
            "location": "dist/code-mode-tool.js",
            "line": 13
          },
          {
            "location": "dist/code-mode-tool.js",
            "line": 15
          },
          {
            "location": "dist/code-mode-tool.js",
            "line": 38
          },
          {
            "location": "dist/tool-invocation.js",
            "line": 4
          },
          {
            "location": "dist/tool-invocation.js",
            "line": 68
          },
          {
            "location": "dist/tool-prompt.js",
            "line": 1
          },
          {
            "location": "dist/tool-prompt.js",
            "line": 102
          },
          {
            "location": "dist/tool-prompt.js",
            "line": 113
          },
          {
            "location": "src/approval-continuation.ts",
            "line": 1
          },
          {
            "location": "src/code-mode-tool.ts",
            "line": 6
          },
          {
            "location": "src/code-mode-tool.ts",
            "line": 36
          },
          {
            "location": "src/code-mode-tool.ts",
            "line": 38
          },
          {
            "location": "src/code-mode-tool.ts",
            "line": 69
          },
          {
            "location": "src/tool-invocation.ts",
            "line": 1
          },
          {
            "location": "src/tool-invocation.ts",
            "line": 189
          },
          {
            "location": "src/tool-prompt.ts",
            "line": 1
          },
          {
            "location": "src/tool-prompt.ts",
            "line": 192
          },
          {
            "location": "src/tool-prompt.ts",
            "line": 210
          },
          {
            "location": "src/types.ts",
            "line": 1
          },
          {
            "location": "src/utils/test-helpers.ts",
            "line": 1
          }
        ]
      },
      "tags": [
        "ai"
      ]
    },
    {
      "group": "@vercel",
      "name": "ai-tsconfig",
      "version": "0.0.0",
      "scope": "optional",
      "licenses": [
        {
          "license": {
            "id": "MIT",
            "url": "https://opensource.org/licenses/MIT",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/%40vercel/ai-tsconfig@0.0.0",
      "type": "library",
      "bom-ref": "pkg:npm/@vercel/ai-tsconfig@0.0.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/@vercel/ai-tsconfig/package.json"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/@vercel/ai-tsconfig/package.json"
              }
            ],
            "concludedValue": "node_modules/@vercel/ai-tsconfig/package.json"
          }
        ]
      }
    },
    {
      "group": "@types",
      "name": "node",
      "version": "22.19.19",
      "description": "TypeScript definitions for node",
      "scope": "excluded",
      "licenses": [
        {
          "license": {
            "id": "MIT",
            "url": "https://opensource.org/licenses/MIT",
            "properties": [
              {
                "name": "cdx:license:category",
                "value": "Permissive"
              },
              {
                "name": "cdx:license:foss",
                "value": "true"
              },
              {
                "name": "cdx:license:osiApproved",
                "value": "true"
              },
              {
                "name": "cdx:license:fsfLibre",
                "value": "true"
              },
              {
                "name": "cdx:license:deprecated",
                "value": "false"
              }
            ]
          }
        }
      ],
      "purl": "pkg:npm/%40types/node@22.19.19",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node"
        },
        {
          "type": "vcs",
          "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/@types/node@22.19.19",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/@types/node/package.json"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/@types/node/package.json"
              }
            ],
            "concludedValue": "node_modules/@types/node/package.json"
          }
        ]
      }
    }
  ],
  "dependencies": [],
  "annotations": [
    {
      "bom-ref": "metadata-annotations",
      "subjects": [
        "pkg:npm/@ai-sdk/code-mode@1.0.93"
      ],
      "annotator": {
        "component": {
          "group": "@cyclonedx",
          "name": "cdxgen",
          "version": "12.8.5",
          "purl": "pkg:npm/%40cyclonedx/cdxgen@12.8.5",
          "type": "application",
          "bom-ref": "pkg:npm/@cyclonedx/cdxgen@12.8.5",
          "publisher": "OWASP Foundation",
          "authors": [
            {
              "name": "OWASP Foundation"
            }
          ]
        }
      },
      "timestamp": "2026-10-10T17:55:58Z",
      "text": "This Software Bill-of-Materials (SBOM) document was created on Saturday, October 10, 2026 with cdxgen. The data was captured during the pre-build lifecycle phase without building the application. The document describes an application named 'code-mode' with version '1.0.93'. The package type in this SBOM is npm with 2 purl namespaces described under components. The components were identified from 7 source files."
    }
  ]
}