)]}'
{
  "commit": "ded2af964d64128cd89dd9ff54ffad3d084efc67",
  "tree": "b07fe38ee7f77788348c23b8fd7741a00b6836c6",
  "parents": [
    "ca5550184e080bd6b9bc0fe8e8bb965493ebfff4"
  ],
  "author": {
    "name": "Mario Limonciello",
    "email": "mario.limonciello@amd.com",
    "time": "Wed May 27 19:56:57 2026 +0100"
  },
  "committer": {
    "name": "Mario Limonciello",
    "email": "superm1@kernel.org",
    "time": "Wed May 27 20:07:37 2026 +0100"
  },
  "message": "Enable Jinja2 autoescape to prevent XSS attacks\n\nEnable autoescape\u003dTrue when creating the Jinja2 Environment to\nautomatically escape all template variables by default. This provides\ndefense-in-depth protection against XSS attacks from database-sourced\ncontent rendered in HTML reports.\n\nVariables that contain pre-escaped HTML (constructed with html.escape()\nand wrapped in Markup()) are correctly preserved and not double-escaped.\n\nThis complements the manual escaping added in the previous commit by\nensuring that any template variables not explicitly handled are still\nsafely escaped.\n\nCo-Authored-By: Claude Opus 4.6 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ad302978a0c8a1e135d713e93d7986aeba013536",
      "old_mode": 33188,
      "old_path": "src/amd_debug/sleep_report.py",
      "new_id": "5d10ca6b8c0048a42ac4e6c442870ae2d54065f8",
      "new_mode": 33188,
      "new_path": "src/amd_debug/sleep_report.py"
    }
  ]
}
