id stringlengths 24 33 | language stringclasses 5
values | messages listlengths 3 3 | metadata dict | text stringlengths 583 880 |
|---|---|---|---|---|
python-12243-0a0242826c5ef69d | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-12243-0a0242826c5ef69d",
"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 python code for security vulnerabilities.
Return exactly ... |
c-16628-cb767bc3a887a671 | 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-16628-cb767bc3a887a671",
"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 ... |
java-05675-b6f14660d743b593 | 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-05675-b6f14660d743b593",
"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... |
java-02236-1a636d650815179d | 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-02236-1a636d650815179d",
"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-14072-52e4c2bd927dd489 | 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-14072-52e4c2bd927dd489",
"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 ... |
python-13309-d02bf46c900193eb | 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-13309-d02bf46c900193eb",
"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 ... |
javascript-18552-ce3930c926f42164 | 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": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-18552-ce3930c926f42164",
"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 javascript code for security vulnerabilities.
Return exac... |
cpp-11269-9bd54405fb69168d | 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-11269-9bd54405fb69168d",
"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-10479-03c50422ae145403 | 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-10479-03c50422ae145403",
"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 ... |
java-12486-afc52aa7f0ad09f1 | 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-12486-afc52aa7f0ad09f1",
"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-13424-afb7a2f9a6cee4de | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-13424-afb7a2f9a6cee4de",
"template_cwe": "CWE-787"
} | <|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-15517-b28303f42ca42fe4 | 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-15517-b28303f42ca42fe4",
"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... |
javascript-16011-266aa9e54e76d29b | 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": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-16011-266aa9e54e76d29b",
"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 javascript code for security vulnerabilities.
Return exac... |
c-05764-2080f337525720e2 | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-05764-2080f337525720e2",
"template_cwe": "CWE-787"
} | <|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-10081-bf813c3041de7d9e | 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-10081-bf813c3041de7d9e",
"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-12910-adceddab3c54d6d3 | 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-12910-adceddab3c54d6d3",
"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... |
python-01359-75ab989c97a0b55b | 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-01359-75ab989c97a0b55b",
"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-03504-ae9b9d674c29a174 | 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": "Resource allocation without limits",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-03504-ae9b9d674c29a174",
"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 java code for security vulnerabilities.
Return exactly th... |
python-16579-2d83b0d25383ccdc | 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-16579-2d83b0d25383ccdc",
"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 ... |
python-10728-464d20de285036a0 | 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-10728-464d20de285036a0",
"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-02860-66e3186ff7b7b46d | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-02860-66e3186ff7b7b46d",
"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 c code for security vulnerabilities.
Return exactly this ... |
java-03385-d28ff71c65a1dec6 | 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": "Uncontrolled resource consumption",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-03385-d28ff71c65a1dec6",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-15401-c2b903f68d33762c | 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-15401-c2b903f68d33762c",
"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-17864-6b3313d8d4771464 | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-17864-6b3313d8d4771464",
"template_cwe": "CWE-787"
} | <|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-04388-f44e467623a28b5f | 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": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-04388-f44e467623a28b5f",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
java-12616-f0abb39945704a5c | 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-12616-f0abb39945704a5c",
"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-07570-2ef8a54bf9cf873a | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-07570-2ef8a54bf9cf873a",
"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 java code for security vulnerabilities.
Return exactly th... |
java-10073-c8930f39b2346f14 | 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": "Stack buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-10073-c8930f39b2346f14",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-05480-3a96c7e02f5c2400 | 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 authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-05480-3a96c7e02f5c2400",
"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 javascript code for security vulnerabilities.
Return exac... |
cpp-08051-71e422fe98170e78 | 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": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-08051-71e422fe98170e78",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-15313-e30a2976b0758b8b | 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": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-15313-e30a2976b0758b8b",
"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 c code for security vulnerabilities.
Return exactly this ... |
cpp-17588-88212baa1707cd75 | 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": "Double free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-17588-88212baa1707cd75",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
python-09598-934d28f9f5d1f69d | 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-09598-934d28f9f5d1f69d",
"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 ... |
javascript-17579-abc5ed7d95dc061a | 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": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-17579-abc5ed7d95dc061a",
"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 javascript code for security vulnerabilities.
Return exac... |
cpp-19760-33d33e57eb921e9a | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-19760-33d33e57eb921e9a",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
cpp-17900-a8931e6f39305854 | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-17900-a8931e6f39305854",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-08281-554cd51009ac0ec4 | 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-08281-554cd51009ac0ec4",
"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 ... |
cpp-19366-6e484ee52a7da59e | 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": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-19366-6e484ee52a7da59e",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
python-11253-972ed22b320c5d9d | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-11253-972ed22b320c5d9d",
"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 python code for security vulnerabilities.
Return exactly ... |
javascript-18131-0db55adf8496c8e8 | 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-18131-0db55adf8496c8e8",
"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-11556-b0183d7aa17210a9 | 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-11556-b0183d7aa17210a9",
"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 ... |
python-14006-ba149949a57a7f15 | 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": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-14006-ba149949a57a7f15",
"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 python code for security vulnerabilities.
Return exactly ... |
cpp-04257-762e1b368fde67d3 | 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-04257-762e1b368fde67d3",
"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... |
python-00305-38adca7a17265076 | 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-00305-38adca7a17265076",
"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 ... |
c-19934-44170989fd59f557 | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-19934-44170989fd59f557",
"template_cwe": "CWE-787"
} | <|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-16810-703ed5f8c25c78c9 | 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 scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-16810-703ed5f8c25c78c9",
"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 python code for security vulnerabilities.
Return exactly ... |
cpp-02948-7db2604442454ac4 | 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": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-02948-7db2604442454ac4",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
cpp-01533-35ac712827bb583b | 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 authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-01533-35ac712827bb583b",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
javascript-03741-96d4b6d573ce3588 | 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-03741-96d4b6d573ce3588",
"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... |
python-12413-e1a5c29c8c3a6e15 | 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-12413-e1a5c29c8c3a6e15",
"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-05710-acdb23c66adec340 | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-05710-acdb23c66adec340",
"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 java code for security vulnerabilities.
Return exactly th... |
java-18692-60f3a63abcc112e5 | 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-18692-60f3a63abcc112e5",
"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-05483-979fa7dc08af7a31 | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-05483-979fa7dc08af7a31",
"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 python code for security vulnerabilities.
Return exactly ... |
python-14980-b5f6d5e181ca2ece | 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 scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-14980-b5f6d5e181ca2ece",
"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 python code for security vulnerabilities.
Return exactly ... |
python-05743-ddac44568fb16f23 | 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-05743-ddac44568fb16f23",
"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 ... |
cpp-05594-f5f8f6e2e34f821c | 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-05594-f5f8f6e2e34f821c",
"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... |
python-10839-8edd467108ddfc12 | 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-10839-8edd467108ddfc12",
"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-11012-ccebef4b2e7d6017 | 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": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-11012-ccebef4b2e7d6017",
"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 python code for security vulnerabilities.
Return exactly ... |
python-11923-b1c8434e70114ad1 | 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-11923-b1c8434e70114ad1",
"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-00884-5d8ef1406fc58436 | 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-00884-5d8ef1406fc58436",
"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... |
python-14144-9f13215a5cd392ac | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-14144-9f13215a5cd392ac",
"template_cwe": "CWE-787"
} | <|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-18058-bbf73c0e70e0bd36 | 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-18058-bbf73c0e70e0bd36",
"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 ... |
java-16378-b2ddcc45a4d8d5c5 | 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 access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-16378-b2ddcc45a4d8d5c5",
"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 java code for security vulnerabilities.
Return exactly th... |
cpp-06677-572db30cfadf4944 | 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-06677-572db30cfadf4944",
"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-06484-b8e0b64c52717ac2 | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-06484-b8e0b64c52717ac2",
"template_cwe": "CWE-787"
} | <|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-13532-7b82027c02173fbf | 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": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-13532-7b82027c02173fbf",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
cpp-13685-0d1ef27c64e72582 | 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": "Integer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-13685-0d1ef27c64e72582",
"template_cwe": "CWE-190"
} | <|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-19248-6cd44429b5c96508 | 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-19248-6cd44429b5c96508",
"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-01570-ab7069420fe72804 | 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": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-01570-ab7069420fe72804",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-10314-484217960c98845b | 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": "Unsafe deserialization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-10314-484217960c98845b",
"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 c code for security vulnerabilities.
Return exactly this ... |
java-09416-ff07c54c1fc65d40 | 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-09416-ff07c54c1fc65d40",
"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... |
c-00279-2aef62f580b03617 | 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-00279-2aef62f580b03617",
"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 ... |
cpp-11996-82b9d198a99fc5a7 | 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-11996-82b9d198a99fc5a7",
"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... |
python-16900-3d68307f12dd55d4 | 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 scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-16900-3d68307f12dd55d4",
"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 python code for security vulnerabilities.
Return exactly ... |
cpp-08720-11f941c018f92ddb | 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-08720-11f941c018f92ddb",
"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... |
cpp-03431-6f2dbc422b7cbd6f | 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": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-03431-6f2dbc422b7cbd6f",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
java-04405-e64b432dadf55e27 | 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": "Uncontrolled resource consumption",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-04405-e64b432dadf55e27",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-16102-ece1254ea11db11a | 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-16102-ece1254ea11db11a",
"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... |
c-01457-884ba66d8ff6882d | 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-01457-884ba66d8ff6882d",
"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 ... |
python-02230-3ffbb2c185b30b36 | 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-02230-3ffbb2c185b30b36",
"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 ... |
cpp-15846-36ac635892404546 | 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": "Integer underflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-15846-36ac635892404546",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
python-02422-ecd0a3ac8cdb9640 | 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": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-02422-ecd0a3ac8cdb9640",
"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 python code for security vulnerabilities.
Return exactly ... |
c-04306-5644c48d31ec4161 | 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-04306-5644c48d31ec4161",
"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-07645-c677fae164c20420 | 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-07645-c677fae164c20420",
"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 ... |
java-00690-915ef95f36e69a94 | 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-00690-915ef95f36e69a94",
"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... |
javascript-12633-e13f41167562bd4a | 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-12633-e13f41167562bd4a",
"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-05763-1c729fa4fc90bef6 | 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-05763-1c729fa4fc90bef6",
"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-19582-8e202f1cb19fa19f | 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-19582-8e202f1cb19fa19f",
"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... |
java-01707-e59b8077e3eba349 | 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": "Hard-coded credentials",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-01707-e59b8077e3eba349",
"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 java code for security vulnerabilities.
Return exactly th... |
java-12044-15e4a53b55bf69d7 | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-12044-15e4a53b55bf69d7",
"template_cwe": "CWE-787"
} | <|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-15293-24b7e0a89fcc0054 | 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": "Stack buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-15293-24b7e0a89fcc0054",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
java-09257-12a7398301046328 | 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-09257-12a7398301046328",
"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... |
c-10831-f622b621865a6278 | 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": "Server-side request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-10831-f622b621865a6278",
"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 c code for security vulnerabilities.
Return exactly this ... |
cpp-11257-c051deddc15c7a5a | 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-11257-c051deddc15c7a5a",
"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... |
javascript-07779-9cab89124b0a13db | 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-07779-9cab89124b0a13db",
"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-11336-48f009a22f1521cc | 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": "Incorrect authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-11336-48f009a22f1521cc",
"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 javascript code for security vulnerabilities.
Return exac... |
python-01264-0322ffdfe468324b | 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": "Out-of-bounds write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-01264-0322ffdfe468324b",
"template_cwe": "CWE-787"
} | <|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-06238-34c3ea99de52f2bd | 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-06238-34c3ea99de52f2bd",
"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 ... |
python-19650-1e82ce532663dd54 | 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 authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-19650-1e82ce532663dd54",
"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 python code for security vulnerabilities.
Return exactly ... |
python-09197-1c2dab8c12ed1bbc | 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-09197-1c2dab8c12ed1bbc",
"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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.