{
  "bomFormat": "CycloneDX",
  "specVersion": "1.7",
  "serialNumber": "urn:uuid:f86e9759-6f65-4102-89af-26d00ed64bd8",
  "version": 1,
  "metadata": {
    "timestamp": "2026-09-10T14:00:39Z",
    "tools": {
      "components": [
        {
          "group": "@cyclonedx",
          "name": "cdxgen",
          "version": "12.8.4",
          "purl": "pkg:npm/%40cyclonedx/cdxgen@12.8.4",
          "type": "application",
          "bom-ref": "pkg:npm/@cyclonedx/cdxgen@12.8.4",
          "publisher": "OWASP Foundation",
          "authors": [
            {
              "name": "OWASP Foundation"
            }
          ]
        }
      ]
    },
    "authors": [
      {
        "name": "OWASP Foundation"
      }
    ],
    "lifecycles": [
      {
        "phase": "pre-build"
      }
    ],
    "component": {
      "name": "upgrade",
      "group": "@astrojs",
      "version": "0.6.0",
      "purl": "pkg:npm/%40astrojs/upgrade@0.6.0",
      "bom-ref": "pkg:npm/@astrojs/upgrade@0.6.0",
      "author": "withastro",
      "properties": [
        {
          "name": "cdx:npm:bin",
          "value": "./upgrade.mjs"
        },
        {
          "name": "cdx:npm:has_binary",
          "value": "true"
        },
        {
          "name": "cdx:npm:scripts",
          "value": "build, build:ci, dev, test"
        },
        {
          "name": "cdx:npm:buildScripts",
          "value": "build, build:ci"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "type": "application",
      "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"
              }
            ]
          }
        }
      ],
      "externalReferences": [
        {
          "type": "website",
          "url": "https://astro.build"
        },
        {
          "type": "vcs",
          "url": "git+https://github.com/withastro/astro.git"
        }
      ]
    },
    "properties": [
      {
        "name": "cdx:bom:componentTypes",
        "value": "npm"
      },
      {
        "name": "cdx:bom:componentNamespaces",
        "value": "@astrojs\\n@types"
      },
      {
        "name": "cdx:bom:componentSrcFiles",
        "value": "node_modules/@astrojs/cli-kit/package.json\\nnode_modules/@types/semver/package.json\\nnode_modules/arg/package.json\\nnode_modules/astro-scripts/package.json\\nnode_modules/package-manager-detector/package.json\\nnode_modules/semver/package.json\\nnode_modules/terminal-link/package.json"
      }
    ]
  },
  "components": [
    {
      "authors": [
        {
          "name": "Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)"
        }
      ],
      "group": "",
      "name": "terminal-link",
      "version": "3.0.0",
      "description": "Create clickable links in the terminal",
      "scope": "required",
      "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/terminal-link@3.0.0",
      "type": "library",
      "bom-ref": "pkg:npm/terminal-link@3.0.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/terminal-link/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "terminal-link"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/terminal-link/package.json"
              }
            ],
            "concludedValue": "node_modules/terminal-link/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/index.js",
            "line": 213
          },
          {
            "location": "dist/index.js",
            "line": 371
          },
          {
            "location": "src/messages.ts",
            "line": 5
          },
          {
            "location": "src/messages.ts",
            "line": 156
          }
        ]
      }
    },
    {
      "authors": [
        {
          "name": "GitHub Inc."
        }
      ],
      "group": "",
      "name": "semver",
      "version": "7.7.1",
      "description": "The semantic version parser used by npm.",
      "scope": "required",
      "licenses": [
        {
          "license": {
            "id": "ISC",
            "url": "https://opensource.org/licenses/ISC",
            "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/semver@7.7.1",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "git+https://github.com/npm/node-semver.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/semver@7.7.1",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/semver/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "semver/functions/coerce.js,semver/functions/diff.js,semver/functions/parse.js"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/semver/package.json"
              }
            ],
            "concludedValue": "node_modules/semver/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/index.js",
            "line": 588
          },
          {
            "location": "dist/index.js",
            "line": 649
          },
          {
            "location": "dist/index.js",
            "line": 714
          },
          {
            "location": "src/actions/verify.ts",
            "line": 7
          },
          {
            "location": "src/actions/verify.ts",
            "line": 84
          },
          {
            "location": "src/actions/verify.ts",
            "line": 160
          },
          {
            "location": "dist/index.js",
            "line": 589
          },
          {
            "location": "dist/index.js",
            "line": 590
          },
          {
            "location": "src/actions/verify.ts",
            "line": 8
          },
          {
            "location": "src/actions/verify.ts",
            "line": 9
          },
          {
            "location": "dist/index.js",
            "line": 716
          },
          {
            "location": "src/actions/verify.ts",
            "line": 162
          },
          {
            "location": "dist/index.js",
            "line": 715
          },
          {
            "location": "src/actions/verify.ts",
            "line": 161
          }
        ]
      }
    },
    {
      "authors": [
        {
          "name": "Anthony Fu <anthonyfu117@hotmail.com>"
        }
      ],
      "group": "",
      "name": "package-manager-detector",
      "version": "1.1.0",
      "description": "Package manager detector",
      "scope": "required",
      "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/package-manager-detector@1.1.0",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "https://github.com/antfu-collective/package-manager-detector#readme"
        },
        {
          "type": "vcs",
          "url": "git+https://github.com/antfu-collective/package-manager-detector.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/package-manager-detector@1.1.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/package-manager-detector/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "package-manager-detector,detect,package-manager-detector/detect,resolveCommand,package-manager-detector/resolveCommand,DetectResult,package-manager-detector/DetectResult"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/package-manager-detector/package.json"
              }
            ],
            "concludedValue": "node_modules/package-manager-detector/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/index.js",
            "line": 175
          },
          {
            "location": "dist/index.js",
            "line": 185
          },
          {
            "location": "dist/index.js",
            "line": 212
          },
          {
            "location": "dist/index.js",
            "line": 259
          },
          {
            "location": "dist/index.js",
            "line": 445
          },
          {
            "location": "dist/index.js",
            "line": 523
          },
          {
            "location": "src/actions/context.ts",
            "line": 4
          },
          {
            "location": "src/actions/context.ts",
            "line": 41
          },
          {
            "location": "src/actions/install.ts",
            "line": 8
          },
          {
            "location": "src/actions/install.ts",
            "line": 127
          },
          {
            "location": "src/messages.ts",
            "line": 4
          },
          {
            "location": "src/messages.ts",
            "line": 17
          }
        ]
      }
    },
    {
      "group": "",
      "name": "astro-scripts",
      "version": "0.0.14",
      "scope": "optional",
      "purl": "pkg:npm/astro-scripts@0.0.14",
      "type": "library",
      "bom-ref": "pkg:npm/astro-scripts@0.0.14",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/astro-scripts/package.json"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/astro-scripts/package.json"
              }
            ],
            "concludedValue": "node_modules/astro-scripts/package.json"
          }
        ]
      }
    },
    {
      "authors": [
        {
          "name": "Josh Junon <junon@wavetilt.com>"
        }
      ],
      "group": "",
      "name": "arg",
      "version": "5.0.2",
      "description": "Unopinionated, no-frills CLI argument parser",
      "scope": "required",
      "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/arg@5.0.2",
      "type": "library",
      "bom-ref": "pkg:npm/arg@5.0.2",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/arg/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "arg"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/arg/package.json"
              }
            ],
            "concludedValue": "node_modules/arg/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "src/actions/context.ts",
            "line": 3
          },
          {
            "location": "src/actions/context.ts",
            "line": 31
          }
        ]
      },
      "tags": [
        "cli"
      ]
    },
    {
      "group": "@types",
      "name": "semver",
      "version": "7.7.0",
      "description": "TypeScript definitions for semver",
      "scope": "required",
      "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/semver@7.7.0",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver"
        },
        {
          "type": "vcs",
          "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/@types/semver@7.7.0",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/@types/semver/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/semver/package.json"
              }
            ],
            "concludedValue": "node_modules/@types/semver/package.json"
          }
        ]
      }
    },
    {
      "group": "@astrojs",
      "name": "cli-kit",
      "version": "0.4.1",
      "scope": "required",
      "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/%40astrojs/cli-kit@0.4.1",
      "externalReferences": [
        {
          "type": "vcs",
          "url": "https://github.com/withastro/cli-kit.git"
        }
      ],
      "type": "library",
      "bom-ref": "pkg:npm/@astrojs/cli-kit@0.4.1",
      "properties": [
        {
          "name": "SrcFile",
          "value": "node_modules/@astrojs/cli-kit/package.json"
        },
        {
          "name": "ImportedModules",
          "value": "@astrojs/cli-kit,prompt,@astrojs/cli-kit/prompt,color,@astrojs/cli-kit/color,label,@astrojs/cli-kit/label,spinner,@astrojs/cli-kit/spinner,@astrojs/cli-kit/say,@astrojs/cli-kit/utils,align,@astrojs/cli-kit/utils/align,random,@astrojs/cli-kit/utils/random,sleep,@astrojs/cli-kit/utils/sleep"
        },
        {
          "name": "cdx:license:category",
          "value": "Permissive"
        }
      ],
      "evidence": {
        "identity": [
          {
            "field": "purl",
            "confidence": 0.7,
            "methods": [
              {
                "technique": "manifest-analysis",
                "confidence": 0.7,
                "value": "node_modules/@astrojs/cli-kit/package.json"
              }
            ],
            "concludedValue": "node_modules/@astrojs/cli-kit/package.json"
          }
        ],
        "occurrences": [
          {
            "location": "dist/index.js",
            "line": 174
          },
          {
            "location": "dist/index.js",
            "line": 210
          },
          {
            "location": "dist/index.js",
            "line": 274
          },
          {
            "location": "dist/index.js",
            "line": 315
          },
          {
            "location": "dist/index.js",
            "line": 320
          },
          {
            "location": "dist/index.js",
            "line": 322
          },
          {
            "location": "dist/index.js",
            "line": 328
          },
          {
            "location": "dist/index.js",
            "line": 329
          },
          {
            "location": "dist/index.js",
            "line": 332
          },
          {
            "location": "dist/index.js",
            "line": 338
          },
          {
            "location": "dist/index.js",
            "line": 347
          },
          {
            "location": "dist/index.js",
            "line": 349
          },
          {
            "location": "dist/index.js",
            "line": 352
          },
          {
            "location": "dist/index.js",
            "line": 356
          },
          {
            "location": "dist/index.js",
            "line": 357
          },
          {
            "location": "dist/index.js",
            "line": 359
          },
          {
            "location": "dist/index.js",
            "line": 364
          },
          {
            "location": "dist/index.js",
            "line": 365
          },
          {
            "location": "dist/index.js",
            "line": 367
          },
          {
            "location": "dist/index.js",
            "line": 377
          },
          {
            "location": "dist/index.js",
            "line": 379
          },
          {
            "location": "dist/index.js",
            "line": 399
          },
          {
            "location": "dist/index.js",
            "line": 405
          },
          {
            "location": "dist/index.js",
            "line": 443
          },
          {
            "location": "dist/index.js",
            "line": 569
          },
          {
            "location": "dist/index.js",
            "line": 575
          },
          {
            "location": "dist/index.js",
            "line": 587
          },
          {
            "location": "dist/index.js",
            "line": 613
          },
          {
            "location": "src/actions/context.ts",
            "line": 2
          },
          {
            "location": "src/actions/install.ts",
            "line": 6
          },
          {
            "location": "src/actions/install.ts",
            "line": 175
          },
          {
            "location": "src/actions/install.ts",
            "line": 182
          },
          {
            "location": "src/actions/verify.ts",
            "line": 6
          },
          {
            "location": "src/actions/verify.ts",
            "line": 39
          },
          {
            "location": "src/messages.ts",
            "line": 2
          },
          {
            "location": "src/messages.ts",
            "line": 40
          },
          {
            "location": "src/messages.ts",
            "line": 88
          },
          {
            "location": "src/messages.ts",
            "line": 94
          },
          {
            "location": "src/messages.ts",
            "line": 97
          },
          {
            "location": "src/messages.ts",
            "line": 104
          },
          {
            "location": "src/messages.ts",
            "line": 105
          },
          {
            "location": "src/messages.ts",
            "line": 108
          },
          {
            "location": "src/messages.ts",
            "line": 116
          },
          {
            "location": "src/messages.ts",
            "line": 127
          },
          {
            "location": "src/messages.ts",
            "line": 129
          },
          {
            "location": "src/messages.ts",
            "line": 134
          },
          {
            "location": "src/messages.ts",
            "line": 139
          },
          {
            "location": "src/messages.ts",
            "line": 140
          },
          {
            "location": "src/messages.ts",
            "line": 142
          },
          {
            "location": "src/messages.ts",
            "line": 148
          },
          {
            "location": "src/messages.ts",
            "line": 149
          },
          {
            "location": "src/messages.ts",
            "line": 151
          },
          {
            "location": "src/messages.ts",
            "line": 163
          },
          {
            "location": "src/messages.ts",
            "line": 165
          },
          {
            "location": "src/messages.ts",
            "line": 192
          },
          {
            "location": "src/messages.ts",
            "line": 201
          },
          {
            "location": "dist/index.js",
            "line": 211
          },
          {
            "location": "dist/index.js",
            "line": 444
          },
          {
            "location": "dist/index.js",
            "line": 454
          },
          {
            "location": "dist/index.js",
            "line": 458
          },
          {
            "location": "src/actions/install.ts",
            "line": 7
          },
          {
            "location": "src/actions/install.ts",
            "line": 42
          },
          {
            "location": "src/actions/install.ts",
            "line": 46
          },
          {
            "location": "src/messages.ts",
            "line": 3
          }
        ]
      }
    }
  ],
  "dependencies": [],
  "annotations": [
    {
      "bom-ref": "metadata-annotations",
      "subjects": [
        "pkg:npm/@astrojs/upgrade@0.6.0"
      ],
      "annotator": {
        "component": {
          "group": "@cyclonedx",
          "name": "cdxgen",
          "version": "12.8.4",
          "purl": "pkg:npm/%40cyclonedx/cdxgen@12.8.4",
          "type": "application",
          "bom-ref": "pkg:npm/@cyclonedx/cdxgen@12.8.4",
          "publisher": "OWASP Foundation",
          "authors": [
            {
              "name": "OWASP Foundation"
            }
          ]
        }
      },
      "timestamp": "2026-09-10T14:00:39Z",
      "text": "This Software Bill-of-Materials (SBOM) document was created on Thursday, September 10, 2026 with cdxgen. The data was captured during the pre-build lifecycle phase without building the application. The document describes an application named 'upgrade' with version '0.6.0'. The package type in this SBOM is npm with 2 purl namespaces described under components. The components were identified from 7 source files."
    }
  ]
}