Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
id: string
language: string
vulnerable_code: string
patched_code: string
cwe: string
severity: string
explanation: string
attack_scenario: string
secure_fix: string
source: string
source_license: string
cve: string
owasp: null
cvss: double
is_vulnerable: bool
split: string
fingerprint: string
added_at: timestamp[s]
references: list<item: null>
  child 0, item: null
_meta: struct<id: string, cwe: string, severity: string, language: string, source: string, split: string, i (... 19 chars omitted)
  child 0, id: string
  child 1, cwe: string
  child 2, severity: string
  child 3, language: string
  child 4, source: string
  child 5, split: string
  child 6, is_vulnerable: bool
messages: list<item: struct<role: string, content: string>>
  child 0, item: struct<role: string, content: string>
      child 0, role: string
      child 1, content: string
to
{'messages': List({'role': Value('string'), 'content': Value('string')}), '_meta': {'id': Value('string'), 'cwe': Value('string'), 'severity': Value('string'), 'language': Value('string'), 'source': Value('string'), 'split': Value('string'), 'is_vulnerable': Value('bool')}}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              language: string
              vulnerable_code: string
              patched_code: string
              cwe: string
              severity: string
              explanation: string
              attack_scenario: string
              secure_fix: string
              source: string
              source_license: string
              cve: string
              owasp: null
              cvss: double
              is_vulnerable: bool
              split: string
              fingerprint: string
              added_at: timestamp[s]
              references: list<item: null>
                child 0, item: null
              _meta: struct<id: string, cwe: string, severity: string, language: string, source: string, split: string, i (... 19 chars omitted)
                child 0, id: string
                child 1, cwe: string
                child 2, severity: string
                child 3, language: string
                child 4, source: string
                child 5, split: string
                child 6, is_vulnerable: bool
              messages: list<item: struct<role: string, content: string>>
                child 0, item: struct<role: string, content: string>
                    child 0, role: string
                    child 1, content: string
              to
              {'messages': List({'role': Value('string'), 'content': Value('string')}), '_meta': {'id': Value('string'), 'cwe': Value('string'), 'severity': Value('string'), 'language': Value('string'), 'source': Value('string'), 'split': Value('string'), 'is_vulnerable': Value('bool')}}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

