messages
listlengths
3
3
metadata
dict
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2023-4105", "commit": "53d2ba001624e0e69c3df61e6d68f758ba869c97", "source_id": "bytedance_PatchEval:986" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Python\nVulnerable code:\n<code>\n[{'id': ...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2020-10691", "commit": "b2551bb6943eec078066aa3a923e0bb3ed85abe8", "source_id": "bytedance_PatchEval:987" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2024-21664", "commit": "0e8802ce6842625845d651456493e7c87625601f", "source_id": "bytedance_PatchEval:988" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Python\nVulnerable code:\n<code>\n[{'id': ...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2018-7753", "commit": "c5df5789ec3471a31311f42c2d19fc2cf21b35ef", "source_id": "bytedance_PatchEval:989" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2019-3792", "commit": "dc3d15ab6c3a69890c9985f9c875d4c2949be727", "source_id": "bytedance_PatchEval:990" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: JavaScript\nVulnerable code:\n<code>\n[{'i...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2021-32831", "commit": "887b0fa9e162ef7a2dd9cec20a5ca122726373b3", "source_id": "bytedance_PatchEval:991" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2024-29031", "commit": "8e995ce21af02d32ef61689c1e1748a745917f13", "source_id": "bytedance_PatchEval:992" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2020-10660", "commit": "18485ee9d4352ac8e8396c580b5941ccf8e5b31a", "source_id": "bytedance_PatchEval:993" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2020-27519", "commit": "87ceeae9b8ee415541d7d71de10675e699a76e5e", "source_id": "bytedance_PatchEval:994" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Python\nVulnerable code:\n<code>\n[{'id': ...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2024-37164", "commit": "f2346934c80bd91740f55c2788ef7d535a291d4c", "source_id": "bytedance_PatchEval:995" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2022-3920", "commit": "706866fa0016b0aa302679f9c648859050d19b2e", "source_id": "bytedance_PatchEval:996" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Go\nVulnerable code:\n<code>\n[{'id': 'vul...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2024-41666", "commit": "05edb2a9ca48f0f10608c1b49fbb0cf7164f6476", "source_id": "bytedance_PatchEval:997" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: JavaScript\nVulnerable code:\n<code>\n[{'i...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2019-9115", "commit": "7ea0e65ece9c059ad8cb1ccec8e4c849af58c48d", "source_id": "bytedance_PatchEval:998" }
[ { "role": "system", "content": "You are a secure code repair model. Return ONLY patched code with no explanation and no markdown. Preserve intended behavior except for the security fix." }, { "role": "user", "content": "Task: patch_generation\nLanguage: Python\nVulnerable code:\n<code>\n[{'id': ...
{ "task": "patch_generation", "dataset": "bytedance_PatchEval", "cve_id": "CVE-2022-40023", "commit": "925760291d6efec64fda6e9dd1fd9cfbd5be068c", "source_id": "bytedance_PatchEval:999" }