{
  "schema": "teum-report-1",
  "name": "[샘플] 프로필 서비스 · 모두 0건",
  "run_id": "R-046",
  "source_sha256": "0544c8e08df0df591da594bfde557e539c3619dcaec1a885c123aa474116c7b6",
  "input_kind": "code",
  "source": {
    "fullName": "teum-sample/ai-empty",
    "commitSha": "32a519f395936c80d8c2825e27d4d7a16a587e2c",
    "ref": "main",
    "path": "",
    "selectedFiles": 8,
    "totalFiles": 8,
    "excludedFiles": 0
  },
  "website": null,
  "status": "partial",
  "created_at": "2026-10-10T17:00:00.000Z",
  "engine_versions": {
    "semgrep": "1.178.0",
    "gitleaks": "8.30.1",
    "osv": "api-v1",
    "typescript_flow": "teum-typescript-flow-0.6",
    "typescript_authorization": "teum-typescript-authorization-0.9",
    "typescript_server_data": "teum-typescript-server-data-0.1",
    "typescript_local": "teum-typescript-local-0.2",
    "native_toolchain": "0a2d98c38b4beb858229562b36fea48702146c93729605f729d878c15de69f75",
    "native_validation": "d6b19c64c8894d3448810d18bbe8b4d37386800b8521eb8a396cb58c486d2a69",
    "native_policy_revision": "1"
  },
  "rules_sha256": "5c8d9e43567aca4f912b85374839eef54916d70415713b91080cddd976bf45f5",
  "ai_status": "completed",
  "review_policy": "teum-review-2026-10-03",
  "ai_review": {
    "status": "completed",
    "report": {
      "schema": "teum-repository-review-1",
      "policy_version": "teum-review-sample",
      "model": "체험용 예시 · 실제 AI 호출 없음",
      "source_sha256": "0544c8e08df0df591da594bfde557e539c3619dcaec1a885c123aa474116c7b6",
      "summary": "세션에서 얻은 사용자 ID로 본인 행을 선택해요. 저장 객체에는 검증한 표시 이름만 들어가요. 역할 필드도 저장될 수 있다는 후보는 이 코드 근거로 제외했어요.",
      "limitations": [
        "공개 체험용 코드와 검토 예시예요. 실제 AI 호출·코드 실행·공격 재현을 수행하지 않았어요.",
        "배포된 DB의 정책과 세션 검증 설정은 확인할 수 없어요."
      ],
      "usage": {
        "requests": 0,
        "input_tokens": 0,
        "output_tokens": 0
      },
      "coverage": {
        "available_files": 8,
        "excluded_files": 0,
        "provided_files": 8,
        "provided_lines": 56,
        "total_lines": 56,
        "supplied_bytes": 5045,
        "files": [
          {
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb",
            "path": "src/session.ts",
            "lines": [
              1,
              2,
              3
            ]
          },
          {
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308",
            "path": "src/database.ts",
            "lines": [
              1,
              2
            ]
          },
          {
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d",
            "path": "src/profile.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          {
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5",
            "path": "src/profile-route.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          {
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
            "path": "app/api/profiles/route.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17
            ]
          },
          {
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
            "path": "lib/database.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          {
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26",
            "path": "app/profiles/panel.tsx",
            "lines": [
              1,
              2
            ]
          },
          {
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
            "path": "app/profiles/page.tsx",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11
            ]
          }
        ]
      },
      "verification_coverage": {
        "available_files": 8,
        "excluded_files": 0,
        "provided_files": 1,
        "provided_lines": 5,
        "total_lines": 56,
        "supplied_bytes": 486,
        "files": [
          {
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d",
            "path": "src/profile.ts",
            "lines": [
              2,
              3,
              4,
              5,
              6
            ]
          }
        ]
      },
      "review_checks": [
        {
          "hypothesis_id": "hypothesis-1",
          "status": "investigated",
          "reason": "저장 객체에는 검증한 표시 이름만 들어가요. 역할 필드도 저장될 수 있다는 후보는 이 코드 근거로 제외했어요.",
          "evidence": [
            {
              "file_id": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d",
              "start_line": 2,
              "end_line": 6,
              "quote": "export async function updateProfile(userId, input) {\n  const displayName = typeof input?.displayName === 'string' ? input.displayName.trim() : '';\n  if (!displayName || displayName.length > 80) throw new Error('Invalid display name');\n  return db.user.update({ where: { id: userId }, data: { displayName } });\n}",
              "role": "control"
            }
          ],
          "question": "프로필 수정 요청으로 역할까지 변경할 수 있나요?"
        }
      ],
      "scope_gaps": {
        "not_read_files": 0,
        "partial_files": 0,
        "excluded_files": 0,
        "files": [],
        "omitted_files": 0
      },
      "findings": [],
      "dismissed_count": 1,
      "uncertain_count": 0
    }
  },
  "ai_workflow": [],
  "stages": [
    {
      "kind": "static",
      "status": "completed",
      "coverage": {
        "files": [
          {
            "path": "src/session.ts",
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
          },
          {
            "path": "src/database.ts",
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
          },
          {
            "path": "src/profile.ts",
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
          },
          {
            "path": "src/profile-route.ts",
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
          },
          {
            "path": "app/api/profiles/route.ts",
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
          },
          {
            "path": "lib/database.ts",
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
          },
          {
            "path": "app/profiles/panel.tsx",
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
          },
          {
            "path": "app/profiles/page.tsx",
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
          }
        ],
        "excluded": []
      },
      "error_code": null
    },
    {
      "kind": "secrets",
      "status": "completed",
      "coverage": {
        "files": [
          {
            "path": "src/session.ts",
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
          },
          {
            "path": "src/database.ts",
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
          },
          {
            "path": "src/profile.ts",
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
          },
          {
            "path": "src/profile-route.ts",
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
          },
          {
            "path": "app/api/profiles/route.ts",
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
          },
          {
            "path": "lib/database.ts",
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
          },
          {
            "path": "app/profiles/panel.tsx",
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
          },
          {
            "path": "app/profiles/page.tsx",
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
          }
        ],
        "excluded": []
      },
      "error_code": null
    },
    {
      "kind": "dependencies",
      "status": "unsupported",
      "coverage": {
        "files": [],
        "excluded": []
      },
      "error_code": "dependency_files_missing"
    },
    {
      "kind": "flow",
      "status": "partial",
      "coverage": {
        "supplied_files": 8,
        "parsed_files": 8,
        "entrypoints": 1,
        "visited_files": 1,
        "steps": 117,
        "calls": 1,
        "mode": "native_analysis",
        "engine_version": "teum-typescript-flow-0.6",
        "files": [
          {
            "path": "src/session.ts",
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
          },
          {
            "path": "src/database.ts",
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
          },
          {
            "path": "src/profile.ts",
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
          },
          {
            "path": "src/profile-route.ts",
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
          },
          {
            "path": "app/api/profiles/route.ts",
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
          },
          {
            "path": "lib/database.ts",
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
          },
          {
            "path": "app/profiles/panel.tsx",
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
          },
          {
            "path": "app/profiles/page.tsx",
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
          }
        ],
        "unknowns": 36,
        "policy_state": "bound"
      },
      "error_code": null
    },
    {
      "kind": "authorization",
      "status": "partial",
      "coverage": {
        "supplied_files": 8,
        "parsed_files": 8,
        "entrypoints": 1,
        "visited_files": 8,
        "steps": 628,
        "calls": 13,
        "mode": "native_analysis",
        "engine_version": "teum-typescript-authorization-0.9",
        "files": [
          {
            "path": "src/session.ts",
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
          },
          {
            "path": "src/database.ts",
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
          },
          {
            "path": "src/profile.ts",
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
          },
          {
            "path": "src/profile-route.ts",
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
          },
          {
            "path": "app/api/profiles/route.ts",
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
          },
          {
            "path": "lib/database.ts",
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
          },
          {
            "path": "app/profiles/panel.tsx",
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
          },
          {
            "path": "app/profiles/page.tsx",
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
          }
        ],
        "unknowns": 1,
        "policy_state": "bound"
      },
      "error_code": null
    },
    {
      "kind": "server_data",
      "status": "partial",
      "coverage": {
        "supplied_files": 8,
        "parsed_files": 8,
        "entrypoints": 1,
        "visited_files": 2,
        "steps": 52,
        "calls": 9,
        "client_bodies_analyzed": 0,
        "mode": "native_analysis",
        "engine_version": "teum-typescript-server-data-0.1",
        "files": [
          {
            "path": "src/session.ts",
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
          },
          {
            "path": "src/database.ts",
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
          },
          {
            "path": "src/profile.ts",
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
          },
          {
            "path": "src/profile-route.ts",
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
          },
          {
            "path": "app/api/profiles/route.ts",
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
          },
          {
            "path": "lib/database.ts",
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
          },
          {
            "path": "app/profiles/panel.tsx",
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
          },
          {
            "path": "app/profiles/page.tsx",
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
          }
        ],
        "unknowns": 5,
        "policy_state": "not_configured"
      },
      "error_code": null
    },
    {
      "kind": "ai",
      "status": "completed",
      "coverage": {
        "mode": "repository_review",
        "available_files": 8,
        "excluded_files": 0,
        "provided_files": 8,
        "provided_lines": 56,
        "total_lines": 56,
        "supplied_bytes": 5045,
        "files": [
          {
            "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb",
            "path": "src/session.ts",
            "lines": [
              1,
              2,
              3
            ]
          },
          {
            "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308",
            "path": "src/database.ts",
            "lines": [
              1,
              2
            ]
          },
          {
            "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d",
            "path": "src/profile.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          {
            "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5",
            "path": "src/profile-route.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9
            ]
          },
          {
            "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
            "path": "app/api/profiles/route.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11,
              12,
              13,
              14,
              15,
              16,
              17
            ]
          },
          {
            "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
            "path": "lib/database.ts",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6
            ]
          },
          {
            "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26",
            "path": "app/profiles/panel.tsx",
            "lines": [
              1,
              2
            ]
          },
          {
            "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
            "path": "app/profiles/page.tsx",
            "lines": [
              1,
              2,
              3,
              4,
              5,
              6,
              7,
              8,
              9,
              10,
              11
            ]
          }
        ]
      },
      "error_code": null
    }
  ],
  "native_analysis": {
    "archive_sha256": "0544c8e08df0df591da594bfde557e539c3619dcaec1a885c123aa474116c7b6",
    "input_sha256": "dbae933f043a35e5bb5e26ea4c3c1befbac5ba396fd6485b486e4e0d7027afca",
    "toolchain_sha256": "0a2d98c38b4beb858229562b36fea48702146c93729605f729d878c15de69f75",
    "validation_sha256": "d6b19c64c8894d3448810d18bbe8b4d37386800b8521eb8a396cb58c486d2a69",
    "files": [
      {
        "path": "src/session.ts",
        "path_hash": "96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb"
      },
      {
        "path": "src/database.ts",
        "path_hash": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308"
      },
      {
        "path": "src/profile.ts",
        "path_hash": "248ec50f84308b93508694104399e054557d9335b712e479bda100feaaced45d"
      },
      {
        "path": "src/profile-route.ts",
        "path_hash": "bef134758c798bbbd0a43b09de714e00179270756295496b1b4bf16b2a7586b5"
      },
      {
        "path": "app/api/profiles/route.ts",
        "path_hash": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e"
      },
      {
        "path": "lib/database.ts",
        "path_hash": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326"
      },
      {
        "path": "app/profiles/panel.tsx",
        "path_hash": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26"
      },
      {
        "path": "app/profiles/page.tsx",
        "path_hash": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4"
      }
    ],
    "policy": {
      "state": "bound",
      "revision": 1,
      "enforcement": "unverified"
    },
    "origin": "analysis",
    "schema": "teum-native-analysis-2",
    "components": {
      "flow": {
        "engine_version": "teum-typescript-flow-0.6",
        "status": "partial",
        "error_code": null,
        "coverage": {
          "supplied_files": 8,
          "parsed_files": 8,
          "entrypoints": 1,
          "visited_files": 1,
          "steps": 117,
          "calls": 1
        },
        "candidates": [],
        "relations": [],
        "unknowns": [
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 1,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
              "path": "app/profiles/page.tsx",
              "line": 2,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
              "path": "lib/database.ts",
              "line": 1,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
              "path": "lib/database.ts",
              "line": 2,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "724f334a2b47a5e7cbcab252ce04fc232071d0bc058c96ed6fd4ac96e5dff308",
              "path": "src/database.ts",
              "line": 1,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 3,
              "column": 191,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 3,
              "column": 191,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 3,
              "column": 16,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 3,
              "column": 16,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 4,
              "column": 28,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 4,
              "column": 28,
              "role": "evidence"
            }
          },
          {
            "reason": "exception_flow",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 4,
              "column": 22,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 5,
              "column": 16,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 6,
              "column": 7,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 6,
              "column": 36,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 6,
              "column": 62,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 6,
              "column": 62,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 7,
              "column": 14,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 7,
              "column": 14,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 10,
              "column": 19,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 10,
              "column": 19,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 11,
              "column": 26,
              "role": "evidence"
            }
          },
          {
            "reason": "exception_flow",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 11,
              "column": 20,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 12,
              "column": 7,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 12,
              "column": 30,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 12,
              "column": 30,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 13,
              "column": 16,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 14,
              "column": 21,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 14,
              "column": 21,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 15,
              "column": 7,
              "role": "evidence"
            }
          },
          {
            "reason": "unresolved_property",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 15,
              "column": 25,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 15,
              "column": 41,
              "role": "evidence"
            }
          },
          {
            "reason": "ambiguous_value",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 15,
              "column": 41,
              "role": "evidence"
            }
          },
          {
            "reason": "indirect_call",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 16,
              "column": 10,
              "role": "evidence"
            }
          },
          {
            "reason": "exception_flow",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 2,
              "column": 1,
              "role": "evidence"
            }
          },
          {
            "reason": "unsupported_module_effect",
            "location": {
              "file_id": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26",
              "path": "app/profiles/panel.tsx",
              "line": 1,
              "column": 1,
              "role": "evidence"
            }
          }
        ]
      },
      "authorization": {
        "engine_version": "teum-typescript-authorization-0.9",
        "status": "partial",
        "error_code": null,
        "coverage": {
          "supplied_files": 8,
          "parsed_files": 8,
          "entrypoints": 1,
          "visited_files": 8,
          "steps": 628,
          "calls": 13
        },
        "candidates": [],
        "relations": [
          {
            "kind": "unknown",
            "operation": "read",
            "trace": [
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 2,
                "column": 27,
                "role": "request"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 4,
                "column": 22,
                "role": "verification"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 3,
                "column": 16,
                "role": "auth_factory"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 1,
                "column": 1,
                "role": "sdk_import"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 5,
                "column": 16,
                "role": "actor"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 6,
                "column": 3,
                "role": "authentication_exit"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 8,
                "column": 26,
                "role": "request_url"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 7,
                "column": 14,
                "role": "data_factory"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 9,
                "column": 14,
                "role": "target"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 11,
                "column": 20,
                "role": "query"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 16,
                "column": 3,
                "role": "response"
              },
              {
                "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
                "path": "app/api/profiles/route.ts",
                "line": 13,
                "column": 16,
                "role": "row"
              }
            ],
            "response_states": [
              "owned"
            ]
          }
        ],
        "unknowns": [
          {
            "reason": "authorization_rls_unverified",
            "location": {
              "file_id": "448c6098ea899690316ca50649efc41c103860a3c63156f9056702fcf1ee515e",
              "path": "app/api/profiles/route.ts",
              "line": 7,
              "column": 14,
              "role": "evidence"
            }
          }
        ]
      },
      "server_data": {
        "engine_version": "teum-typescript-server-data-0.1",
        "status": "partial",
        "error_code": null,
        "coverage": {
          "supplied_files": 8,
          "parsed_files": 8,
          "entrypoints": 1,
          "visited_files": 2,
          "steps": 52,
          "calls": 9,
          "client_bodies_analyzed": 0
        },
        "candidates": [],
        "relations": [],
        "unknowns": [
          {
            "reason": "server_data_call_unsupported",
            "location": {
              "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
              "path": "lib/database.ts",
              "line": 4,
              "column": 23,
              "role": "unresolved"
            }
          },
          {
            "reason": "server_data_condition_unresolved",
            "location": {
              "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
              "path": "app/profiles/page.tsx",
              "line": 7,
              "column": 7,
              "role": "unresolved"
            }
          },
          {
            "reason": "server_data_client_body_not_analyzed",
            "location": {
              "file_id": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26",
              "path": "app/profiles/panel.tsx",
              "line": 2,
              "column": 1,
              "role": "unresolved"
            }
          },
          {
            "reason": "server_data_policy_not_configured",
            "location": null
          },
          {
            "reason": "server_data_rls_unverified",
            "location": null
          }
        ],
        "policy_state": "not_configured",
        "rls_enforcement": "unverified",
        "field_sensitivity": "unclassified",
        "entries": [
          {
            "entry": {
              "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
              "path": "app/profiles/page.tsx",
              "line": 4,
              "column": 1,
              "role": "server_entry"
            },
            "authentications": [
              {
                "id": "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35",
                "method": "getClaims",
                "factory": {
                  "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
                  "path": "lib/database.ts",
                  "line": 5,
                  "column": 10,
                  "role": "sdk_factory"
                },
                "verification": {
                  "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                  "path": "app/profiles/page.tsx",
                  "line": 6,
                  "column": 45,
                  "role": "auth_verification"
                }
              }
            ],
            "queries": [
              {
                "id": "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a",
                "table": "profiles",
                "factory": {
                  "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
                  "path": "lib/database.ts",
                  "line": 5,
                  "column": 10,
                  "role": "sdk_factory"
                },
                "selection": "columns",
                "columns": [
                  "id",
                  "display_name"
                ],
                "filters": [
                  {
                    "column": "owner_id",
                    "value_source": "getClaims_sub",
                    "authentication_id": "d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35",
                    "presence_check": {
                      "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                      "path": "app/profiles/page.tsx",
                      "line": 7,
                      "column": 17,
                      "role": "presence_check"
                    },
                    "location": {
                      "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                      "path": "app/profiles/page.tsx",
                      "line": 8,
                      "column": 31,
                      "role": "filter"
                    }
                  }
                ],
                "single": true,
                "location": {
                  "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                  "path": "app/profiles/page.tsx",
                  "line": 8,
                  "column": 25,
                  "role": "query"
                }
              }
            ],
            "handoffs": [
              {
                "prop": "display_name",
                "projection": "explicit_fields",
                "query_ids": [
                  "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a"
                ],
                "authentication_ids": [],
                "fields": [
                  "display_name"
                ],
                "mappings": [
                  {
                    "prop_path": "display_name",
                    "source_field": "display_name"
                  }
                ],
                "component": {
                  "file_id": "9b08c5e506abc2d65d58e0b1676cadbd4377d9a7bcf92b24c9d495e502ea0c26",
                  "path": "app/profiles/panel.tsx",
                  "line": 2,
                  "column": 1,
                  "role": "client_component"
                },
                "location": {
                  "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                  "path": "app/profiles/page.tsx",
                  "line": 10,
                  "column": 17,
                  "role": "client_prop"
                },
                "presence_checks": [
                  {
                    "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                    "path": "app/profiles/page.tsx",
                    "line": 7,
                    "column": 17,
                    "role": "presence_check"
                  }
                ]
              }
            ],
            "exits": [
              {
                "file_id": "9b43036be92111f03f203f4ac7985d565917eef3849431e3100117c8c79d0326",
                "path": "lib/database.ts",
                "line": 5,
                "column": 3,
                "role": "function_exit"
              },
              {
                "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                "path": "app/profiles/page.tsx",
                "line": 7,
                "column": 25,
                "role": "function_exit"
              },
              {
                "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                "path": "app/profiles/page.tsx",
                "line": 9,
                "column": 13,
                "role": "function_exit"
              },
              {
                "file_id": "c524c1925798a18f2d3e52b12a9e23c2c73cb18fc912889d2f7998ce2718f7b4",
                "path": "app/profiles/page.tsx",
                "line": 10,
                "column": 3,
                "role": "function_exit"
              }
            ]
          }
        ]
      }
    }
  },
  "findings": [],
  "comparison": [],
  "limitations": "국소 JS·TS·Python 규칙·비밀정보 패턴과, 점검 범위에 기록된 의존성 취약점 대조 결과입니다. 미지원·미점검 영역과 실행 검증을 포함한 전체 안전을 보증하지 않습니다.",
  "sample": true
}