id stringlengths 24 33 | language stringclasses 5
values | messages listlengths 3 3 | metadata dict | text stringlengths 583 880 |
|---|---|---|---|---|
cpp-04622-2770e5951bec35bf | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-04622-2770e5951bec35bf",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-05016-616eab7884ebc022 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-05016-616eab7884ebc022",
"template_cwe": "CWE-416"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-08366-ddecf39e925c2db9 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-08366-ddecf39e925c2db9",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-18572-cae2c5a43c41fe92 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-18572-cae2c5a43c41fe92",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-10076-a1c57fdddc237c25 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-10076-a1c57fdddc237c25",
"template_cwe": "CWE-863"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
java-14746-e5ca8197d865e110 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-14746-e5ca8197d865e110",
"template_cwe": "CWE-416"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
java-16256-b97ada1817c66fc5 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-16256-b97ada1817c66fc5",
"template_cwe": "CWE-863"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
c-07892-3eaa9265b1d14290 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-07892-3eaa9265b1d14290",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-07826-513710f8c2950bc3 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-07826-513710f8c2950bc3",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-09015-560fce5cff1f8c3c | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Heap buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-09015-560fce5cff1f8c3c",
"template_cwe": "CWE-122"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-17126-b17ed1378593c6cd | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-17126-b17ed1378593c6cd",
"template_cwe": "CWE-863"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
python-06283-bd38b6494dbce55a | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Stack buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-06283-bd38b6494dbce55a",
"template_cwe": "CWE-121"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-07162-e7a08f2915a56834 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-07162-e7a08f2915a56834",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
javascript-19001-fd3c3e006af06274 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-19001-fd3c3e006af06274",
"template_cwe": "CWE-89"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
java-14260-cca42ae957671bf3 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Cross-site scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-14260-cca42ae957671bf3",
"template_cwe": "CWE-79"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-01967-1696f442d0dfbaca | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Improper input validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-01967-1696f442d0dfbaca",
"template_cwe": "CWE-20"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
javascript-09566-da88bfa2cdc7a2fc | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-09566-da88bfa2cdc7a2fc",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-12687-24607e21e224c1ba | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Improper input validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-12687-24607e21e224c1ba",
"template_cwe": "CWE-20"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-01795-5a47ab789c06dcaf | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Uncontrolled resource consumption",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-01795-5a47ab789c06dcaf",
"template_cwe": "CWE-400"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-04095-fc0928be9684e4df | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Heap buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-04095-fc0928be9684e4df",
"template_cwe": "CWE-122"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
python-19045-a64772af0ff73c81 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Heap buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-19045-a64772af0ff73c81",
"template_cwe": "CWE-122"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
javascript-09833-4770f515e69e74aa | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-09833-4770f515e69e74aa",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-13363-6cc2d1529e207d8c | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-13363-6cc2d1529e207d8c",
"template_cwe": "CWE-862"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-13511-79226c2f2e3ff31c | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-13511-79226c2f2e3ff31c",
"template_cwe": "CWE-89"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
python-01074-eae82a79193675bc | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Resource allocation without limits",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-01074-eae82a79193675bc",
"template_cwe": "CWE-770"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
c-18011-67b2d0b4fa9add13 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-18011-67b2d0b4fa9add13",
"template_cwe": "CWE-89"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-08248-e8d3807a9d7f41a3 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Double free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-08248-e8d3807a9d7f41a3",
"template_cwe": "CWE-415"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-05669-18688a862c5ca72a | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Free of non-heap memory",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-05669-18688a862c5ca72a",
"template_cwe": "CWE-590"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
python-01106-a587809251a429dc | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-01106-a587809251a429dc",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-02423-954d56b9a2262639 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-02423-954d56b9a2262639",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
java-15054-aa1454530503b741 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Unsafe deserialization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-15054-aa1454530503b741",
"template_cwe": "CWE-502"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-05299-220aab5023e75913 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-05299-220aab5023e75913",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-14623-e76d5ca5f760b4b1 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-14623-e76d5ca5f760b4b1",
"template_cwe": "CWE-862"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-08557-3a998d88b9b206bd | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Out-of-bounds read",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-08557-3a998d88b9b206bd",
"template_cwe": "CWE-125"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-10306-3c704891d7a18a72 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-10306-3c704891d7a18a72",
"template_cwe": "CWE-416"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-12612-b1ab67fc44d18761 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-12612-b1ab67fc44d18761",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-18672-66fe2f7a03748765 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-18672-66fe2f7a03748765",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
cpp-11980-c6d45210bf19f900 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Cross-site scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-11980-c6d45210bf19f900",
"template_cwe": "CWE-79"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-03158-2b9f84bbbd46086e | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-03158-2b9f84bbbd46086e",
"template_cwe": "CWE-78"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-07016-d64296e39733f0b4 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Integer underflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-07016-d64296e39733f0b4",
"template_cwe": "CWE-191"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
java-19152-f7b056b6c7351dc3 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-19152-f7b056b6c7351dc3",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-00627-124f444cb0b442e5 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Memory leak",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-00627-124f444cb0b442e5",
"template_cwe": "CWE-401"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
cpp-03134-bf8ceac4bdb6443b | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Unsafe deserialization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-03134-bf8ceac4bdb6443b",
"template_cwe": "CWE-502"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
c-00347-e3544c0d72fbea9a | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Improper input validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-00347-e3544c0d72fbea9a",
"template_cwe": "CWE-20"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-04792-fe9beff35204acb9 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-04792-fe9beff35204acb9",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
java-08449-3c753e1338c761b7 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-08449-3c753e1338c761b7",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
java-08873-5c33f94cd16764de | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-08873-5c33f94cd16764de",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-19611-37c898d66ec81244 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-19611-37c898d66ec81244",
"template_cwe": "CWE-434"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
c-12469-2998989bfe347f9d | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-12469-2998989bfe347f9d",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-01405-c255c4d71ec77a76 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Uncontrolled resource consumption",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-01405-c255c4d71ec77a76",
"template_cwe": "CWE-400"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-04047-e532b2ec2875bee1 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Hard-coded credentials",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-04047-e532b2ec2875bee1",
"template_cwe": "CWE-798"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-06446-7e53923e50482940 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Integer underflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-06446-7e53923e50482940",
"template_cwe": "CWE-191"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-02499-f778a1cc11457198 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-02499-f778a1cc11457198",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-15088-1ffec333d2a8b571 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Improper access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-15088-1ffec333d2a8b571",
"template_cwe": "CWE-284"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
cpp-07919-2763b5b5acc84d0e | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Incorrect type conversion",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-07919-2763b5b5acc84d0e",
"template_cwe": "CWE-704"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-12849-09d557fce034c29d | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "XML external entity",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-12849-09d557fce034c29d",
"template_cwe": "CWE-611"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
python-15705-ccb63615c1310c88 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Path traversal",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-15705-ccb63615c1310c88",
"template_cwe": "CWE-22"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-19797-2edf5cf989937611 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Improper input validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-19797-2edf5cf989937611",
"template_cwe": "CWE-20"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-13828-6ca39a035d565d67 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Improper access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-13828-6ca39a035d565d67",
"template_cwe": "CWE-284"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
c-18146-42986650627103a3 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-18146-42986650627103a3",
"template_cwe": "CWE-863"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-06260-a80e2dc434e1f906 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Missing authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-06260-a80e2dc434e1f906",
"template_cwe": "CWE-306"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-08061-f484ed48d0778d92 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Server-side request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-08061-f484ed48d0778d92",
"template_cwe": "CWE-918"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-02449-419fcd053d0d6e6c | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-02449-419fcd053d0d6e6c",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
python-04978-ff64d082d25a0389 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Improper certificate validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-04978-ff64d082d25a0389",
"template_cwe": "CWE-295"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
cpp-06072-89cdf239176c9529 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-06072-89cdf239176c9529",
"template_cwe": "CWE-476"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-16146-7403aaff9448b31e | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-16146-7403aaff9448b31e",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-17865-2a9dedbaa1f45ed0 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Path traversal",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-17865-2a9dedbaa1f45ed0",
"template_cwe": "CWE-22"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-19399-3180eab573136001 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-19399-3180eab573136001",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-08169-ae787a2d68a6e3d8 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-08169-ae787a2d68a6e3d8",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-06504-c8a304bf431ed4b6 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Resource allocation without limits",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-06504-c8a304bf431ed4b6",
"template_cwe": "CWE-770"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
python-04032-03762b6b86674aa5 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-04032-03762b6b86674aa5",
"template_cwe": "CWE-476"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-01073-b7951f717e051807 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-01073-b7951f717e051807",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-00175-3481ef7517c226e8 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Uncontrolled resource consumption",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-00175-3481ef7517c226e8",
"template_cwe": "CWE-400"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
javascript-06531-9c438623789ed48c | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Server-side request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-06531-9c438623789ed48c",
"template_cwe": "CWE-918"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-14595-c597f5cf8475f0ec | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Path traversal",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-14595-c597f5cf8475f0ec",
"template_cwe": "CWE-22"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
c-01936-16a69bd321f1822b | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-01936-16a69bd321f1822b",
"template_cwe": "CWE-863"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-05412-a8a173b845454336 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-05412-a8a173b845454336",
"template_cwe": "CWE-476"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-14651-473160e15a21696b | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-14651-473160e15a21696b",
"template_cwe": "CWE-89"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-00159-c338333bc2337f4f | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-00159-c338333bc2337f4f",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-11072-4eb8fe31109a8fbb | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-11072-4eb8fe31109a8fbb",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-07958-05e6f854eca4ad5f | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-07958-05e6f854eca4ad5f",
"template_cwe": "CWE-78"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
c-19731-3a2a9d46f840d8dc | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-19731-3a2a9d46f840d8dc",
"template_cwe": "CWE-434"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-12532-d38135d59b73c11e | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-12532-d38135d59b73c11e",
"template_cwe": "CWE-476"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
c-11749-727e7e13712a45f3 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-11749-727e7e13712a45f3",
"template_cwe": "CWE-94"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
python-04052-45e5dc76451caa51 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-04052-45e5dc76451caa51",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
java-01676-b6f8916aa44986dc | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Open redirect",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-01676-b6f8916aa44986dc",
"template_cwe": "CWE-601"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
python-05470-83ea8fc427bede4b | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-05470-83ea8fc427bede4b",
"template_cwe": "CWE-120"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
javascript-02136-baf29f4c0fe520a5 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-02136-baf29f4c0fe520a5",
"template_cwe": "CWE-416"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-15258-8edad41687ddf638 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-15258-8edad41687ddf638",
"template_cwe": "CWE-78"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-12580-412d548402756650 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Cross-site scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-12580-412d548402756650",
"template_cwe": "CWE-79"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
c-09678-76b3b51e9c594838 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Improper access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-09678-76b3b51e9c594838",
"template_cwe": "CWE-284"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-09054-56bfb70848aa4a1b | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Resource allocation without limits",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-09054-56bfb70848aa4a1b",
"template_cwe": "CWE-770"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-08223-4c01c261f8b8d35d | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-08223-4c01c261f8b8d35d",
"template_cwe": "CWE-862"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
python-14743-01cb288dce964bc7 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-14743-01cb288dce964bc7",
"template_cwe": "CWE-862"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
cpp-00359-37a514b97f703e68 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Incorrect type conversion",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-00359-37a514b97f703e68",
"template_cwe": "CWE-704"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
java-05903-348f62d66df45b22 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-05903-348f62d66df45b22",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
c-08670-c9b8f3aea01888df | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Cross-site scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-08670-c9b8f3aea01888df",
"template_cwe": "CWE-79"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-18860-03c94faba19b24da | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-18860-03c94faba19b24da",
"template_cwe": "CWE-120"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
javascript-02032-90e9bd95b387fae3 | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-02032-90e9bd95b387fae3",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
python-19419-b46724464d12aca9 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "XML external entity",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-19419-b46724464d12aca9",
"template_cwe": "CWE-611"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.