id stringlengths 24 33 | language stringclasses 5
values | messages listlengths 3 3 | metadata dict | text stringlengths 583 880 |
|---|---|---|---|---|
python-09340-c0de782632adb3ec | 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-09340-c0de782632adb3ec",
"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 ... |
java-08851-caf2fd10dfea25b1 | 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": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-08851-caf2fd10dfea25b1",
"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 java code for security vulnerabilities.
Return exactly th... |
cpp-10880-fad0fa849568b23b | 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-10880-fad0fa849568b23b",
"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-18259-54333b6225f2b08d | 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-18259-54333b6225f2b08d",
"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... |
cpp-04112-78e671d1c78d2725 | 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-04112-78e671d1c78d2725",
"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... |
cpp-05759-ca5dcde90d5a27ff | 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-05759-ca5dcde90d5a27ff",
"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... |
cpp-01174-bd6fd094335adc14 | 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 write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-01174-bd6fd094335adc14",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
cpp-17022-96e46ea29936b58a | 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-17022-96e46ea29936b58a",
"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... |
cpp-05405-894cd0dd25289a73 | 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-05405-894cd0dd25289a73",
"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... |
java-09955-cbb36d7a88d2f8ae | 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-09955-cbb36d7a88d2f8ae",
"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-17134-9ef9e854dac0904c | 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-17134-9ef9e854dac0904c",
"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... |
java-01056-5ae244b9f12cf6ce | 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-01056-5ae244b9f12cf6ce",
"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... |
javascript-09036-bc0e19cbc000c6b6 | 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-09036-bc0e19cbc000c6b6",
"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-09483-672c398a201c05f9 | 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-09483-672c398a201c05f9",
"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-10609-42c631db8631c8c6 | 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-10609-42c631db8631c8c6",
"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-18012-39dfa7b2ed2496b8 | 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-18012-39dfa7b2ed2496b8",
"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... |
python-15987-d34bf3a3d63aa17e | 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-15987-d34bf3a3d63aa17e",
"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-16537-1af46e41dc226c91 | 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-16537-1af46e41dc226c91",
"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... |
javascript-18419-0cf4b2b055605f65 | 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-18419-0cf4b2b055605f65",
"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... |
javascript-15033-7e62c6fec0212706 | 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-15033-7e62c6fec0212706",
"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... |
java-13818-2a7e1b2aabaffc27 | 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": "OS command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-13818-2a7e1b2aabaffc27",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-09819-5b4fc6f1af0ce217 | 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-09819-5b4fc6f1af0ce217",
"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... |
python-05502-e71212ee46b85814 | 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-05502-e71212ee46b85814",
"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-18761-1d4f260a555623fa | 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": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-18761-1d4f260a555623fa",
"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 java code for security vulnerabilities.
Return exactly th... |
cpp-16250-f1f1684a9d66bcce | 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-16250-f1f1684a9d66bcce",
"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... |
python-06590-3c1a453d01a5386c | 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-06590-3c1a453d01a5386c",
"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 ... |
javascript-07895-38e054a79e984be5 | 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": "Path traversal",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-07895-38e054a79e984be5",
"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 javascript code for security vulnerabilities.
Return exac... |
javascript-08724-f58230f94e3a8685 | 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-08724-f58230f94e3a8685",
"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... |
java-12010-4ca9ff4a4022a28b | 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-12010-4ca9ff4a4022a28b",
"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... |
java-11985-3c59c63f69345116 | 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-11985-3c59c63f69345116",
"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... |
javascript-11719-d8a1122e272f05c3 | 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-11719-d8a1122e272f05c3",
"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... |
c-07778-6b382056951fc3df | 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-07778-6b382056951fc3df",
"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-11793-60a785ee8e2642d4 | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-11793-60a785ee8e2642d4",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
java-07825-181a644a09c0493c | 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-07825-181a644a09c0493c",
"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... |
python-03060-c79ab2d9e736ea7b | 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-03060-c79ab2d9e736ea7b",
"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-04577-62bc759df33f33aa | 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-04577-62bc759df33f33aa",
"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... |
python-10211-878ecf11108f7ab2 | 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": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-10211-878ecf11108f7ab2",
"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 python code for security vulnerabilities.
Return exactly ... |
javascript-15097-40d65c231b680985 | 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-15097-40d65c231b680985",
"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... |
cpp-01943-0fe0e053c9121dd9 | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-01943-0fe0e053c9121dd9",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
javascript-00515-0da7a3a7904089dc | 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": "Path traversal",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-00515-0da7a3a7904089dc",
"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 javascript code for security vulnerabilities.
Return exac... |
javascript-16128-d2fb206272d5cdfb | 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-16128-d2fb206272d5cdfb",
"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... |
cpp-09916-c851a0f80dd72690 | 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-09916-c851a0f80dd72690",
"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-08530-3638da378626f054 | 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-08530-3638da378626f054",
"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... |
c-13554-8683a0eee1a0c15f | 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-13554-8683a0eee1a0c15f",
"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 ... |
c-19945-e9084bb1e633415e | 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-19945-e9084bb1e633415e",
"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 ... |
java-05805-8d4005695dc85af6 | 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": "Heap buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-05805-8d4005695dc85af6",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-18593-91c73e547148b002 | 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": "Stack buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-18593-91c73e547148b002",
"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 javascript code for security vulnerabilities.
Return exac... |
python-06942-b37803cbf5335a5d | 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-06942-b37803cbf5335a5d",
"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 ... |
cpp-14390-7927cec40ff9da20 | 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-14390-7927cec40ff9da20",
"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-13990-f5ea8a33fb4bcfe2 | 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-13990-f5ea8a33fb4bcfe2",
"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-17903-b5de5f9234908cac | 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": "Stack buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-17903-b5de5f9234908cac",
"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 c code for security vulnerabilities.
Return exactly this ... |
c-00552-3e8d4e6cb9c3ff40 | 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": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-00552-3e8d4e6cb9c3ff40",
"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 c code for security vulnerabilities.
Return exactly this ... |
javascript-12829-1b5a64643e0c28ab | 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-12829-1b5a64643e0c28ab",
"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... |
c-12603-b77933801ecec83b | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-12603-b77933801ecec83b",
"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 c code for security vulnerabilities.
Return exactly this ... |
cpp-16001-18285d1b7814c9c7 | 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-16001-18285d1b7814c9c7",
"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... |
c-04529-68a9e2ee0db88934 | 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-04529-68a9e2ee0db88934",
"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 ... |
java-04629-acc3ecfe150ea3b5 | 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": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-04629-acc3ecfe150ea3b5",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-07335-0cc27518419c9166 | 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-07335-0cc27518419c9166",
"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... |
cpp-07650-e7b7dfd6bdba3618 | 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-07650-e7b7dfd6bdba3618",
"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-11894-d44c44e37d89719a | 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-11894-d44c44e37d89719a",
"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 ... |
javascript-07563-97aca2096157ae71 | 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-07563-97aca2096157ae71",
"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-04964-397e76f628032311 | 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": "Unsafe deserialization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-04964-397e76f628032311",
"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 python code for security vulnerabilities.
Return exactly ... |
java-16952-922b16fac8cadb3b | 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-16952-922b16fac8cadb3b",
"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... |
java-11921-643758cf27697277 | 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": "SQL injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-11921-643758cf27697277",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-14691-0e8c4bdd3e5aa566 | 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-14691-0e8c4bdd3e5aa566",
"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... |
javascript-16721-089f655f1c7a49f6 | 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-16721-089f655f1c7a49f6",
"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-13557-e1482794c68f495c | 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-13557-e1482794c68f495c",
"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 ... |
cpp-00101-6b6d0929daff58ca | 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-00101-6b6d0929daff58ca",
"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... |
javascript-19686-2cc2eb80afa701ea | 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-19686-2cc2eb80afa701ea",
"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-00696-97dc1f5aecdaee01 | 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-00696-97dc1f5aecdaee01",
"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-18485-e2ecfeadef464a54 | 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-18485-e2ecfeadef464a54",
"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-14263-a97e42eafe6a6d81 | 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-14263-a97e42eafe6a6d81",
"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-11158-650990631b4003d4 | 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-11158-650990631b4003d4",
"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-14782-3e321aec4ab7469f | 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-14782-3e321aec4ab7469f",
"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... |
javascript-18006-74c0a9c754fabc05 | 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-18006-74c0a9c754fabc05",
"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-12250-21cf5d8c6093be97 | 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-12250-21cf5d8c6093be97",
"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-05140-e003bfc9cbc13772 | 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-05140-e003bfc9cbc13772",
"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 ... |
javascript-10296-ad0c9f13d524514e | 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-10296-ad0c9f13d524514e",
"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-04373-494ce61a99176eda | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-04373-494ce61a99176eda",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
cpp-17149-43cf8cd1b7f4aedb | 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-17149-43cf8cd1b7f4aedb",
"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... |
c-13208-2858706abb444947 | 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-13208-2858706abb444947",
"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-04233-de473fa1cd3b3876 | 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-04233-de473fa1cd3b3876",
"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 ... |
python-07966-fcc13ed51ee44861 | 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-07966-fcc13ed51ee44861",
"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 ... |
javascript-04644-573db5e6f1606d1b | 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-04644-573db5e6f1606d1b",
"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... |
c-16180-71e352c91618172f | 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-16180-71e352c91618172f",
"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 ... |
cpp-06575-b658b1eaeee8e81d | 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-06575-b658b1eaeee8e81d",
"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-05568-4a6155faa2bc773c | 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-05568-4a6155faa2bc773c",
"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 ... |
cpp-15535-eaa8daac5b1fcb23 | 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": "Heap buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-15535-eaa8daac5b1fcb23",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
java-14165-4e65dfd152447063 | 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-14165-4e65dfd152447063",
"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... |
cpp-04626-65331523433cc2ab | 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-04626-65331523433cc2ab",
"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... |
javascript-03596-68d45d2a1724f7dd | 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-03596-68d45d2a1724f7dd",
"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... |
python-18447-bf36640dd740cabe | 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-18447-bf36640dd740cabe",
"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 ... |
cpp-02192-eed48df279a6b557 | 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-02192-eed48df279a6b557",
"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-11163-00348e248def8970 | 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-11163-00348e248def8970",
"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... |
cpp-17864-ddd8c67eedb9cb2e | 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 write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-17864-ddd8c67eedb9cb2e",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-06593-10ab9b59c58ebc5e | 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": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-06593-10ab9b59c58ebc5e",
"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 c code for security vulnerabilities.
Return exactly this ... |
java-11119-7dce8f471d824a20 | 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": "Code injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-11119-7dce8f471d824a20",
"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 java code for security vulnerabilities.
Return exactly th... |
cpp-18644-7956d665f4b7012a | 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 write",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-18644-7956d665f4b7012a",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-16809-d7210de219fc9ead | 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-16809-d7210de219fc9ead",
"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 ... |
c-15309-72f582f7297ca724 | 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-15309-72f582f7297ca724",
"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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.