messages
list
_meta
dict
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "40d13e134285", "cwe": "CWE-119", "severity": "high", "language": "c", "source": "devign:qemu:db12451decf7", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "87f5f422df04", "cwe": "CWE-506", "severity": "critical", "language": "javascript", "source": "osv:ghsa-m852-866j-69j8", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "1a55d50e89ab", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-3212", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "9e0df0d16936", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-8839", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "513aa101ba26", "cwe": "CWE-200", "severity": "low", "language": "python", "source": "osv:ghsa-h294-8fxm-m2pj", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "36376e340b40", "cwe": "CWE-125", "severity": "high", "language": "c", "source": "bigvul:cve-2016-9539", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "5b8b12c1b46f", "cwe": "CWE-377", "severity": "medium", "language": "swift", "source": "nvd:cve-2026-20618", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "e52d0d869427", "cwe": "CWE-20", "severity": "high", "language": "c", "source": "bigvul:cve-2010-3702", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "f7d1b64f2308", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-8215", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "ebe2d5d84abc", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2011-2479", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "5f51ec8fc430", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-6773", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "9beb6314e4b2", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-8852", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "8de2ef4281cf", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2019-13504", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "ee764f550b82", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2013-0886", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "a19253fe78fe", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2015-4116", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "f82273bbe564", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2020-0466", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "b556f1b304ad", "cwe": "CWE-119", "severity": "high", "language": "c", "source": "bigvul:cve-2013-6623", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "b9e218c0f6be", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2016-4565", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "23673861e967", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2016-1248", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "b7f527e607e5", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2016-5218", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "96f7d01d70e5", "cwe": "CWE-617", "severity": "high", "language": "javascript", "source": "nvd:cve-2026-37224", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "1a3f0353d311", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2021-32792", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "189dc5f21989", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2012-0045", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "945a8600b993", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2016-7796", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "19b9d17d197b", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2016-1665", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "b1386103a746", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2018-6049", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "c837cc1cdb0f", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:none", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "48161e982a9c", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2021-27364", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "e9b6ce04b1c5", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2018-8099", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "118b4516c690", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2014-7822", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "0be7c0c1560a", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2018-6066", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "4bf61c465ee9", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2014-7841", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "7fb7b466e076", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2018-6144", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "358a2067edb3", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2013-7010", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "cc334bbfa01a", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2014-3173", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "2aeda7a3831e", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2012-1601", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "053631dc3a80", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2020-26421", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "118a7d672e41", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2020-12135", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "1fe1bb332ffb", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2022-29779", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "a4db9cb95f81", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2016-1662", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "b8806a25a904", "cwe": "CWE-20", "severity": "high", "language": "c", "source": "bigvul:cve-2017-12187", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "af25345ddda8", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2015-6787", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "16fea152b40b", "cwe": "CWE-79", "severity": "medium", "language": "javascript", "source": "osv:ghsa-m79r-r765-5f9j", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "85f59bbbe3d2", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2011-2799", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "bba5fc166f57", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2014-1713", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "f386e2915ca4", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2016-9540", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "260c106a6533", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2013-0904", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "6cb4d4bfdda5", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2019-5770", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "1103624d38b7", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2011-1768", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "e982ee4f025d", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2022-0139", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "a58d25c4edc4", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2017-5019", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "79f879912b5e", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "devign:qemu:9dbbc748d671", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "0023ee5b7377", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2018-6144", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "425b80a44226", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2014-5139", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "865a54966738", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2017-16355", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "5cd132e1547a", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:Chrome", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "2d41124d9e52", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2017-5112", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "cb00824c9965", "cwe": "CWE-345", "severity": "medium", "language": "javascript", "source": "osv:ghsa-p7mm-r948-4q3q", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "939909b3fb0c", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2011-2918", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "c372a8049b4f", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2019-15538", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "4174faae9260", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2009-1194", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "f55657013e5b", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:Chrome", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "7199c62cf542", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2011-1296", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "f549d4827172", "cwe": "CWE-UNKNOWN", "severity": "clean", "language": "c", "source": "primevul:cve-2020-1918", "split": "train", "is_vulnerable": true }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "fd1fc6550548", "cwe": null, "severity": "clean", "language": "c", "source": "bigvul:CVE-2012-1601", "split": "train", "is_vulnerable": false }
[ { "role": "system", "content": "You are RakshakAI v2, a security-specialized code analysis model. Analyze the code snippet for security vulnerabilities.\n\nThink through your analysis step by step, then respond with a JSON object containing:\n{\n \"is_vulnerable\": true/false,\n \"vulnerability_type\": \"...
{ "id": "90eaf48da52b", "cwe": "CWE-79", "severity": "high", "language": "go", "source": "osv:ghsa-5vpr-4fgw-f69h", "split": "train", "is_vulnerable": true }
End of preview.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

RakshakAI v2 - Phase B Dataset

Description

192K balanced multi-task security SFT dataset (50/50 vulnerable/clean split). Built from NVD, OSV, BigVul, PrimeVul, Devign, and OWASP Benchmark.

Structure

  • pack/ - Axolotl-packed format (with _text field), ready for QLoRA training
  • instruct/ - Chat format with system/user/assistant
  • meta/ - Raw SecuritySample records (programming field preserved)
  • benchmark_hard/ - 500-sample hard benchmark (13 CWE classes, unseen repos)

Format

Each sample: system/user/assistant with 5-step CoT reasoning trace + JSON response.

Languages

C (100K), text/CVE (55K), JS (9K), Java (8K), PHP (6K), Python (4K), Rust (3K), Go (2.5K), C# (2K), Swift (1.5K), Ruby (1K), and more.

Data Sources (Not in Benchmark)

All code sourced from public security datasets. Benchmark samples hand-crafted from 2025-2026 CVEs in repos NOT in training data.

Downloads last month
51