)]}'
{
  "commit": "fc67a756738b669f6a6b2023c250e7d7b52a7a32",
  "tree": "04cabe28ed0301768a2d6c840a433e6ba99586ae",
  "parents": [
    "27be972d9d6f7622997759992314630a45802ef9"
  ],
  "author": {
    "name": "John Ryan",
    "email": "ryjohn@google.com",
    "time": "Mon Nov 16 23:44:49 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 16 15:44:49 2026 -0800"
  },
  "message": "Fix vulnerability in identifier for extension configuration (#10090)\n\n* PR https://github.com/flutter/devtools/pull/9981 added the `identifier` getter to `DevToolsExtensionConfig`, which built it based on the `packageName`, `name`, and `version`, separated by underscores. This makes it vulnerable if\npackage names contain underscores.\n\n```\nString get identifier \u003d\u003e packageName \u003d\u003d displayName\n    ? \u0027${displayName}_$version\u0027\n    : \u0027${packageName}_${displayName}_$version\u0027;\n```\n\nIf a legitimate extension belongs to package device_preview (with name: device_preview and version: 1.0.0), its `packageName \u003d\u003d displayName` branch produces: `device_preview_1.0.0` An attacker can publish a package named device and set `name: preview`and `version: 1.0.0`in its config.yaml, and because `packageName !\u003d displayName`, it takes the second branch (`${packageName}_${displayName}_$version`), which also produces: device_preview_1.0.0.\n\nThis change uses a hyphen between `packageName` and `displayName` and validates that the name and version are valid.\n\n* Address code review comments\n\n* Update NEXT_RELEASE_NOTES.md\n\n* release notes formatting",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3133ac7a79508f55dcf486f4a9cd1889c565cf0c",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/lib/src/extensions/extension_service_helpers.dart",
      "new_id": "529b1ddd4edc828a367888676353aefa94f77a85",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/lib/src/extensions/extension_service_helpers.dart"
    },
    {
      "type": "modify",
      "old_id": "3556e18497f2178533397a7540e2eb9ce7e41b74",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md",
      "new_id": "1dfdcb637d382d4ee850b4279a6e7fc74edd5581",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/release_notes/NEXT_RELEASE_NOTES.md"
    },
    {
      "type": "modify",
      "old_id": "fbf0129b6f49de48c4e612506e39c68724f70079",
      "old_mode": 33188,
      "old_path": "packages/devtools_app/test/extensions/extension_service_helpers_test.dart",
      "new_id": "3c0f41565b03cd1e8f3f63438b3f373be0e7aee9",
      "new_mode": 33188,
      "new_path": "packages/devtools_app/test/extensions/extension_service_helpers_test.dart"
    },
    {
      "type": "modify",
      "old_id": "30f36cc1b669fa805fe51319fdbf9fd7b7555b65",
      "old_mode": 33188,
      "old_path": "packages/devtools_extensions/bin/_validate.dart",
      "new_id": "72707c580c238bd096930d7e60b97e30a47ec674",
      "new_mode": 33188,
      "new_path": "packages/devtools_extensions/bin/_validate.dart"
    },
    {
      "type": "modify",
      "old_id": "3616638041d41ab664114a95ca8898bd9af0b479",
      "old_mode": 33188,
      "old_path": "packages/devtools_extensions/test/validate_test.dart",
      "new_id": "996636c8c6a792032d0aa30c51aa6f090b6fe18f",
      "new_mode": 33188,
      "new_path": "packages/devtools_extensions/test/validate_test.dart"
    },
    {
      "type": "modify",
      "old_id": "7ec18dbf67d31b1434b72977faa59cd977209394",
      "old_mode": 33188,
      "old_path": "packages/devtools_shared/CHANGELOG.md",
      "new_id": "50bc259549b73050bcec3e8f096b122a3d3f24e0",
      "new_mode": 33188,
      "new_path": "packages/devtools_shared/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "1f14661da0ad6e84a604bb5f1daa114b65f9b284",
      "old_mode": 33188,
      "old_path": "packages/devtools_shared/lib/src/extensions/extension_model.dart",
      "new_id": "470a0e0532fb2ceb0cee7b9eee4dd976f882849b",
      "new_mode": 33188,
      "new_path": "packages/devtools_shared/lib/src/extensions/extension_model.dart"
    },
    {
      "type": "modify",
      "old_id": "3a98e0445b8f13e4913fe90373f1e398830406ce",
      "old_mode": 33188,
      "old_path": "packages/devtools_shared/test/extensions/extension_model_test.dart",
      "new_id": "228904edc128c476bb19d8b29fa3ac55b77b84d5",
      "new_mode": 33188,
      "new_path": "packages/devtools_shared/test/extensions/extension_model_test.dart"
    },
    {
      "type": "modify",
      "old_id": "ec672bff0dc45e61d4883e2fef5a02bbaaa9d3f2",
      "old_mode": 33188,
      "old_path": "packages/devtools_shared/test/server/devtools_extensions_api_test.dart",
      "new_id": "044d88620bddb58d996f06a25429523591cb0c49",
      "new_mode": 33188,
      "new_path": "packages/devtools_shared/test/server/devtools_extensions_api_test.dart"
    }
  ]
}
