Download extensions/split_pattern_custom_n300.json from nisaefendioglu/synthetic-sensitive-data-in-source-code-n300: direct link, hf CLI and curl.
- Browser
- Download file 193 kB
-
https://huggingface.co/datasets/nisaefendioglu/synthetic-sensitive-data-in-source-code-n300/resolve/main/extensions/split_pattern_custom_n300.json
- Command line
-
hf download hf://datasets/nisaefendioglu/synthetic-sensitive-data-in-source-code-n300/extensions/split_pattern_custom_n300.json
-
curl -L -o split_pattern_custom_n300.json https://huggingface.co/datasets/nisaefendioglu/synthetic-sensitive-data-in-source-code-n300/resolve/main/extensions/split_pattern_custom_n300.json
193 kB
| { | |
| "name": "split_pattern_custom_n300", | |
| "description": "Bölünmüş, birleştirilmiş veya biçim bozuculu sır örnekleri (N=300; tümü hassas). Yerleşik regex ile kaçan contiguous sırlar için önerilen özel kurallar içerir.", | |
| "n": 300, | |
| "records": [ | |
| { | |
| "id": "SPL-0001", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app1\", \"S3cret1!\"\nuri = f\"postgres://{user}:{pw}@db-internal-1.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6001:Tr0ya#6001!@db-internal-6001.corp.local:5432/orders_6001" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0002", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: S3cret5002!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "S3cret5002!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "S3cret5002!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0003", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"kay5WrRTWPElndTdtdD52003\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-kay5WrRTWPElndTdtdD52003" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0004", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-vQ0Fp4dNZcui8kBRIg6Q1004\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-vQ0Fp4dNZcui8kBRIg6Q1004" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-vQ0Fp4dNZcui8kBRIg6Q1004" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0005", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-mA65\n MPh3FPuRIlPxUkJz1005\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mA65MPh3FPuRIlPxUkJz1005" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0006", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIA5GJL'\np2 = 'QM5K8P4Q0B8I'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIA5GJLQM5K8P4Q0B8I" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0007", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"9IvCtoStU6QlTrKVL8ZswsRhcds6NUgarDv7\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_9IvCtoStU6QlTrKVL8ZswsRhcds6NUgarDv7" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0008", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-heEJQjY6fpIzKMWx4sKA1008\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-heEJQjY6fpIzKMWx4sKA1008" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-heEJQjY6fpIzKMWx4sKA1008" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0009", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - cfphV1Za1CdGMEBdqir21009'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-cfphV1Za1CdGMEBdqir21009" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0010", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-MyeuPH7M3EHMoQrof8VR1010\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-MyeuPH7M3EHMoQrof8VR1010" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0011", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-W2wFqk467s1XDeUnPPy01011\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-W2wFqk467s1XDeUnPPy01011" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-W2wFqk467s1XDeUnPPy01011" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0012", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-r99HXg1iwWKaqhAhdBwK1012\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-r99HXg1iwWKaqhAhdBwK1012" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-r99HXg1iwWKaqhAhdBwK1012" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0013", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0014", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"TYYojmLVOkVEUVB5INM11014\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-TYYojmLVOkVEUVB5INM11014" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0015", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7015@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7015@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0016", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-16.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "http://10.20.30.16/admin" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0017", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-NXdPzFUjb0QBhoOw6cjB1017\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-NXdPzFUjb0QBhoOw6cjB1017" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-NXdPzFUjb0QBhoOw6cjB1017" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0018", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"5n6Grem7rMMfNKKkM3u51018\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-5n6Grem7rMMfNKKkM3u51018" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0019", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app19\", \"S3cret19!\"\nuri = f\"postgres://{user}:{pw}@db-internal-19.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6019:Adm1n!6019!@db-internal-6019.corp.local:5432/orders_6019" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0020", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: P@ssw0rd5020!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "P@ssw0rd5020!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "P@ssw0rd5020!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0021", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"4sMnijULzIDHPnpU2fBR2021\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-4sMnijULzIDHPnpU2fBR2021" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0022", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-TnabsPHGZpvr6SgYzV2a1022\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-TnabsPHGZpvr6SgYzV2a1022" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-TnabsPHGZpvr6SgYzV2a1022" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0023", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-h9Dp\n Lm4IWxHwqFEg8D041023\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-h9DpLm4IWxHwqFEg8D041023" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0024", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAN02Y'\np2 = 'C0MDICVWV8LW'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAN02YC0MDICVWV8LW" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0025", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"YXzENpOSWe9DyF5QHXw3HNfVOwOc8QyU7Aaq\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_YXzENpOSWe9DyF5QHXw3HNfVOwOc8QyU7Aaq" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0026", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-GJJByVKFvbgz7h6itCmD1026\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-GJJByVKFvbgz7h6itCmD1026" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-GJJByVKFvbgz7h6itCmD1026" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0027", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - EmxIOzESBkJXncnrWJVE1027'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-EmxIOzESBkJXncnrWJVE1027" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0028", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-8NR0Xy8ZEurHi0W3VcMZ1028\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-8NR0Xy8ZEurHi0W3VcMZ1028" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0029", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-mLlyOWXoxoNe3awtx0AH1029\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mLlyOWXoxoNe3awtx0AH1029" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-mLlyOWXoxoNe3awtx0AH1029" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0030", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-cw5l7cXSOnp4tZJhPdnF1030\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-cw5l7cXSOnp4tZJhPdnF1030" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-cw5l7cXSOnp4tZJhPdnF1030" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0031", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0032", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"HXTV6J8y59kotTwKRvJi1032\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-HXTV6J8y59kotTwKRvJi1032" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0033", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7033@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7033@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0034", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-34.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://gitlab.internal.example/group/repo-8034.git" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0035", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-pC4RqZFNhbxKl1Kvk3UQ1035\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-pC4RqZFNhbxKl1Kvk3UQ1035" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-pC4RqZFNhbxKl1Kvk3UQ1035" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0036", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"002lghqYVlQufwUtWuqs1036\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-002lghqYVlQufwUtWuqs1036" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0037", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app37\", \"S3cret37!\"\nuri = f\"postgres://{user}:{pw}@db-internal-37.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6037:S3cret6037!@db-internal-6037.corp.local:5432/orders_6037" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0038", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: P@ssw0rd5038!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "P@ssw0rd5038!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "P@ssw0rd5038!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0039", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"aTIAK5W4QkYgOLt2zLQp2039\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-aTIAK5W4QkYgOLt2zLQp2039" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0040", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-InOyFXRQcxzWQ7dUm11B1040\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-InOyFXRQcxzWQ7dUm11B1040" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-InOyFXRQcxzWQ7dUm11B1040" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0041", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-tff8\n VHMnNnQZmZ2TAYeQ1041\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-tff8VHMnNnQZmZ2TAYeQ1041" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0042", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIA64W3'\np2 = 'U1HBJ6TXFO6V'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIA64W3U1HBJ6TXFO6V" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0043", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"ziKVMFkQ5KexibG4QZLl3L2GUfO3Ha6QAA2R\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_ziKVMFkQ5KexibG4QZLl3L2GUfO3Ha6QAA2R" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0044", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-6DVvX4ZJApV4fLHpaUaG1044\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-6DVvX4ZJApV4fLHpaUaG1044" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-6DVvX4ZJApV4fLHpaUaG1044" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0045", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - PzmaR4ITIKvYo7CzakFI1045'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-PzmaR4ITIKvYo7CzakFI1045" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0046", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-6cv1WChGtaPxgw1lqq7v1046\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-6cv1WChGtaPxgw1lqq7v1046" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0047", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-3W6UGBk0hopUUnyf6DdV1047\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-3W6UGBk0hopUUnyf6DdV1047" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-3W6UGBk0hopUUnyf6DdV1047" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0048", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-igCCREtj8b8rhBafanAW1048\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-igCCREtj8b8rhBafanAW1048" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-igCCREtj8b8rhBafanAW1048" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0049", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0050", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"FOHL53I90zNZuoHxIUwC1050\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-FOHL53I90zNZuoHxIUwC1050" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0051", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7051@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7051@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0052", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-52.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://jenkins.internal.bank.tr/job/deploy-8052" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0053", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-13AWLZSy6JHNRcgC22pH1053\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-13AWLZSy6JHNRcgC22pH1053" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-13AWLZSy6JHNRcgC22pH1053" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0054", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"BLa2rMYmldvjcJLufg9k1054\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-BLa2rMYmldvjcJLufg9k1054" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0055", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app55\", \"S3cret55!\"\nuri = f\"postgres://{user}:{pw}@db-internal-55.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6055:P@ssw0rd6055!@db-internal-6055.corp.local:5432/orders_6055" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0056", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: DbRoot!5056!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "DbRoot!5056!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "DbRoot!5056!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0057", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"49KLF00d38aI8grbAKMS2057\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-49KLF00d38aI8grbAKMS2057" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0058", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-fDT7eNXtdvWDFDTA7Xrc1058\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-fDT7eNXtdvWDFDTA7Xrc1058" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-fDT7eNXtdvWDFDTA7Xrc1058" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0059", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-qgOy\n VUTKmuQlHPZaggBn1059\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-qgOyVUTKmuQlHPZaggBn1059" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0060", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAZOHX'\np2 = 'S75T0IC0RA6W'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAZOHXS75T0IC0RA6W" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0061", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"HjbFeoBJzU3ogoozm3eKdBnLlxCmwqubJrgC\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_HjbFeoBJzU3ogoozm3eKdBnLlxCmwqubJrgC" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0062", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-VnsjX74JIozG1nDCaA2p1062\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-VnsjX74JIozG1nDCaA2p1062" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-VnsjX74JIozG1nDCaA2p1062" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0063", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - UVt3FAdxCFZDGZ3CwPQ81063'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-UVt3FAdxCFZDGZ3CwPQ81063" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0064", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-5j8HFOs38U9PXT5ugDcQ1064\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-5j8HFOs38U9PXT5ugDcQ1064" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0065", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-DO3zEQphr9eUKJ1MDRhF1065\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-DO3zEQphr9eUKJ1MDRhF1065" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-DO3zEQphr9eUKJ1MDRhF1065" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0066", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-WUcgXFdhpePUW5m3lvf01066\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-WUcgXFdhpePUW5m3lvf01066" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-WUcgXFdhpePUW5m3lvf01066" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0067", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0068", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"buC1J3qRK9xyJYgPuFVv1068\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-buC1J3qRK9xyJYgPuFVv1068" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0069", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7069@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7069@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0070", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-70.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://intranet-api-8070.corp.local/v1/users" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0071", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-aiuQQSRTpfduo4967LUc1071\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-aiuQQSRTpfduo4967LUc1071" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-aiuQQSRTpfduo4967LUc1071" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0072", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"hx5gubCRDMqOucMC694X1072\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-hx5gubCRDMqOucMC694X1072" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0073", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app73\", \"S3cret73!\"\nuri = f\"postgres://{user}:{pw}@db-internal-73.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6073:Adm1n!6073!@db-internal-6073.corp.local:5432/orders_6073" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0074", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: P@ssw0rd5074!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "P@ssw0rd5074!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "P@ssw0rd5074!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0075", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"yc5jJ88X28z2R2StvZ3L2075\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-yc5jJ88X28z2R2StvZ3L2075" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0076", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-JixTgGlWCjAzfAinePyI1076\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-JixTgGlWCjAzfAinePyI1076" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-JixTgGlWCjAzfAinePyI1076" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0077", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-tNNf\n 7HU7GUFbOG7rmZ0J1077\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-tNNf7HU7GUFbOG7rmZ0J1077" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0078", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAOC5X'\np2 = 'T63QE8NVN439'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAOC5XT63QE8NVN439" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0079", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"MJfdct0eh4BsMeQIsxfUoLOaxX2Mv6WCulgK\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_MJfdct0eh4BsMeQIsxfUoLOaxX2Mv6WCulgK" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0080", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-WmJNpASBpXdtB7Ut2Wjt1080\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-WmJNpASBpXdtB7Ut2Wjt1080" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-WmJNpASBpXdtB7Ut2Wjt1080" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0081", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - 2ei5XlxxL8pcMlHWudX21081'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-2ei5XlxxL8pcMlHWudX21081" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0082", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-Vrv96YUaO961oSnoKIDY1082\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Vrv96YUaO961oSnoKIDY1082" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0083", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-KFQraidyYG42CJTr2CRS1083\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-KFQraidyYG42CJTr2CRS1083" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-KFQraidyYG42CJTr2CRS1083" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0084", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-S3ytdaVV5xofA9ulPn2X1084\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-S3ytdaVV5xofA9ulPn2X1084" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-S3ytdaVV5xofA9ulPn2X1084" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0085", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0086", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"FEQRO5TpcYNPROqCQpL71086\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-FEQRO5TpcYNPROqCQpL71086" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0087", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7087@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7087@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0088", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-88.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://vault.svc.cluster.local:8200/v1/secret/data/app8088" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0089", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-CkiRsinUTaTJQ9j6A05f1089\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-CkiRsinUTaTJQ9j6A05f1089" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-CkiRsinUTaTJQ9j6A05f1089" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0090", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"s7k8Opc64sHiEt49LFQP1090\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-s7k8Opc64sHiEt49LFQP1090" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0091", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app91\", \"S3cret91!\"\nuri = f\"postgres://{user}:{pw}@db-internal-91.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6091:Tr0ya#6091!@db-internal-6091.corp.local:5432/orders_6091" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0092", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: S3cret5092!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "S3cret5092!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "S3cret5092!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0093", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"trrLApEugPQViwYUKLor2093\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-trrLApEugPQViwYUKLor2093" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0094", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-maJKa5FFSq0sqhnHsN6r1094\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-maJKa5FFSq0sqhnHsN6r1094" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-maJKa5FFSq0sqhnHsN6r1094" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0095", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-5iVq\n 6LXaXHY0fiV3YtDp1095\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-5iVq6LXaXHY0fiV3YtDp1095" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0096", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAXC45'\np2 = 'BNCCU3FG00ZK'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAXC45BNCCU3FG00ZK" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0097", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"F9LGVBisM6cSQo9L7J9gaVt1X3ECkseJveSC\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_F9LGVBisM6cSQo9L7J9gaVt1X3ECkseJveSC" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0098", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-VB568EwrzMQBFMtfzB291098\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-VB568EwrzMQBFMtfzB291098" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-VB568EwrzMQBFMtfzB291098" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0099", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - ZI3mSJiPZTZTa35EtXPq1099'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ZI3mSJiPZTZTa35EtXPq1099" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0100", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-6WFqOt34Pa4cbX0GTtkJ1100\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-6WFqOt34Pa4cbX0GTtkJ1100" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0101", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-YlalJLb89EMHjT5lbbFj1101\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-YlalJLb89EMHjT5lbbFj1101" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-YlalJLb89EMHjT5lbbFj1101" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0102", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-JOQAYmdEcrhCLKobbWJa1102\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-JOQAYmdEcrhCLKobbWJa1102" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-JOQAYmdEcrhCLKobbWJa1102" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0103", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0104", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"uC7PAb82kVavDa2DcbQs1104\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-uC7PAb82kVavDa2DcbQs1104" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0105", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7105@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7105@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0106", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-106.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "http://10.20.30.106/admin" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0107", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-vMzc0jfg5DV8YTo3k3UA1107\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-vMzc0jfg5DV8YTo3k3UA1107" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-vMzc0jfg5DV8YTo3k3UA1107" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0108", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"D4qbuquViHT5P2oe64RV1108\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-D4qbuquViHT5P2oe64RV1108" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0109", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app109\", \"S3cret109!\"\nuri = f\"postgres://{user}:{pw}@db-internal-109.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6109:Tr0ya#6109!@db-internal-6109.corp.local:5432/orders_6109" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0110", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: P@ssw0rd5110!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "P@ssw0rd5110!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "P@ssw0rd5110!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0111", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"HWzKiqrtfA8JNV32ahqI2111\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-HWzKiqrtfA8JNV32ahqI2111" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0112", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-utliYT9nGJMgrhqB2r491112\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-utliYT9nGJMgrhqB2r491112" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-utliYT9nGJMgrhqB2r491112" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0113", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-lzqx\n KNEOlsosEXywDfg21113\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-lzqxKNEOlsosEXywDfg21113" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0114", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAARON'\np2 = 'TDI9OINUXL39'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAARONTDI9OINUXL39" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0115", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"1KsMzpHOejTrqgXKVuVKrY2PDkW9fXjk2u3d\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_1KsMzpHOejTrqgXKVuVKrY2PDkW9fXjk2u3d" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0116", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-ADsVoyVRwZteLnkNriBB1116\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ADsVoyVRwZteLnkNriBB1116" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-ADsVoyVRwZteLnkNriBB1116" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0117", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - zPdlVjqkcLQzN06tIhCZ1117'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-zPdlVjqkcLQzN06tIhCZ1117" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0118", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-Du3lwkHUBMKRTDpSLDyc1118\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Du3lwkHUBMKRTDpSLDyc1118" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0119", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-EcsfxljtPDq7lyGgXvTO1119\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-EcsfxljtPDq7lyGgXvTO1119" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-EcsfxljtPDq7lyGgXvTO1119" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0120", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-LSYgFSuNsylUSUe47XJ91120\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-LSYgFSuNsylUSUe47XJ91120" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-LSYgFSuNsylUSUe47XJ91120" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0121", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0122", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"SL9SBZdYZScy5NBWg0UJ1122\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-SL9SBZdYZScy5NBWg0UJ1122" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0123", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7123@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7123@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0124", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-124.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://gitlab.internal.example/group/repo-8124.git" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0125", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-St04B2lDCuQRpUbhzyEc1125\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-St04B2lDCuQRpUbhzyEc1125" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-St04B2lDCuQRpUbhzyEc1125" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0126", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"6nwi3BZxBUTxBymxYfk41126\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-6nwi3BZxBUTxBymxYfk41126" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0127", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app127\", \"S3cret127!\"\nuri = f\"postgres://{user}:{pw}@db-internal-127.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6127:DbRoot!6127!@db-internal-6127.corp.local:5432/orders_6127" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0128", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Adm1n!5128!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Adm1n!5128!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Adm1n!5128!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0129", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"AdgV0T4NuPpwaSEKnAq92129\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-AdgV0T4NuPpwaSEKnAq92129" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0130", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-tyvY01uMTZoZgSNtElxq1130\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-tyvY01uMTZoZgSNtElxq1130" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-tyvY01uMTZoZgSNtElxq1130" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0131", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-XJf4\n 9RHgZovR8YnqZCBK1131\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XJf49RHgZovR8YnqZCBK1131" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0132", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIARV97'\np2 = '77TNQETMNI3G'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIARV9777TNQETMNI3G" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0133", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"Zx0lWpaQcVhQehjXeHkT7SRrr1qVy2mf0mGc\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_Zx0lWpaQcVhQehjXeHkT7SRrr1qVy2mf0mGc" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0134", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-gcyfReBwTBVPF8VScaj11134\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-gcyfReBwTBVPF8VScaj11134" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-gcyfReBwTBVPF8VScaj11134" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0135", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - mz2CC7CuPiGpSJ6TWwC11135'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mz2CC7CuPiGpSJ6TWwC11135" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0136", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-64gc2DDVK9wBJBbEPvvf1136\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-64gc2DDVK9wBJBbEPvvf1136" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0137", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-W1aaY1MjM2C2WghRmUff1137\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-W1aaY1MjM2C2WghRmUff1137" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-W1aaY1MjM2C2WghRmUff1137" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0138", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-cvCC508C3CiUAbit9Nya1138\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-cvCC508C3CiUAbit9Nya1138" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-cvCC508C3CiUAbit9Nya1138" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0139", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0140", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"HGNyjZYBh4qoNId0ncno1140\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-HGNyjZYBh4qoNId0ncno1140" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0141", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7141@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7141@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0142", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-142.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://jenkins.internal.bank.tr/job/deploy-8142" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0143", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-bR1xHgQMv8EbcE4DHfSS1143\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-bR1xHgQMv8EbcE4DHfSS1143" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-bR1xHgQMv8EbcE4DHfSS1143" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0144", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"442hkJPB9xqeWlzIojiR1144\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-442hkJPB9xqeWlzIojiR1144" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0145", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app145\", \"S3cret145!\"\nuri = f\"postgres://{user}:{pw}@db-internal-145.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6145:N1saSecure6145!@db-internal-6145.corp.local:5432/orders_6145" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0146", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: N1saSecure5146!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "N1saSecure5146!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "N1saSecure5146!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0147", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"ke2MJW21TrDAkb7LeVqW2147\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ke2MJW21TrDAkb7LeVqW2147" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0148", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-h4xsbEUnWUBKViXyi34p1148\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-h4xsbEUnWUBKViXyi34p1148" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-h4xsbEUnWUBKViXyi34p1148" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0149", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-9kcT\n Wn4kPhPYvTxD7JH31149\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-9kcTWn4kPhPYvTxD7JH31149" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0150", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIA8LX3'\np2 = 'P724XHQZBC5F'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIA8LX3P724XHQZBC5F" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0151", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"Oco4pqGc7ByA7XqYHzF7XNsLd9nOrho9IuHm\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_Oco4pqGc7ByA7XqYHzF7XNsLd9nOrho9IuHm" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0152", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-eO6biUqOPz4mkg5tHIe81152\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-eO6biUqOPz4mkg5tHIe81152" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-eO6biUqOPz4mkg5tHIe81152" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0153", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - KDIIVhYWNpHAcg6P9RY91153'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-KDIIVhYWNpHAcg6P9RY91153" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0154", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-XWlHdnPlGvzK4rp1hAOE1154\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XWlHdnPlGvzK4rp1hAOE1154" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0155", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-x9INiqwpg1Gtzd7g3pp71155\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-x9INiqwpg1Gtzd7g3pp71155" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-x9INiqwpg1Gtzd7g3pp71155" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0156", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-a0YnzufK5rAvwCRbgMbr1156\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-a0YnzufK5rAvwCRbgMbr1156" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-a0YnzufK5rAvwCRbgMbr1156" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0157", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0158", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"XF9wdtkJTIcDzoLMCw9V1158\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XF9wdtkJTIcDzoLMCw9V1158" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0159", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7159@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7159@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0160", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-160.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://intranet-api-8160.corp.local/v1/users" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0161", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-SdPBRLcwIRXrla99KkUR1161\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-SdPBRLcwIRXrla99KkUR1161" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-SdPBRLcwIRXrla99KkUR1161" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0162", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"LvI0jKwPAqWxxzeZaDAP1162\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-LvI0jKwPAqWxxzeZaDAP1162" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0163", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app163\", \"S3cret163!\"\nuri = f\"postgres://{user}:{pw}@db-internal-163.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6163:P@ssw0rd6163!@db-internal-6163.corp.local:5432/orders_6163" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0164", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: P@ssw0rd5164!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "P@ssw0rd5164!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "P@ssw0rd5164!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0165", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"FSjZtJEUXGQaNQXwR2P12165\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-FSjZtJEUXGQaNQXwR2P12165" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0166", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-g16gSwbOG76IatEQZnmM1166\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-g16gSwbOG76IatEQZnmM1166" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-g16gSwbOG76IatEQZnmM1166" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0167", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-iRF8\n 3rNTAw1W0rFsMhfQ1167\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-iRF83rNTAw1W0rFsMhfQ1167" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0168", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAG4BG'\np2 = 'F86HOGDPL4CK'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAG4BGF86HOGDPL4CK" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0169", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"272J5fWNk56UPfmr1FdZ4J9fQELhyNThj157\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_272J5fWNk56UPfmr1FdZ4J9fQELhyNThj157" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0170", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-UihVPhxg4cMbivUGBp5U1170\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-UihVPhxg4cMbivUGBp5U1170" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-UihVPhxg4cMbivUGBp5U1170" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0171", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - AKzi1G6gt7j2NaR1cdbw1171'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-AKzi1G6gt7j2NaR1cdbw1171" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0172", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-mIu9XWLjY65Z3Bjvdoi01172\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mIu9XWLjY65Z3Bjvdoi01172" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0173", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-207indC40gz0OONOq03H1173\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-207indC40gz0OONOq03H1173" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-207indC40gz0OONOq03H1173" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0174", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-Avc3Nkr3QIuxg5K1ONlN1174\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Avc3Nkr3QIuxg5K1ONlN1174" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Avc3Nkr3QIuxg5K1ONlN1174" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0175", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0176", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"lsxx1WTIAEdWqaXtAwUv1176\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-lsxx1WTIAEdWqaXtAwUv1176" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0177", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7177@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7177@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0178", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-178.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://vault.svc.cluster.local:8200/v1/secret/data/app8178" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0179", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-xAh4FNPIXDxafsxXr4oI1179\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-xAh4FNPIXDxafsxXr4oI1179" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-xAh4FNPIXDxafsxXr4oI1179" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0180", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"GNhGQNWebXAw0J3bKh6i1180\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-GNhGQNWebXAw0J3bKh6i1180" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0181", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app181\", \"S3cret181!\"\nuri = f\"postgres://{user}:{pw}@db-internal-181.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6181:S3cret6181!@db-internal-6181.corp.local:5432/orders_6181" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0182", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Adm1n!5182!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Adm1n!5182!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Adm1n!5182!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0183", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"cZgBliKdvUPN4PZc8rQn2183\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-cZgBliKdvUPN4PZc8rQn2183" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0184", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-0tR91byCV0uajvaE9tiy1184\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-0tR91byCV0uajvaE9tiy1184" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-0tR91byCV0uajvaE9tiy1184" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0185", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-RkOL\n Oe4GhJEawfggBHuI1185\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-RkOLOe4GhJEawfggBHuI1185" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0186", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIA8TJW'\np2 = 'OFC57PACO58P'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIA8TJWOFC57PACO58P" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0187", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"quCK3XqV3N6wowD1y5KF7dmrevwH4J564sfv\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_quCK3XqV3N6wowD1y5KF7dmrevwH4J564sfv" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0188", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-iWxxsBg5a1roWKhlhYdP1188\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-iWxxsBg5a1roWKhlhYdP1188" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-iWxxsBg5a1roWKhlhYdP1188" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0189", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - uG9c5DQTelC0mALoJXVn1189'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-uG9c5DQTelC0mALoJXVn1189" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0190", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-XN5VHqymBqi8788ikSbg1190\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XN5VHqymBqi8788ikSbg1190" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0191", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-x9KBEXdXYbk8Pe1EiPje1191\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-x9KBEXdXYbk8Pe1EiPje1191" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-x9KBEXdXYbk8Pe1EiPje1191" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0192", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-xvQc1czvRDcT8JM7BgNO1192\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-xvQc1czvRDcT8JM7BgNO1192" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-xvQc1czvRDcT8JM7BgNO1192" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0193", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0194", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"O8BrClcmtjHXwckI6AuB1194\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-O8BrClcmtjHXwckI6AuB1194" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0195", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7195@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7195@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0196", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-196.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "http://10.20.30.196/admin" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0197", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-sP2SH1HH9saVguIdtsiZ1197\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-sP2SH1HH9saVguIdtsiZ1197" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-sP2SH1HH9saVguIdtsiZ1197" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0198", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"pGoS5IkzYkWVdBHAZU511198\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-pGoS5IkzYkWVdBHAZU511198" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0199", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app199\", \"S3cret199!\"\nuri = f\"postgres://{user}:{pw}@db-internal-199.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6199:S3cret6199!@db-internal-6199.corp.local:5432/orders_6199" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0200", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: DbRoot!5200!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "DbRoot!5200!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "DbRoot!5200!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0201", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"nkZ3dTyO65eSD5NNCjVH2201\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-nkZ3dTyO65eSD5NNCjVH2201" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0202", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-fWQoN48AcDHk4eXDDaZA1202\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-fWQoN48AcDHk4eXDDaZA1202" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-fWQoN48AcDHk4eXDDaZA1202" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0203", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-SvG6\n T0diBKTL30ZYsHN41203\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-SvG6T0diBKTL30ZYsHN41203" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0204", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIADWKX'\np2 = 'DMNNVUM2ENI8'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIADWKXDMNNVUM2ENI8" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0205", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"qSZm6KV3FmDOwFTnrDapoaa46vFNzbHyvW85\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_qSZm6KV3FmDOwFTnrDapoaa46vFNzbHyvW85" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0206", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-01ofcOBiqrbREKRgnq9o1206\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-01ofcOBiqrbREKRgnq9o1206" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-01ofcOBiqrbREKRgnq9o1206" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0207", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - mYJUDeyihXp1SrzgEJH91207'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mYJUDeyihXp1SrzgEJH91207" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0208", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-4FqCbUBO88gcs0iBczTV1208\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-4FqCbUBO88gcs0iBczTV1208" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0209", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-A9ycbK0KrnA3SpB5GffL1209\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-A9ycbK0KrnA3SpB5GffL1209" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-A9ycbK0KrnA3SpB5GffL1209" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0210", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-Ir1y2dLnqzdhpiff24m41210\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Ir1y2dLnqzdhpiff24m41210" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Ir1y2dLnqzdhpiff24m41210" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0211", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0212", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"IKL7eYcas6YoUEgZVIcU1212\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-IKL7eYcas6YoUEgZVIcU1212" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0213", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7213@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7213@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0214", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-214.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://gitlab.internal.example/group/repo-8214.git" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0215", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-bq4GyQkRWWqvbGZVDJU71215\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-bq4GyQkRWWqvbGZVDJU71215" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-bq4GyQkRWWqvbGZVDJU71215" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0216", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"C2bn9ym2cvacKmzCprJ01216\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-C2bn9ym2cvacKmzCprJ01216" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0217", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app217\", \"S3cret217!\"\nuri = f\"postgres://{user}:{pw}@db-internal-217.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6217:Adm1n!6217!@db-internal-6217.corp.local:5432/orders_6217" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0218", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Adm1n!5218!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Adm1n!5218!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Adm1n!5218!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0219", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"zKpla0kk5fJkaaRzkRcz2219\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-zKpla0kk5fJkaaRzkRcz2219" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0220", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-Pm1mza6MrfAimgv3r4ml1220\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Pm1mza6MrfAimgv3r4ml1220" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Pm1mza6MrfAimgv3r4ml1220" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0221", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-WDeP\n dEOzfnF4qndTfU071221\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-WDePdEOzfnF4qndTfU071221" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0222", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAYUTF'\np2 = 'EFZ811ID07T3'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAYUTFEFZ811ID07T3" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0223", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"6ObjFJvJNCreHAKgL31kDyacibMCNX9AP2rn\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_6ObjFJvJNCreHAKgL31kDyacibMCNX9AP2rn" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0224", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-Nlp9Q23faUY5ik2nKK6j1224\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Nlp9Q23faUY5ik2nKK6j1224" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Nlp9Q23faUY5ik2nKK6j1224" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0225", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - Kk3x946Oj4L6HnUT1yFS1225'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Kk3x946Oj4L6HnUT1yFS1225" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0226", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-4J8W58c9wH2fOp5BzgGJ1226\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-4J8W58c9wH2fOp5BzgGJ1226" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0227", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-1KevlpLeXFvHeTf3CqXy1227\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-1KevlpLeXFvHeTf3CqXy1227" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-1KevlpLeXFvHeTf3CqXy1227" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0228", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-HSQ2rnfQ4YxfHIIvXoOg1228\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-HSQ2rnfQ4YxfHIIvXoOg1228" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-HSQ2rnfQ4YxfHIIvXoOg1228" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0229", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0230", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"pepuBqR8TwgYR9CdSh5e1230\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-pepuBqR8TwgYR9CdSh5e1230" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0231", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7231@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7231@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0232", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-232.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://jenkins.internal.bank.tr/job/deploy-8232" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0233", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-H1qbQFQMJXlQoaM4jyh01233\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-H1qbQFQMJXlQoaM4jyh01233" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-H1qbQFQMJXlQoaM4jyh01233" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0234", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"WreqJKAeLK1432iq9Igw1234\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-WreqJKAeLK1432iq9Igw1234" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0235", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app235\", \"S3cret235!\"\nuri = f\"postgres://{user}:{pw}@db-internal-235.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6235:P@ssw0rd6235!@db-internal-6235.corp.local:5432/orders_6235" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0236", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Adm1n!5236!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Adm1n!5236!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Adm1n!5236!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0237", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"MH2iNsWqAszDYbVoVSAs2237\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-MH2iNsWqAszDYbVoVSAs2237" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0238", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-fMq55hdaakkFfJeZr9oV1238\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-fMq55hdaakkFfJeZr9oV1238" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-fMq55hdaakkFfJeZr9oV1238" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0239", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-C04A\n t1xdIpUxeKUTN3Nw1239\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-C04At1xdIpUxeKUTN3Nw1239" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0240", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAEKDK'\np2 = 'FORDCLVFD4PI'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAEKDKFORDCLVFD4PI" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0241", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"VAtomJQ5hNVIvpr2R9EKsvfN1RzmM5unOzuU\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_VAtomJQ5hNVIvpr2R9EKsvfN1RzmM5unOzuU" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0242", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-JzgTjJKoL3HOzvn6fyWO1242\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-JzgTjJKoL3HOzvn6fyWO1242" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-JzgTjJKoL3HOzvn6fyWO1242" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0243", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - WpLTcUmo8n4zDX7qXrZH1243'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-WpLTcUmo8n4zDX7qXrZH1243" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0244", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-XffiH0siERVL8DFEsALo1244\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XffiH0siERVL8DFEsALo1244" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0245", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-Pf1Or0aYF7AlcRBY2aNY1245\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Pf1Or0aYF7AlcRBY2aNY1245" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Pf1Or0aYF7AlcRBY2aNY1245" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0246", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-VfOrIXr2hcfFILbnv8IS1246\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-VfOrIXr2hcfFILbnv8IS1246" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-VfOrIXr2hcfFILbnv8IS1246" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0247", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0248", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"lKvgj0xSrEFw8tTJM3or1248\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-lKvgj0xSrEFw8tTJM3or1248" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0249", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7249@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7249@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0250", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-250.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://intranet-api-8250.corp.local/v1/users" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0251", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-432Lb94rSd1jMVfIndO31251\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-432Lb94rSd1jMVfIndO31251" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-432Lb94rSd1jMVfIndO31251" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0252", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"je1S1u8mlwHKABjwwopO1252\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-je1S1u8mlwHKABjwwopO1252" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0253", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app253\", \"S3cret253!\"\nuri = f\"postgres://{user}:{pw}@db-internal-253.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6253:N1saSecure6253!@db-internal-6253.corp.local:5432/orders_6253" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0254", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Tr0ya#5254!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Tr0ya#5254!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Tr0ya#5254!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0255", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"91f8Q6PTaLEmBF8fKhtP2255\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-91f8Q6PTaLEmBF8fKhtP2255" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0256", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-ivDCA8ZxbZ4wUbbeS5hB1256\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ivDCA8ZxbZ4wUbbeS5hB1256" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-ivDCA8ZxbZ4wUbbeS5hB1256" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0257", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-6Trb\n YEWfNryPL3Q4pSHE1257\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-6TrbYEWfNryPL3Q4pSHE1257" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0258", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIA6EIM'\np2 = 'B9GM53FPY63M'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIA6EIMB9GM53FPY63M" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0259", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"LpscQIWopiwxxlLguKUMmf0msBMnX2Q1PKDQ\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_LpscQIWopiwxxlLguKUMmf0msBMnX2Q1PKDQ" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0260", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-ajK66LyWvdC1F0iMUTEY1260\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ajK66LyWvdC1F0iMUTEY1260" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-ajK66LyWvdC1F0iMUTEY1260" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0261", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - OkXkVTQeUxhWzzaHPQOR1261'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-OkXkVTQeUxhWzzaHPQOR1261" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0262", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-nOS7P7sW2kATa6gXzfsM1262\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-nOS7P7sW2kATa6gXzfsM1262" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0263", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-Lt5iEgHzuzGfMP93aenX1263\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Lt5iEgHzuzGfMP93aenX1263" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Lt5iEgHzuzGfMP93aenX1263" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0264", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-Lj4W3gYeLTu2eT86pEAl1264\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Lj4W3gYeLTu2eT86pEAl1264" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Lj4W3gYeLTu2eT86pEAl1264" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0265", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0266", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"lXPHoomw6Tx3pcAYYkpI1266\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-lXPHoomw6Tx3pcAYYkpI1266" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0267", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7267@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7267@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0268", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-268.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "https://vault.svc.cluster.local:8200/v1/secret/data/app8268" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0269", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-Fpsqp8XOAp741iz8N4Pa1269\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-Fpsqp8XOAp741iz8N4Pa1269" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-Fpsqp8XOAp741iz8N4Pa1269" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0270", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"ybEBpIZpTFkC1Zauqg5U1270\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ybEBpIZpTFkC1Zauqg5U1270" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0271", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app271\", \"S3cret271!\"\nuri = f\"postgres://{user}:{pw}@db-internal-271.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6271:N1saSecure6271!@db-internal-6271.corp.local:5432/orders_6271" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0272", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Tr0ya#5272!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Tr0ya#5272!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Tr0ya#5272!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0273", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"VT1GXVTI6JtKUqYT7oBI2273\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-VT1GXVTI6JtKUqYT7oBI2273" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0274", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-ruJuewm6tvWuM5REHCr71274\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-ruJuewm6tvWuM5REHCr71274" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-ruJuewm6tvWuM5REHCr71274" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0275", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-E5uq\n 2vK3c3EqU9NiiNUy1275\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-E5uq2vK3c3EqU9NiiNUy1275" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0276", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIAX3XY'\np2 = 'RG7QSODMX0RD'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIAX3XYRG7QSODMX0RD" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0277", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"vmA9wPwGzECiHqfnXYULelL4tEtMA05tSTzV\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_vmA9wPwGzECiHqfnXYULelL4tEtMA05tSTzV" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0278", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-q7mV8PP4PowM0IjZF8v61278\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-q7mV8PP4PowM0IjZF8v61278" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-q7mV8PP4PowM0IjZF8v61278" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0279", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - bePppqdglkmymF2ys4cJ1279'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-bePppqdglkmymF2ys4cJ1279" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0280", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-i27yakATUIFwra15oVwo1280\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-i27yakATUIFwra15oVwo1280" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0281", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-PPoeVVcnqXUSB483q1ha1281\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-PPoeVVcnqXUSB483q1ha1281" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-PPoeVVcnqXUSB483q1ha1281" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0282", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-3zxEK2Y5eWdBowiLkOcH1282\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-3zxEK2Y5eWdBowiLkOcH1282" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-3zxEK2Y5eWdBowiLkOcH1282" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0283", | |
| "category": "js_template", | |
| "language": "mixed", | |
| "code_text": "const uri = `postgres://${user}:${pass}@db/app`;\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "postgres://" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "js_pg", | |
| "pattern": "`postgres://\\$\\{[^}]+\\}:\\$\\{[^}]+\\}@[^`]+`" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0284", | |
| "category": "kotlin_buildstring", | |
| "language": "mixed", | |
| "code_text": "val key = buildString { append(\"sk-proj-\"); append(\"X1u8jiEqPvRMCfcgAL0D1284\") }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-X1u8jiEqPvRMCfcgAL0D1284" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "kt_build", | |
| "pattern": "append\\(\"sk-proj-\"\\);\\s*append\\(\"[A-Za-z0-9_-]+\"\\)" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0285", | |
| "category": "plus_email", | |
| "language": "mixed", | |
| "code_text": "support = \"ahmet.\" + \"yilmaz7285@ornek-sirket.com.tr\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "email", | |
| "value": "ahmet.yilmaz7285@ornek-sirket.com.tr" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_email", | |
| "pattern": "\"[A-Za-z0-9._%+-]+\"\\s*\\+\\s*\"[A-Za-z0-9.-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0286", | |
| "category": "url_builder", | |
| "language": "mixed", | |
| "code_text": "host = \"intranet-api-286.corp.local\"\npath = \"/v1/users\"\nurl = \"https://\" + host + path\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "internal_url", | |
| "value": "http://10.20.30.86/admin" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "url_concat", | |
| "pattern": "\"https://\"\\s*\\+\\s*host\\s*\\+\\s*path" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0287", | |
| "category": "visible_literal_control", | |
| "language": "mixed", | |
| "code_text": "openaiKey = \"sk-proj-9dj3YP6yeKjY1ioXcEGK1287\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": true, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-9dj3YP6yeKjY1ioXcEGK1287" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-9dj3YP6yeKjY1ioXcEGK1287" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0288", | |
| "category": "split_concat", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-\" + \"gKcX3OxpGzFRTfYvAK9M1288\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-gKcX3OxpGzFRTfYvAK9M1288" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_sk", | |
| "pattern": "\"sk-proj-\"\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0289", | |
| "category": "fstring_conn", | |
| "language": "mixed", | |
| "code_text": "user, pw = \"app289\", \"S3cret289!\"\nuri = f\"postgres://{user}:{pw}@db-internal-289.corp.local:5432/orders\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "connection_string", | |
| "value": "postgres://app6289:S3cret6289!@db-internal-6289.corp.local:5432/orders_6289" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "fstring_uri", | |
| "pattern": "f\"postgres://\\{[^}]+\\}:\\{[^}]+\\}@[^\"]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0290", | |
| "category": "comment_secret", | |
| "language": "mixed", | |
| "code_text": "# eski parola: Adm1n!5290!\nprint(ready)\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "password_secret", | |
| "value": "Adm1n!5290!" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "Adm1n!5290!" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "comment_pw", | |
| "pattern": "(?i)#.*(?:parola|password|secret)\\s*:\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0291", | |
| "category": "split_backslash", | |
| "language": "mixed", | |
| "code_text": "api = \"sk-proj-\" \\\n + \"mqYVythVCPDqdSbn9BqM2291\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-mqYVythVCPDqdSbn9BqM2291" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "bs_split", | |
| "pattern": "\"sk-proj-\"\\s*\\\\\\s*\\n\\s*\\+\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0292", | |
| "category": "json_fragment_key", | |
| "language": "mixed", | |
| "code_text": "{ \"meta\": \"cfg\", \"openai_key\":\n \"sk-proj-zg95CDUB6VnDJtmm9cGg1292\" }\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-zg95CDUB6VnDJtmm9cGg1292" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-zg95CDUB6VnDJtmm9cGg1292" | |
| ], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "json_key_fold", | |
| "pattern": "\"openai_key\":\\s*\\n\\s*\"[A-Za-z0-9_-]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": true | |
| }, | |
| { | |
| "id": "SPL-0293", | |
| "category": "yaml_fold", | |
| "language": "mixed", | |
| "code_text": "openai_key: >-\n sk-proj-97qm\n hV4y6AwIg2ZCh2hi1293\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-97qmhV4y6AwIg2ZCh2hi1293" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "yaml_fold_key", | |
| "pattern": "openai_key:\\s*>-\\s*\\n\\s*\\S+\\s*\\n\\s*\\S+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0294", | |
| "category": "split_lines", | |
| "language": "mixed", | |
| "code_text": "p1 = 'AKIASLWV'\np2 = 'OQJ4F2XZ0X9F'\nkey = p1 + p2\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "AKIASLWVOQJ4F2XZ0X9F" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_aws", | |
| "pattern": "p1\\s*=\\s*'AKIA[0-9A-Z]{4}'\\s*\\n\\s*p2\\s*=\\s*'[0-9A-Z]+'" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0295", | |
| "category": "quoted_pieces_ghp", | |
| "language": "mixed", | |
| "code_text": "tok = \"ghp_\" + \"Dny5aSA7yO1gj6s0mbacypUFj7M9IFn41XcD\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "ghp_Dny5aSA7yO1gj6s0mbacypUFj7M9IFn41XcD" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "split_ghp", | |
| "pattern": "\"ghp_\"\\s*\\+\\s*\"[A-Za-z0-9]+\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0296", | |
| "category": "assign_via_dict", | |
| "language": "mixed", | |
| "code_text": "cfg = {}\ncfg[\"openai_key\"] = \"sk-proj-GfNoAv5HjaidBbsHpPBS1296\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-GfNoAv5HjaidBbsHpPBS1296" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-GfNoAv5HjaidBbsHpPBS1296" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0297", | |
| "category": "literal_but_spaces", | |
| "language": "mixed", | |
| "code_text": "key = 'sk - proj - OEsJzQFKshaYO7zJRgSm1297'\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-OEsJzQFKshaYO7zJRgSm1297" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "spaced_sk", | |
| "pattern": "sk\\s*-\\s*proj\\s*-\\s*[A-Za-z0-9_-]+" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0298", | |
| "category": "docx_like_zwsp", | |
| "language": "mixed", | |
| "code_text": "key = \"sk-proj-EL0glBKHbsuzi2u1g9aJ1298\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-EL0glBKHbsuzi2u1g9aJ1298" | |
| } | |
| ], | |
| "contiguous_ground_truth": [], | |
| "custom_rules_recommended": [ | |
| { | |
| "name": "zwsp_key", | |
| "pattern": "key\\s*=\\s*\"[^\"]*\\u200b[^\"]*\"" | |
| } | |
| ], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0299", | |
| "category": "sql_concat", | |
| "language": "mixed", | |
| "code_text": "q = \"SELECT * FROM t WHERE token='\" + \"sk-proj-KLWTZWtQNpXr0cy4kAxV1299\" + \"'\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-KLWTZWtQNpXr0cy4kAxV1299" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-KLWTZWtQNpXr0cy4kAxV1299" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| }, | |
| { | |
| "id": "SPL-0300", | |
| "category": "dotenv_export", | |
| "language": "mixed", | |
| "code_text": "export OPENAI_KEY=\"sk-proj-XtjoRSYrBqQl8pDeAL2K1300\"\n", | |
| "has_sensitive_data": true, | |
| "regex_expected_builtin": false, | |
| "sensitive_findings": [ | |
| { | |
| "type": "api_key", | |
| "value": "sk-proj-XtjoRSYrBqQl8pDeAL2K1300" | |
| } | |
| ], | |
| "contiguous_ground_truth": [ | |
| "sk-proj-XtjoRSYrBqQl8pDeAL2K1300" | |
| ], | |
| "custom_rules_recommended": [], | |
| "needs_custom_for_contiguous": false | |
| } | |
| ] | |
| } |