{"code": "from urllib.parse import urlencode\nfrom urllib.request import Request\n\ndef profile_request(token):\n query = urlencode({\"access_token\": token})\n return Request(\"https://profiles.example.invalid/me?\" + query)\n", "code_files": [{"code": "from urllib.parse import urlencode\nfrom urllib.request import Request\n\ndef profile_request(token):\n query = urlencode({\"access_token\": token})\n return Request(\"https://profiles.example.invalid/me?\" + query)\n", "path": "snippet.py"}], "cwe_id": "CWE-598", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/profile-bearer-request-location", "expected_finding": true, "explanation": "The bearer token becomes part of the request URL, where intermediaries and application logs may retain it. TLS and URL encoding do not remove this exposure.", "fix_explanation": "Send the credential in the Authorization header to the intended HTTPS origin. Prevent forwarding it on redirects and redact it in diagnostics.", "framework": null, "hard_negative": false, "id": "psp-1e3f364caea1", "label": "insecure", "language": "python", "leakage_group_id": "secret-request-location", "pair_id": "profile-bearer-request-location", "pattern": "profile-bearer-request-location", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "The fixture inspects request and offline redirect objects; it makes no HTTP request.", "sample_id": "psp-1e3f364caea1", "sanitization": null, "scenario_family_id": "secret-request-location", "secure_fix": "Send the credential in the Authorization header to the intended HTTPS origin. Prevent forwarding it on redirects and redact it in diagnostics.", "sink_location": {"end_line": 6, "path": "snippet.py", "start_line": 6}, "source_location": {"end_line": 4, "path": "snippet.py", "start_line": 4}, "source_type": "synthetic", "split": "validation", "taint_path": ["bearer credential", "URL query", "Request object"], "verification_method": "offline_http_request_construction", "verification_status": "behavior_verified", "vulnerability_type": "sensitive_query_string", "vulnerable_lines": [{"end_line": 6, "path": "snippet.py", "start_line": 6}]} {"code": "from urllib.request import Request\nfrom urllib.parse import urlencode\n\ndef recovery_verify_request(code):\n endpoint = \"https://accounts.example.invalid/recovery/verify\"\n query = urlencode({\"code\": code})\n return Request(endpoint + \"?\" + query, method=\"POST\")\n", "code_files": [{"code": "from urllib.request import Request\nfrom urllib.parse import urlencode\n\ndef recovery_verify_request(code):\n endpoint = \"https://accounts.example.invalid/recovery/verify\"\n query = urlencode({\"code\": code})\n return Request(endpoint + \"?\" + query, method=\"POST\")\n", "path": "snippet.py"}], "cwe_id": "CWE-598", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/account-recovery-post-body", "expected_finding": true, "explanation": "The request uses POST but still sends the recovery code in the query string, where URL logging may capture it.", "fix_explanation": "Place recovery secrets in the HTTPS request body, update the server to read them there and keep request bodies out of diagnostics.", "framework": null, "hard_negative": false, "id": "psp-2eebd315ca07", "label": "insecure", "language": "python", "leakage_group_id": "secret-request-location", "pair_id": "account-recovery-post-body", "pattern": "account-recovery-post-body", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "POST alone is an intentional distractor. The test checks request construction without contacting a service.", "sample_id": "psp-2eebd315ca07", "sanitization": null, "scenario_family_id": "secret-request-location", "secure_fix": "Place recovery secrets in the HTTPS request body, update the server to read them there and keep request bodies out of diagnostics.", "sink_location": {"end_line": 7, "path": "snippet.py", "start_line": 7}, "source_location": {"end_line": 4, "path": "snippet.py", "start_line": 4}, "source_type": "synthetic", "split": "validation", "taint_path": ["recovery code", "URL query", "POST request"], "verification_method": "offline_http_request_construction", "verification_status": "behavior_verified", "vulnerability_type": "sensitive_query_string", "vulnerable_lines": [{"end_line": 7, "path": "snippet.py", "start_line": 7}]} {"code": "def thumbnail_reply(thumbnail_path):\n try:\n return 200, thumbnail_path.read_bytes()\n except OSError as exc:\n return 500, str(exc).encode(\"utf-8\")\n", "code_files": [{"code": "def thumbnail_reply(thumbnail_path):\n try:\n return 200, thumbnail_path.read_bytes()\n except OSError as exc:\n return 500, str(exc).encode(\"utf-8\")\n", "path": "snippet.py"}], "cwe_id": "CWE-209", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/thumbnail-filesystem-error", "expected_finding": true, "explanation": "The response gives the requester the raw filesystem error, which may include an internal absolute path.", "fix_explanation": "Return a fixed public error message and keep any needed filesystem diagnostics in restricted logs.", "framework": null, "hard_negative": false, "id": "psp-3b6af27f8792", "label": "insecure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "thumbnail-filesystem-error", "pattern": "thumbnail-filesystem-error", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "Small but realistic failure path. Local temporary-file and missing-file outcomes are observable.", "sample_id": "psp-3b6af27f8792", "sanitization": null, "scenario_family_id": "public-error-details", "secure_fix": "Return a fixed public error message and keep any needed filesystem diagnostics in restricted logs.", "sink_location": {"end_line": 5, "path": "snippet.py", "start_line": 5}, "source_location": {"end_line": 4, "path": "snippet.py", "start_line": 4}, "source_type": "synthetic", "split": "validation", "taint_path": ["filesystem error", "public error body"], "verification_method": "local_fixture_behavior", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": [{"end_line": 5, "path": "snippet.py", "start_line": 5}]} {"code": "def thumbnail_reply(thumbnail_path):\n try:\n return 200, thumbnail_path.read_bytes()\n except OSError:\n return 500, b\"Thumbnail unavailable\"\n", "code_files": [{"code": "def thumbnail_reply(thumbnail_path):\n try:\n return 200, thumbnail_path.read_bytes()\n except OSError:\n return 500, b\"Thumbnail unavailable\"\n", "path": "snippet.py"}], "cwe_id": "CWE-209", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/thumbnail-filesystem-error", "expected_finding": false, "explanation": "The public response body is independent of the filesystem exception text.", "fix_explanation": "Return a fixed public error message and keep any needed filesystem diagnostics in restricted logs.", "framework": null, "hard_negative": false, "id": "psp-3e686187c85c", "label": "secure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "thumbnail-filesystem-error", "pattern": "thumbnail-filesystem-error", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "Small but realistic failure path. Local temporary-file and missing-file outcomes are observable.", "sample_id": "psp-3e686187c85c", "sanitization": "Return a fixed public error body.", "scenario_family_id": "public-error-details", "secure_fix": "Return a fixed public error message and keep any needed filesystem diagnostics in restricted logs.", "sink_location": {"end_line": 5, "path": "snippet.py", "start_line": 5}, "source_location": null, "source_type": "synthetic", "split": "validation", "taint_path": null, "verification_method": "local_fixture_behavior", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": []} {"code": "from urllib.request import Request\nfrom urllib.parse import urlencode\n\ndef recovery_verify_request(code):\n endpoint = \"https://accounts.example.invalid/recovery/verify\"\n return Request(\n endpoint,\n data=urlencode({\"code\": code}).encode(\"ascii\"),\n headers={\"Content-Type\": \"application/x-www-form-urlencoded\"},\n method=\"POST\",\n )\n", "code_files": [{"code": "from urllib.request import Request\nfrom urllib.parse import urlencode\n\ndef recovery_verify_request(code):\n endpoint = \"https://accounts.example.invalid/recovery/verify\"\n return Request(\n endpoint,\n data=urlencode({\"code\": code}).encode(\"ascii\"),\n headers={\"Content-Type\": \"application/x-www-form-urlencoded\"},\n method=\"POST\",\n )\n", "path": "snippet.py"}], "cwe_id": "CWE-598", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/account-recovery-post-body", "expected_finding": false, "explanation": "The cooperating server reads the code from the encoded HTTPS request body. The URL contains no recovery credential.", "fix_explanation": "Place recovery secrets in the HTTPS request body, update the server to read them there and keep request bodies out of diagnostics.", "framework": null, "hard_negative": false, "id": "psp-4eb0cb649ec7", "label": "secure", "language": "python", "leakage_group_id": "secret-request-location", "pair_id": "account-recovery-post-body", "pattern": "account-recovery-post-body", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "POST alone is an intentional distractor. The test checks request construction without contacting a service.", "sample_id": "psp-4eb0cb649ec7", "sanitization": "Move the code into the form body and omit sensitive bodies from diagnostics.", "scenario_family_id": "secret-request-location", "secure_fix": "Place recovery secrets in the HTTPS request body, update the server to read them there and keep request bodies out of diagnostics.", "sink_location": {"end_line": 6, "path": "snippet.py", "start_line": 6}, "source_location": {"end_line": 4, "path": "snippet.py", "start_line": 4}, "source_type": "synthetic", "split": "validation", "taint_path": ["recovery code", "encoded form body", "POST request"], "verification_method": "offline_http_request_construction", "verification_status": "behavior_verified", "vulnerability_type": "sensitive_query_string", "vulnerable_lines": []} {"code": "class InventoryUnavailable(Exception):\n pass\n\n\nclass ReservationView:\n def __init__(self, stock_service, diagnostics):\n self.stock_service = stock_service\n self.diagnostics = diagnostics\n\n def get(self, sku, request_id):\n try:\n return 200, {\"available\": self.stock_service.on_hand(sku)}\n except InventoryUnavailable as error:\n self.diagnostics.warning(\"Inventory read failed for %s\", request_id)\n return 503, {\"error\": str(error), \"request_id\": request_id}\n", "code_files": [{"code": "class InventoryUnavailable(Exception):\n pass\n\n\nclass ReservationView:\n def __init__(self, stock_service, diagnostics):\n self.stock_service = stock_service\n self.diagnostics = diagnostics\n\n def get(self, sku, request_id):\n try:\n return 200, {\"available\": self.stock_service.on_hand(sku)}\n except InventoryUnavailable as error:\n self.diagnostics.warning(\"Inventory read failed for %s\", request_id)\n return 503, {\"error\": str(error), \"request_id\": request_id}\n", "path": "subject.py"}], "cwe_id": "CWE-209", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/fulfillment-diagnostics", "expected_finding": true, "explanation": "The reservation view puts inventory-service diagnostics in its public error body.", "fix_explanation": "Return a public error code and correlation ID; emit only approved internal diagnostics.", "framework": null, "hard_negative": false, "id": "psp-620e7fdfc616", "label": "insecure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "fulfillment-diagnostics", "pattern": "fulfillment-diagnostics", "provenance": {"authoring": "ai_assisted", "collection": "research_pair", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "Checks the successful inventory call and a controlled service failure without networking.", "sample_id": "psp-620e7fdfc616", "sanitization": null, "scenario_family_id": "public-error-details", "secure_fix": "Return a public error code and correlation ID; emit only approved internal diagnostics.", "sink_location": {"end_line": 15, "path": "subject.py", "start_line": 15}, "source_location": {"end_line": 13, "path": "subject.py", "start_line": 13}, "source_type": "synthetic", "split": "validation", "taint_path": ["inventory service exception", "reservation view", "public response"], "verification_method": "local_fixture_behavior", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": [{"end_line": 15, "path": "subject.py", "start_line": 15}]} {"code": "import sqlite3\n\ndef ledger_reply(db):\n try:\n total = db.execute(\"SELECT SUM(amount) FROM ledger\").fetchone()[0]\n return 200, {\"total\": total}\n except sqlite3.Error as exc:\n return 503, {\"error\": str(exc)}\n", "code_files": [{"code": "import sqlite3\n\ndef ledger_reply(db):\n try:\n total = db.execute(\"SELECT SUM(amount) FROM ledger\").fetchone()[0]\n return 200, {\"total\": total}\n except sqlite3.Error as exc:\n return 503, {\"error\": str(exc)}\n", "path": "snippet.py"}], "cwe_id": "CWE-209", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/ledger-database-error", "expected_finding": true, "explanation": "Raw SQLite errors enter the client response and can reveal internal schema identifiers such as table or column names.", "fix_explanation": "Translate database failures to a fixed public error and handle operational diagnostics through an internal channel.", "framework": null, "hard_negative": false, "id": "psp-8af892395fa2", "label": "insecure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "ledger-database-error", "pattern": "ledger-database-error", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "A real local SQLite schema error distinguishes response behavior without requiring an external database.", "sample_id": "psp-8af892395fa2", "sanitization": null, "scenario_family_id": "public-error-details", "secure_fix": "Translate database failures to a fixed public error and handle operational diagnostics through an internal channel.", "sink_location": {"end_line": 8, "path": "snippet.py", "start_line": 8}, "source_location": {"end_line": 7, "path": "snippet.py", "start_line": 7}, "source_type": "synthetic", "split": "validation", "taint_path": ["SQLite error", "public error object"], "verification_method": "in_memory_sqlite", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": [{"end_line": 8, "path": "snippet.py", "start_line": 8}]} {"code": "from urllib.request import Request\n\ndef profile_request(token):\n request = Request(\"https://profiles.example.invalid/me\")\n request.add_unredirected_header(\"Authorization\", \"Bearer \" + token)\n return request\n", "code_files": [{"code": "from urllib.request import Request\n\ndef profile_request(token):\n request = Request(\"https://profiles.example.invalid/me\")\n request.add_unredirected_header(\"Authorization\", \"Bearer \" + token)\n return request\n", "path": "snippet.py"}], "cwe_id": "CWE-598", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/profile-bearer-request-location", "expected_finding": false, "explanation": "The HTTPS service accepts the credential in the Authorization header, keeping it out of the URL. Python's default redirect handler omits the unredirected header from a redirected request.", "fix_explanation": "Send the credential in the Authorization header to the intended HTTPS origin. Prevent forwarding it on redirects and redact it in diagnostics.", "framework": null, "hard_negative": false, "id": "psp-afc4a7066618", "label": "secure", "language": "python", "leakage_group_id": "secret-request-location", "pair_id": "profile-bearer-request-location", "pattern": "profile-bearer-request-location", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "The fixture inspects request and offline redirect objects; it makes no HTTP request.", "sample_id": "psp-afc4a7066618", "sanitization": "Keep the credential in an unredirected Authorization header.", "scenario_family_id": "secret-request-location", "secure_fix": "Send the credential in the Authorization header to the intended HTTPS origin. Prevent forwarding it on redirects and redact it in diagnostics.", "sink_location": {"end_line": 5, "path": "snippet.py", "start_line": 5}, "source_location": {"end_line": 3, "path": "snippet.py", "start_line": 3}, "source_type": "synthetic", "split": "validation", "taint_path": ["bearer credential", "nonforwarded Authorization header", "Request object"], "verification_method": "offline_http_request_construction", "verification_status": "behavior_verified", "vulnerability_type": "sensitive_query_string", "vulnerable_lines": []} {"code": "from enum import Enum\n\n\nclass DashboardOrder(Enum):\n RECENT = \"created_at DESC\"\n NAME = \"display_name ASC\"\n\n\ndef dashboard_names(connection, account_id, sort_choice):\n order = DashboardOrder[sort_choice].value\n return connection.execute(\n f\"SELECT display_name FROM dashboard WHERE account_id = ? ORDER BY {order}\",\n (account_id,),\n ).fetchall()\n", "code_files": [{"code": "from enum import Enum\n\n\nclass DashboardOrder(Enum):\n RECENT = \"created_at DESC\"\n NAME = \"display_name ASC\"\n\n\ndef dashboard_names(connection, account_id, sort_choice):\n order = DashboardOrder[sort_choice].value\n return connection.execute(\n f\"SELECT display_name FROM dashboard WHERE account_id = ? ORDER BY {order}\",\n (account_id,),\n ).fetchall()\n", "path": "subject.py"}], "cwe_id": "CWE-89", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/approved-dashboard-sort", "expected_finding": false, "explanation": "The dynamic-looking ORDER BY value comes only from two authored SQL expressions. Unknown names fail before SQLite receives a statement.", "fix_explanation": "An Enum limits SQL fragments and the account selector is bound.", "framework": null, "hard_negative": true, "id": "psp-bf419cfc8dca", "label": "secure", "language": "python", "leakage_group_id": "sql-statement-construction", "pair_id": null, "pattern": "approved-dashboard-sort", "provenance": {"authoring": "ai_assisted", "collection": "hard_negative", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "False-positive probe for formatted SQL and explicit allowlist provenance.", "sample_id": "psp-bf419cfc8dca", "sanitization": "An Enum limits SQL fragments and the account selector is bound.", "scenario_family_id": "sql-statement-construction", "secure_fix": "An Enum limits SQL fragments and the account selector is bound.", "sink_location": {"end_line": 11, "path": "subject.py", "start_line": 11}, "source_location": {"end_line": 9, "path": "subject.py", "start_line": 9}, "source_type": "synthetic", "split": "validation", "taint_path": null, "verification_method": "in_memory_sqlite", "verification_status": "behavior_verified", "vulnerability_type": "sql_injection", "vulnerable_lines": []} {"code": "class InventoryUnavailable(Exception):\n pass\n\n\nclass ReservationView:\n def __init__(self, stock_service, diagnostics):\n self.stock_service = stock_service\n self.diagnostics = diagnostics\n\n def get(self, sku, request_id):\n try:\n return 200, {\"available\": self.stock_service.on_hand(sku)}\n except InventoryUnavailable:\n self.diagnostics.warning(\"Inventory read failed for %s\", request_id)\n return 503, {\"error\": \"Inventory unavailable\", \"request_id\": request_id}\n", "code_files": [{"code": "class InventoryUnavailable(Exception):\n pass\n\n\nclass ReservationView:\n def __init__(self, stock_service, diagnostics):\n self.stock_service = stock_service\n self.diagnostics = diagnostics\n\n def get(self, sku, request_id):\n try:\n return 200, {\"available\": self.stock_service.on_hand(sku)}\n except InventoryUnavailable:\n self.diagnostics.warning(\"Inventory read failed for %s\", request_id)\n return 503, {\"error\": \"Inventory unavailable\", \"request_id\": request_id}\n", "path": "subject.py"}], "cwe_id": "CWE-209", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/fulfillment-diagnostics", "expected_finding": false, "explanation": "The response contains a fixed error and a request identifier. Normal stock results are preserved.", "fix_explanation": "Return a public error code and correlation ID; emit only approved internal diagnostics.", "framework": null, "hard_negative": false, "id": "psp-c02c54ee66ce", "label": "secure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "fulfillment-diagnostics", "pattern": "fulfillment-diagnostics", "provenance": {"authoring": "ai_assisted", "collection": "research_pair", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "Checks the successful inventory call and a controlled service failure without networking.", "sample_id": "psp-c02c54ee66ce", "sanitization": "Return a public error code and correlation ID; emit only approved internal diagnostics.", "scenario_family_id": "public-error-details", "secure_fix": "Return a public error code and correlation ID; emit only approved internal diagnostics.", "sink_location": {"end_line": 15, "path": "subject.py", "start_line": 15}, "source_location": null, "source_type": "synthetic", "split": "validation", "taint_path": null, "verification_method": "local_fixture_behavior", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": []} {"code": "def inventory_status(check_stock, internal_metrics):\n try:\n return 200, {\"quantity\": check_stock()}\n except RuntimeError as error:\n internal_metrics.record(\"inventory_error\", str(error))\n return 503, {\"message\": \"Inventory unavailable\"}\n", "code_files": [{"code": "def inventory_status(check_stock, internal_metrics):\n try:\n return 200, {\"quantity\": check_stock()}\n except RuntimeError as error:\n internal_metrics.record(\"inventory_error\", str(error))\n return 503, {\"message\": \"Inventory unavailable\"}\n", "path": "subject.py"}], "cwe_id": "CWE-209", "difficulty": "intermediate", "evidence_reference": "data/research/evidence.json::cases/exception-observer", "expected_finding": false, "explanation": "The exception becomes text only for an internal observer. The public response is independent of the exception message.", "fix_explanation": "Send details to a trusted internal observer and use a constant public response.", "framework": null, "hard_negative": true, "id": "psp-de9e0184f344", "label": "secure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": null, "pattern": "exception-observer", "provenance": {"authoring": "ai_assisted", "collection": "hard_negative", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "The fixture differentiates the response channel from the private observer.", "sample_id": "psp-de9e0184f344", "sanitization": "Send details to a trusted internal observer and use a constant public response.", "scenario_family_id": "public-error-details", "secure_fix": "Send details to a trusted internal observer and use a constant public response.", "sink_location": {"end_line": 6, "path": "subject.py", "start_line": 6}, "source_location": {"end_line": 4, "path": "subject.py", "start_line": 4}, "source_type": "synthetic", "split": "validation", "taint_path": null, "verification_method": "local_fixture_behavior", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": []} {"code": "import sqlite3\n\ndef ledger_reply(db):\n try:\n total = db.execute(\"SELECT SUM(amount) FROM ledger\").fetchone()[0]\n return 200, {\"total\": total}\n except sqlite3.Error:\n return 503, {\"error\": \"Ledger temporarily unavailable\"}\n", "code_files": [{"code": "import sqlite3\n\ndef ledger_reply(db):\n try:\n total = db.execute(\"SELECT SUM(amount) FROM ledger\").fetchone()[0]\n return 200, {\"total\": total}\n except sqlite3.Error:\n return 503, {\"error\": \"Ledger temporarily unavailable\"}\n", "path": "snippet.py"}], "cwe_id": "CWE-209", "difficulty": "introductory", "evidence_reference": "data/research/evidence.json::cases/ledger-database-error", "expected_finding": false, "explanation": "A fixed response preserves the failure status while keeping SQLite's diagnostic details out of the response.", "fix_explanation": "Translate database failures to a fixed public error and handle operational diagnostics through an internal channel.", "framework": null, "hard_negative": false, "id": "psp-e98ddd00fde6", "label": "secure", "language": "python", "leakage_group_id": "public-error-details", "pair_id": "ledger-database-error", "pattern": "ledger-database-error", "provenance": {"authoring": "ai_assisted", "collection": "preserved_baseline", "independent_human_review": false, "origin": "original_synthetic"}, "review_note": "A real local SQLite schema error distinguishes response behavior without requiring an external database.", "sample_id": "psp-e98ddd00fde6", "sanitization": "Translate SQLite failures to a fixed public message.", "scenario_family_id": "public-error-details", "secure_fix": "Translate database failures to a fixed public error and handle operational diagnostics through an internal channel.", "sink_location": {"end_line": 8, "path": "snippet.py", "start_line": 8}, "source_location": null, "source_type": "synthetic", "split": "validation", "taint_path": null, "verification_method": "in_memory_sqlite", "verification_status": "behavior_verified", "vulnerability_type": "error_information_exposure", "vulnerable_lines": []}