id stringlengths 24 33 | language stringclasses 5
values | messages listlengths 3 3 | metadata dict | text stringlengths 583 880 |
|---|---|---|---|---|
cpp-14273-067de28a9fa7bdd9 | 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-14273-067de28a9fa7bdd9",
"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... |
cpp-14771-ac2d95684e0a67ce | 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-14771-ac2d95684e0a67ce",
"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... |
cpp-12685-a0ade4c653f923a9 | 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-12685-a0ade4c653f923a9",
"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... |
cpp-13339-b2d8dc2f0fd1c49b | 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-13339-b2d8dc2f0fd1c49b",
"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... |
java-04509-ce1e149a27a324b4 | 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-04509-ce1e149a27a324b4",
"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... |
java-10791-9164cab56a0b00ff | 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": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-10791-9164cab56a0b00ff",
"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 java code for security vulnerabilities.
Return exactly th... |
python-19153-b0895f7fdf4b8aca | 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-19153-b0895f7fdf4b8aca",
"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 ... |
c-05800-cd75b39132bed70e | 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-05800-cd75b39132bed70e",
"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 ... |
python-07771-2b75d5950c1637f4 | 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-07771-2b75d5950c1637f4",
"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 ... |
cpp-03350-5793ea8bfcb3a9be | 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-03350-5793ea8bfcb3a9be",
"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... |
java-04236-aeccaa8f650d010f | 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-04236-aeccaa8f650d010f",
"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... |
python-17128-d44d8910ec715124 | 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-17128-d44d8910ec715124",
"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 ... |
javascript-03250-b7a59178538197ab | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-03250-b7a59178538197ab",
"template_cwe": "CWE-120"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
c-01896-d4861c588c3f820f | 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": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-01896-d4861c588c3f820f",
"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 c code for security vulnerabilities.
Return exactly this ... |
cpp-11341-e8be2c45d3855aa1 | 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": "Server-side request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-11341-e8be2c45d3855aa1",
"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 cpp code for security vulnerabilities.
Return exactly thi... |
c-02544-0375c4aac3b0aee8 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Resource allocation without limits",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-02544-0375c4aac3b0aee8",
"template_cwe": "CWE-770"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
cpp-15356-6db1c48b1e478e8b | 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-15356-6db1c48b1e478e8b",
"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... |
javascript-10620-5c911a0ff4813655 | 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-10620-5c911a0ff4813655",
"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... |
java-05239-288f39a057e20e14 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-05239-288f39a057e20e14",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
c-05713-a2cb38dc03c18a5f | 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-05713-a2cb38dc03c18a5f",
"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 ... |
python-15928-62be8bcde0afd996 | 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-15928-62be8bcde0afd996",
"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-19369-b339ae82df56fdf9 | 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-19369-b339ae82df56fdf9",
"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-14034-7cadc12b12289416 | 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-14034-7cadc12b12289416",
"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-19936-2fbbca46a48cafe4 | 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": "Use after free",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-19936-2fbbca46a48cafe4",
"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 c code for security vulnerabilities.
Return exactly this ... |
c-18901-d36b3346832ebc32 | 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-18901-d36b3346832ebc32",
"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 ... |
javascript-19884-8ad49ca1f1d739be | 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": "Unsafe deserialization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-19884-8ad49ca1f1d739be",
"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 javascript code for security vulnerabilities.
Return exac... |
cpp-16396-026a9ce18c5d3ecd | 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-16396-026a9ce18c5d3ecd",
"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-18676-f154fcf339fcb8f6 | 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-18676-f154fcf339fcb8f6",
"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... |
python-16673-7c9368fe4be48af4 | 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-16673-7c9368fe4be48af4",
"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 ... |
c-11022-75af02e67ee10499 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-11022-75af02e67ee10499",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-15222-fd1a75cb7c12af7d | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-15222-fd1a75cb7c12af7d",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
javascript-18642-c0c432aecc112bdd | 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-18642-c0c432aecc112bdd",
"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-16628-a99646b6529674fd | 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-16628-a99646b6529674fd",
"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... |
javascript-01002-73b717618d94b316 | 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-01002-73b717618d94b316",
"template_cwe": "CWE-476"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-06797-4ce2138fa0bab3b8 | 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-06797-4ce2138fa0bab3b8",
"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-13890-6818483c6cb0ab54 | 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-13890-6818483c6cb0ab54",
"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... |
java-12387-4359a96453fc13ce | 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-12387-4359a96453fc13ce",
"template_cwe": "CWE-20"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-16256-2605363290d028ed | 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-16256-2605363290d028ed",
"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-10519-4a8d2a3ed7466788 | 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-10519-4a8d2a3ed7466788",
"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 ... |
cpp-05440-d8012370bc8ef595 | 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-05440-d8012370bc8ef595",
"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-19835-7e7951ef6f11cf97 | 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-19835-7e7951ef6f11cf97",
"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... |
java-19766-45f07fce6549d330 | 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-19766-45f07fce6549d330",
"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... |
cpp-16182-d2b7c3f0104bcc1b | 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-16182-d2b7c3f0104bcc1b",
"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-00389-93e876cd1cc3a53e | 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-00389-93e876cd1cc3a53e",
"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... |
c-07038-d34f29b31501858a | 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-07038-d34f29b31501858a",
"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 ... |
python-12768-2f5d73b06a25ab04 | 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-12768-2f5d73b06a25ab04",
"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 ... |
python-06900-5fdd78f7ebe2a915 | 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-06900-5fdd78f7ebe2a915",
"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-09385-e5d9222a2679b219 | 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-09385-e5d9222a2679b219",
"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... |
java-17879-ea299a3f35bc9649 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-17879-ea299a3f35bc9649",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-09955-5eae4ccbded2e5aa | 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-09955-5eae4ccbded2e5aa",
"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-09410-f6a963a21cb844fe | 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 authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-09410-f6a963a21cb844fe",
"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 c code for security vulnerabilities.
Return exactly this ... |
c-13938-701ab11b7af33720 | 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-13938-701ab11b7af33720",
"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 ... |
c-01148-de4588f16c39365f | 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-01148-de4588f16c39365f",
"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 ... |
java-11746-78bc732282dc7878 | 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-11746-78bc732282dc7878",
"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-15806-89d27a9413db15ce | 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-15806-89d27a9413db15ce",
"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-04721-1167f8cf7b64b928 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Dangerous file upload",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-04721-1167f8cf7b64b928",
"template_cwe": "CWE-434"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this c code for security vulnerabilities.
Return exactly this ... |
c-05297-d69522192cfb0b58 | 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-05297-d69522192cfb0b58",
"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 ... |
javascript-15284-f770c0a47fcd26c8 | 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-15284-f770c0a47fcd26c8",
"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... |
java-05892-49c2b069ab529526 | 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": "Null pointer dereference",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-05892-49c2b069ab529526",
"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 java code for security vulnerabilities.
Return exactly th... |
cpp-07026-9733604baff88bba | 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-07026-9733604baff88bba",
"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... |
c-05834-b06c6d4bb32c3fd7 | 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-05834-b06c6d4bb32c3fd7",
"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 ... |
cpp-07979-e15b66a45cdd7545 | 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-07979-e15b66a45cdd7545",
"template_cwe": "CWE-704"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-18788-494d6b81b79afeb9 | 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-18788-494d6b81b79afeb9",
"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 ... |
java-19433-fc990e3ee06031d8 | 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-19433-fc990e3ee06031d8",
"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... |
cpp-11007-fe3cc8b152417b1c | 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-11007-fe3cc8b152417b1c",
"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... |
cpp-18120-4304de494c408e70 | 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-18120-4304de494c408e70",
"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... |
c-18485-32ac2c967dd52d34 | c | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this c code for security vulnerabilitie... | {
"cwe_name": "Integer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-18485-32ac2c967dd52d34",
"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 c code for security vulnerabilities.
Return exactly this ... |
javascript-15674-ece8a79c4590fa00 | 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-15674-ece8a79c4590fa00",
"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... |
java-12465-a8813caca38bd01b | 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-12465-a8813caca38bd01b",
"template_cwe": "CWE-22"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
cpp-11767-a6d32f64a9c79136 | 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-11767-a6d32f64a9c79136",
"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... |
java-03169-2962ca86783d97a1 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-03169-2962ca86783d97a1",
"template_cwe": "CWE-200"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
c-13320-f7cd11fc66a08e3f | 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 authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-13320-f7cd11fc66a08e3f",
"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 c code for security vulnerabilities.
Return exactly this ... |
javascript-15680-a4a171d20b6a84df | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Classic buffer overflow",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-15680-a4a171d20b6a84df",
"template_cwe": "CWE-120"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
python-16542-3aea225e61a30d89 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-16542-3aea225e61a30d89",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
cpp-06963-e444a60d14228b60 | 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-06963-e444a60d14228b60",
"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-01080-3bc53d556af5a566 | 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 scripting",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-01080-3bc53d556af5a566",
"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 javascript code for security vulnerabilities.
Return exac... |
c-12690-c489a9823ed976e4 | 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 authentication",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "c-12690-c489a9823ed976e4",
"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 c code for security vulnerabilities.
Return exactly this ... |
python-00736-ff95c657b5dfb0b7 | 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-00736-ff95c657b5dfb0b7",
"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-13489-7ab8ab795834e80e | 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-13489-7ab8ab795834e80e",
"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-17709-0e5e3b36f779fdd1 | 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-17709-0e5e3b36f779fdd1",
"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... |
javascript-07623-c60d2d9082702536 | 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-07623-c60d2d9082702536",
"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-00573-0ce3a18124ee1d50 | 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-00573-0ce3a18124ee1d50",
"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 ... |
javascript-00671-202d485a67478b83 | 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-00671-202d485a67478b83",
"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... |
python-09289-87a3a6c282a1f559 | 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": "Sensitive information exposure",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-09289-87a3a6c282a1f559",
"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 python code for security vulnerabilities.
Return exactly ... |
cpp-13798-1522d409e667ac79 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Improper access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-13798-1522d409e667ac79",
"template_cwe": "CWE-284"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
python-15132-e17c6e2dde897951 | python | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this python code for security vulnerabi... | {
"cwe_name": "Cross-site request forgery",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "python-15132-e17c6e2dde897951",
"template_cwe": "CWE-352"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this python code for security vulnerabilities.
Return exactly ... |
javascript-04086-80a9a98d35d3b9a5 | 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-04086-80a9a98d35d3b9a5",
"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... |
cpp-01932-eb7809a50dafc187 | 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-01932-eb7809a50dafc187",
"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... |
cpp-10336-f63d76139fef77d4 | 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-10336-f63d76139fef77d4",
"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... |
java-04113-faa4728fea9cc936 | 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": "Missing authorization",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-04113-faa4728fea9cc936",
"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 java code for security vulnerabilities.
Return exactly th... |
javascript-04252-6cc71c30918b260a | javascript | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this javascript code for security vulne... | {
"cwe_name": "Command injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-04252-6cc71c30918b260a",
"template_cwe": "CWE-77"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this javascript code for security vulnerabilities.
Return exac... |
cpp-11338-9e964b364332bad7 | cpp | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this cpp code for security vulnerabilit... | {
"cwe_name": "Improper access control",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "cpp-11338-9e964b364332bad7",
"template_cwe": "CWE-284"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this cpp code for security vulnerabilities.
Return exactly thi... |
javascript-17523-4ae5e075504554fe | 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-17523-4ae5e075504554fe",
"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-07613-a289ec5a45537c7e | 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-07613-a289ec5a45537c7e",
"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-15518-f8a835876a30c29c | 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": "Prototype pollution / object injection",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-15518-f8a835876a30c29c",
"template_cwe": "CWE-915"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys 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-17703-033a9681bbb39da3 | java | [
{
"content": "You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.",
"role": "system"
},
{
"content": "Analyze this java code for security vulnerabili... | {
"cwe_name": "User-controlled key authorization bypass",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "java-17703-033a9681bbb39da3",
"template_cwe": "CWE-639"
} | <|im_start|>system
You are a secure code review assistant. Analyze the provided code and return only valid JSON with keys is_vulnerable, vulnerable_lines, and cwe. Use 1-based line numbers. Use empty arrays for safe code.<|im_end|>
<|im_start|>user
Analyze this java code for security vulnerabilities.
Return exactly th... |
javascript-14302-e82c6bf47c9e5c26 | 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-14302-e82c6bf47c9e5c26",
"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... |
python-16181-4f3825b2d027d758 | 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-16181-4f3825b2d027d758",
"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 ... |
java-15941-53ebab46cb67301a | 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-15941-53ebab46cb67301a",
"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-10587-a9c7a4fe69f7612f | 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": "Improper input validation",
"format": "qwen-chatml-unsloth-sft",
"line_indexing": "1-based",
"source": "synthetic-template",
"source_id": "javascript-10587-a9c7a4fe69f7612f",
"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 javascript code for security vulnerabilities.
Return exac... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.