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:    TypeError
Message:      Couldn't cast array of type
struct<role: string, content: string, tool_calls: list<item: struct<type: string, function: struct<arguments: struct<command: string, path: string, file_text: string, view_range: list<item: int64>, old_str: string, new_str: string, thought: string, timeout: int64, message: string, is_input: string>, name: string>>>>
to
{'role': Value('string'), 'content': Value('string')}
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2118, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature.feature)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1863, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<role: string, content: string, tool_calls: list<item: struct<type: string, function: struct<arguments: struct<command: string, path: string, file_text: string, view_range: list<item: int64>, old_str: string, new_str: string, thought: string, timeout: int64, message: string, is_input: string>, name: string>>>>
              to
              {'role': Value('string'), 'content': Value('string')}
              
              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 1694, 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 1879, 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.

id
string
kind
string
source
string
task
string
provenance
string
group
string
messages
list
fenrir-1194
security_knowledge
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
qa_fenrir
third-party-synthetic
fenrir-1194
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "How would you secure the supply chain dependencies involved in Building detection capabilities for cloud cryptojacking...
cvefixes-CVE-2021-43785-fe54bef1-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2021-43785-fe54bef1
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Fix the security vulnerability in this TypeScript code and explain the change.\n\n```typescript...
primevul-141123991625202689873010895577354854467-fix
secure_code_and_rules
primevul
code_fix
authoritative-structured
primevul-141123991625202689873010895577354854467
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Fix the security vulnerability in this C/C++ function and explain the change.\n\n```c\nsrs_timestamp_check(srs_t *srs,...
cybernative-1616
secure_code_and_rules
CyberNative/Code_Vulnerability_Security_DPO
secure_code_fix
third-party-synthetic
cybernative-1616
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this fortran code for security vulnerabilities and fix them.\n\n```fortran\n```fortran\nprogram main\n impli...
cvefixes-CVE-2022-42004-06318358-vuln
vuln_finding
hitoshura25/cvefixes
code_review_vulnerable
authoritative-structured
cvefixes-CVE-2022-42004-06318358
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Review this Java function/code for security vulnerabilities. Name the weakness (CWE) if there i...
cvefixes-CVE-2022-1290-4f48b3bb-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2022-1290-4f48b3bb
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Fix the security vulnerability in this JavaScript code and explain the change.\n\n```javascript...
cvefixes-CVE-2020-15139-37ad29dc-vuln
vuln_finding
hitoshura25/cvefixes
code_review_vulnerable
authoritative-structured
cvefixes-CVE-2020-15139-37ad29dc
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Review this JavaScript function/code for security vulnerabilities. Name the weakness (CWE) if there is one and ex...
trendyol-7832
security_knowledge
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
qa_trendyol
third-party-synthetic
trendyol-7832
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "How can automated testing detect regression errors in evolving Photonic Computing Security: Optical Network Attack Vec...
rules-860
secure_code_and_rules
jcordon5/cybersecurity-rules
detection_rule_write
third-party-synthetic
rules-860
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Could you please provide a YARA rule that detects a specific pattern in PE files, where the hex...
openvul-libgd_10ef1dca_9364_9365_vul
cyber_reasoning
Leopo1d/OpenVul-rejection-sampling
reasoning_vulnerability_detection
reasoning-verified
openvul-libgd_10ef1dca_9364_9365
[ { "role": "system", "content": "You are a vulnerability detection expert specializing in identifying security flaws in C/C++ code, with a focus on Common Weakness Enumeration (CWE) standards. You provide precise, evidence-based analysis without speculation, and clearly label any vulnerabilities you detect."...
primevul-789213769138701179694583639265676644-fixed
vuln_finding
primevul
code_review_patched
authoritative-structured
primevul-789213769138701179694583639265676644
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C/C++ function for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n``...
cvefixes-CVE-2022-0269-298c7870-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2022-0269-298c7870
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Fix the security vulnerability in this PHP code and explain the change.\n\n```php\n\t/** {@inheritdoc} */\n\tpubl...
cvefixes-CVE-2014-6418-c27a3e4d-vuln
vuln_finding
hitoshura25/cvefixes
code_review_vulnerable
authoritative-structured
cvefixes-CVE-2014-6418-c27a3e4d
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n`...
trendyol-29882
security_knowledge
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
qa_trendyol
third-party-synthetic
trendyol-29882
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "In which circumstances would automated analysis miss vulnerabilities in code generation templates?" }, { ...
cwe-1192-mitigate
security_knowledge
mitre/cwe
cwe_mitigate
authoritative-structured
cwe-1192
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "How do I prevent or mitigate Improper Identifier for IP Block used in System-On-Chip (SOC) (CWE-1192)?" }, { ...
fenrir-63782
security_knowledge
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
qa_fenrir
third-party-synthetic
fenrir-63782
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "How would you benchmark the performance overhead introduced by RDP and WinRM Session Graphing f...
reloading-single-6809
security_knowledge
reloading0101/threat-intelligence-dataset
cti_attribution-analysis
grounded-third-party
reloading-single-6809
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Determine attribution from the provided TTPs and list a plausible actor only when the evidence clearly supports that c...
primevul-108925300954595892350254920369258270897-fix
secure_code_and_rules
primevul
code_fix
authoritative-structured
primevul-108925300954595892350254920369258270897
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Fix the security vulnerability in this C/C++ function and explain the change.\n\n```c\nrfbProcessClientMessage(rfbClie...
sigma-67add051-9ee7-4ad3-93ba-42935615ae8d-write
secure_code_and_rules
sigmahq/sigma
sigma_write
authoritative-structured
sigma-67add051-9ee7-4ad3-93ba-42935615ae8d
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Write a Sigma rule that detects the following.\n\nDetects driver load of the Process Hacker tool\n\nLog source: catego...
ctiner-5195
security_knowledge
mrmoor/cyber-threat-intelligence
cti_entity_extraction
human-annotated
ctiner-5195
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Extract the cybersecurity entities (malware, threat actors, attack patterns, tools, vulnerabilities, organizations, lo...
primevul-219935618679455785174911406729291240252-vuln
vuln_finding
primevul
code_review_vulnerable
authoritative-structured
primevul-219935618679455785174911406729291240252
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Review this C/C++ function for security vulnerabilities. Name the weakness (CWE) if there is on...
cvefixes-CVE-2020-36279-3c18c43b-fixed
vuln_finding
hitoshura25/cvefixes
code_review_patched
authoritative-structured
cvefixes-CVE-2020-36279-3c18c43b
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n`...
cvefixes-CVE-2023-37186-d55bfcd6-fixed
vuln_finding
hitoshura25/cvefixes
code_review_patched
authoritative-structured
cvefixes-CVE-2023-37186-d55bfcd6
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n`...
cwe-798-ex0-why
vuln_finding
mitre/cwe
cwe_code_weakness
authoritative-structured
cwe-798
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "```java\n...\n\nDriverManager.getConnection(url, \"scott\", \"tiger\");\n...\n```\n\nWhat security weakness does ...
primevul-198641138383488572902028202428686870979-vuln
vuln_finding
primevul
code_review_vulnerable
authoritative-structured
primevul-198641138383488572902028202428686870979
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C/C++ function for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n``...
sigma-9b1b8e9b-0a5d-4af1-9d2f-4c4b6e7c2c9d-write
secure_code_and_rules
sigmahq/sigma
sigma_write
authoritative-structured
sigma-9b1b8e9b-0a5d-4af1-9d2f-4c4b6e7c2c9d
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Write a Sigma rule that detects the following.\n\nDetects the use of TruffleHog for AWS credential validation by ident...
trendyol-12570
security_knowledge
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
qa_trendyol
third-party-synthetic
trendyol-12570
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "How can you design enumeration that identifies security controls?" }, { "role": "assist...
cwe-200-ex1-why
vuln_finding
mitre/cwe
cwe_code_weakness
authoritative-structured
cwe-200
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "```php\ntry {\n openDbConnection();}\n\n //print exception me...
nist-test-140-lifecycle-165
security_knowledge
nuhmanpk/cybersecurity-controls-instructions
nist_lifecycle
nist-excerpt
nist-140
[ { "role": "system", "content": "You are SecOpsBot, a cybersecurity controls and incident response assistant. Answer only using information from the provided source excerpt. Be precise, cite control identifiers when the excerpt names them, and be actionable. If the excerpt does not contain the answer, say so...
cvefixes-CVE-2011-10003-c6e94449-vuln
vuln_finding
hitoshura25/cvefixes
code_review_vulnerable
authoritative-structured
cvefixes-CVE-2011-10003-c6e94449
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Review this PHP function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain i...
cvefixes-CVE-2022-0697-2d8cb298-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2022-0697-2d8cb298
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Fix the security vulnerability in this Python code and explain the change.\n\n```python\nfrom flask import curren...
cvefixes-CVE-2020-1920-ca09ae82-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2020-1920-ca09ae82
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Fix the security vulnerability in this JavaScript code and explain the change.\n\n```javascript\n return /^(?:(?...
nist-validation-19-checklist-3632
security_knowledge
nuhmanpk/cybersecurity-controls-instructions
nist_checklist
nist-excerpt
nist-19
[ { "role": "system", "content": "You are SecOpsBot, a cybersecurity controls and incident response assistant. Answer only using information from the provided source excerpt. Be precise, cite control identifiers when the excerpt names them, and be actionable. If the excerpt does not contain the answer, say so...
openvul-chromium_673ce95d_18396_18397_vul
cyber_reasoning
Leopo1d/OpenVul-rejection-sampling
reasoning_vulnerability_detection
reasoning-verified
openvul-chromium_673ce95d_18396_18397
[ { "role": "system", "content": "You are a vulnerability detection expert specializing in identifying security flaws in C/C++ code, with a focus on Common Weakness Enumeration (CWE) standards. You provide precise, evidence-based analysis without speculation, and clearly label any vulnerabilities you detect."...
cvefixes-CVE-2023-52138-63d5dfa9-fixed
vuln_finding
hitoshura25/cvefixes
code_review_patched
authoritative-structured
cvefixes-CVE-2023-52138-63d5dfa9
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Review this C function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain it....
primevul-80959503616478404381804889966417372237-fix
secure_code_and_rules
primevul
code_fix
authoritative-structured
primevul-80959503616478404381804889966417372237
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Fix the security vulnerability in this C/C++ function and explain the change.\n\n```c\nPLT_Http...
trendyol-4304
security_knowledge
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
qa_trendyol
third-party-synthetic
trendyol-4304
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "Which anomalies in network flow metadata most strongly predict Intelligence Analyst Integration...
cvefixes-CVE-2023-4535-f1993dc4-fixed
vuln_finding
hitoshura25/cvefixes
code_review_patched
authoritative-structured
cvefixes-CVE-2023-4535-f1993dc4
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Review this C function/code for security vulnerabilities. Name the weakness (CWE) if there is one and explain it....
fenrir-658
security_knowledge
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
qa_fenrir
third-party-synthetic
fenrir-658
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "How can incident responders orchestrate containment actions when confronting Creating incident ...
fenrir-91119
security_knowledge
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
qa_fenrir
third-party-synthetic
fenrir-91119
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "How can SPN-based service account discovery be rate-limited or honey-tokened to raise Kerberoasting cost, and what emp...
fenrir-2994
security_knowledge
AlicanKiraz0/Cybersecurity-Dataset-Fenrir-v2.1
qa_fenrir
third-party-synthetic
fenrir-2994
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "How does the failure of cloud network segmentation create causal pathways for lateral movement across virtual private ...
sigma-b743623c-2776-40e0-87b1-682b975d0ca5-write
secure_code_and_rules
sigmahq/sigma
sigma_write
authoritative-structured
sigma-b743623c-2776-40e0-87b1-682b975d0ca5
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Write a Sigma rule that detects the following.\n\nDetects attempts to create and add an account to the admin grou...
cybernative-959
secure_code_and_rules
CyberNative/Code_Vulnerability_Security_DPO
secure_code_fix
third-party-synthetic
cybernative-959
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this java code for security vulnerabilities and fix them.\n\n```java\n```java\nimport java.util.Scanner;\n\npub...
trendyol-41206
security_knowledge
Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset
qa_trendyol
third-party-synthetic
trendyol-41206
[ { "role": "system", "content": "You are a senior security engineer. Give precise, practical answers grounded in established standards (CWE, CAPEC, MITRE ATT&CK, NVD)." }, { "role": "user", "content": "What machine‐learning features most effectively distinguish benign from malicious activity rela...
rules-467
secure_code_and_rules
jcordon5/cybersecurity-rules
detection_rule_write
third-party-synthetic
rules-467
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Could you please provide a YARA rule that detects Borland C++ executables by searching for a specific pattern at the e...
cvefixes-CVE-2020-5246-e4f6e74e-fix
secure_code_and_rules
hitoshura25/cvefixes
code_fix
authoritative-structured
cvefixes-CVE-2020-5246-e4f6e74e
[ { "role": "system", "content": "You are a cybersecurity expert. Answer accurately and concisely. If you are not certain, say so instead of guessing." }, { "role": "user", "content": "Fix the security vulnerability in this Java code and explain the change.\n\n```java\n * Copyright 2017 Anton Tana...
primevul-20612687529230169325192849544045591476-vuln
vuln_finding
primevul
code_review_vulnerable
authoritative-structured
primevul-20612687529230169325192849544045591476
[ { "role": "system", "content": "You are an expert in application security and threat detection. Be accurate; never invent identifiers or facts." }, { "role": "user", "content": "Review this C/C++ function for security vulnerabilities. Name the weakness (CWE) if there is one and explain it.\n\n``...
End of preview.

CyberData 3 Large

57,828 chat examples for training ONE model to be strong at cybersecurity and at agentic coding. Re-cut from CyberData 2 (public datasets only; no model was run to write any of it) so the two halves are balanced and every row says which kind it is.


The CyberData 3 family

Size Repo Examples Train Valid ~Tokens Balance
Small VertexAGI/cyberdata-3-small 10,000 9,370 630 19.6M balanced across the five kinds
Medium VertexAGI/cyberdata-3-medium 20,000 18,838 1,162 39.3M balanced across the five kinds
Large VertexAGI/cyberdata-3-large 57,828 54,350 3,478 100.6M balanced across the five kinds
Full VertexAGI/cyberdata-3-full 199,864 187,877 11,987 273.4M everything (knowledge-heavy)

CyberData 3 Large is balanced across the five kinds (the quota per kind is in the table below) and nested: Small is inside Medium, Medium inside Large and Large inside Full, and every row keeps the same train/valid assignment in every size. Agentic windows are picked so that each long trajectory contributes one window before any contributes a second.

What is in this size

kind Goal What it is Rows Share of rows Available in all of CyberData 3
agentic_coding Agentic coding and tool use software-engineering and security agent trajectories, cut into training windows 14,000 24.2% 34,483
cyber_reasoning Cyber reasoning step-by-step vulnerability analysis with a verified verdict 5,825 10.1% 5,825
vuln_finding Vulnerability finding review code, name the weakness (CWE), vulnerable vs patched 11,482 19.9% 11,482
secure_code_and_rules Secure code and detection rules fix or rewrite insecure code; write Sigma / detection rules 14,521 25.1% 14,521
security_knowledge Security knowledge CWE / CAPEC / ATT&CK / KEV / NIST / threat intelligence / defensive Q&A 12,000 20.8% 133,553

Rows are not tokens. An agentic row is a window of up to 4,096 tokens, while a knowledge answer is a few hundred, so by token count agentic coding is far heavier than its share of rows (this size is about 100.6M tokens in total, estimated as characters/3.6).

Agentic windows

Long agent trajectories (more than 12 messages) are cut into training windows: the system prompt, the task, and the most recent turns that fit in a 4,096-token budget (Nemotron-Cascade chat template), ending on an assistant turn. Train on the last assistant message only; everything before it is context. Up to 6 windows are cut per long trajectory (picked at random but fixed). Short trajectories stay whole. The window id is <episode id>#w<turn index>; all windows of an episode share a group and therefore a split. Tool-call arguments are JSON objects, not strings.

Where every row comes from (provenance)

provenance rows share what it means
authoritative-structured 21,925 37.9% real records (MITRE entries, Sigma rules, KEV entries, real CVE-fix code) turned into chat rows by fixed templates; every fact is copied or composed from a field of the record
third-party-synthetic 12,748 22.0% AI-written Q&A by the dataset authors; the least reliable rows, so they are FILTERED: any row citing a CWE id that does not exist, or naming a CWE or ATT&CK technique with a name that does not match MITRE's data, is dropped (on 3,000-row samples roughly 15-19% of rows that cite ids had a nonexistent or mismatched one), as are refusals and duplicate questions
agent-trajectories 10,160 17.6% security-agent and software-engineering agent trajectories
reasoning-verified 5,825 10.1% reasoning traces written by DeepSeek-R1-0528 for the OpenVul authors and kept only when the final verdict matched the ground-truth label
verified-executed 3,840 6.6% agent steps whose episodes were executed against a local environment and passed a deterministic reward check
nist-excerpt 2,187 3.8% answers grounded in excerpts of NIST publications
grounded-third-party 895 1.5% instruction sets written by their authors from real sources, who state their claims are checked against the source
human-annotated 248 0.4% expert-annotated threat-report text turned into extraction tasks by a template

Sources

Source Rows % Provenance License / terms What it contributes
MITRE CWE 1,229 2.1% authoritative-structured MITRE CWE terms of use (royalty-free; keep the MITRE copyright notice) Weakness definitions, mitigations, detection methods, and the entries' own bad/good code examples
MITRE CAPEC 88 0.2% authoritative-structured MITRE CAPEC terms of use (royalty-free; keep the MITRE copyright notice) Attack-pattern descriptions, prerequisites, consequences, mitigations
MITRE ATT&CK (enterprise) 331 0.6% authoritative-structured MITRE ATT&CK terms of use (royalty-free; keep the MITRE copyright notice) Techniques, mitigations, detection analytics, groups, software, campaigns
SigmaHQ detection rules 4,004 6.9% authoritative-structured Detection Rule License 1.1 (attribution to the rule authors, kept inside each rule) Real rules: write a rule from a description, explain a rule
CISA Known Exploited Vulnerabilities 155 0.3% authoritative-structured US-government work, public domain Exploited-in-the-wild status and required action per CVE
PrimeVul (paired vulnerable/fixed C/C++ functions) 6,954 12.0% authoritative-structured MIT (train + valid pairs only; the test pairs are never used) Review a vulnerable function, review its patched version, fix it
CVEfixes (real CVE fix commits, many languages) 9,164 15.8% authoritative-structured Apache-2.0 per the Hub listing (the original CVEfixes release is CC BY 4.0) The same three code tasks across PHP/Python/JavaScript/Java/Go/Ruby/C/C++ and others
OpenVul rejection-sampling vulnerability reasoning (Leopo1d) 5,825 10.1% reasoning-verified Apache-2.0 (reasoning distilled from DeepSeek-R1-0528 by the dataset's authors) Step-by-step reasoning about whether C/C++ code is vulnerable, kept only when the verdict matched the label; vulnerable and patched versions in pairs
Annotated threat-report corpus 248 0.4% human-annotated CC-BY-4.0 per the Hub tag (the dataset card has no text) Entity extraction and relationship listing from real threat-report excerpts
CTI instruction dataset (reloading0101) 895 1.5% grounded-third-party CC-BY-4.0 CVE/ATT&CK/KEV/Sigma-grounded threat-intelligence instructions and follow-ups; its authors state every claim is checked against the source
NIST SP excerpt instructions (nuhmanpk) 2,187 3.8% nist-excerpt CC-BY-4.0 (source documents are NIST publications) Answers grounded in excerpts of NIST SP 800-series documents
OWASP defensive repair trajectories (Humanlearning) 3,840 6.6% verified-executed Apache-2.0 Agent steps from episodes that were executed and reward-verified in a local environment (successful episodes only, no anti-cheat flags)
Trendyol cybersecurity instructions 4,273 7.4% third-party-synthetic Apache-2.0 AI-written defensive Q&A, filtered (see below)
Fenrir v2.1 3,246 5.6% third-party-synthetic Apache-2.0 AI-written defensive Q&A, filtered, de-duplicated against Trendyol
CyberNative code vulnerability pairs 4,581 7.9% third-party-synthetic Apache-2.0 Review vulnerable code and write the safer version
YARA / Suricata rules Q&A 648 1.1% third-party-synthetic Apache-2.0 Write a YARA or Suricata rule
0xKitkat/AgentForge-1152 (security split) 576 1.0% agent-trajectories Apache-2.0 Defensive security-agent trajectories with tool use
nvidia/SWE-Hero-openhands-trajectories 3,052 5.3% agent-trajectories CC-BY-4.0 Software-engineering agent trajectories (OpenHands), length-capped at 120,000 characters
nvidia/Open-SWE-Traces (resolved runs only) 6,532 11.3% agent-trajectories CC-BY-4.0 Coding-agent trajectories whose patch was verified to fix the task (OpenHands / SWE-agent / mini-swe-agent), length-capped at 120,000 characters

Considered and left out

  • trendmicro-ailab/Primus-Reasoning and Primus-Instruct: gated (access request required).
  • rmems/incident-response-oncall-trajectories: tagged Apache-2.0, but its own rights note says it is not training data for any model-weight update.
  • netgoat-ai/Koda-IDS-CyberReasoning: inspected and rejected. After quality filtering only templated scenarios for one vendor's tool API remained.
  • ayshajavd/code-security-vulnerability-dataset: mostly a repackaging of BigVul (no clear license), PrimeVul-derived samples and CyberNative, so it added little that was new.
  • Benchmark sets (CyberMetric, MMLU computer security, CTI-Bench): kept out so they stay usable for evaluation; a scan found none of their questions verbatim here.

Splits and checks

train.jsonl has 54,350 rows and valid.jsonl has 3,478. Rows derived from the same object (a CWE entry, a Sigma rule, a code-fix pair, an agent episode and ALL of its windows, a vulnerable/patched pair) share one split. Checked by script (build_scripts/verify_cd3.py): unique ids, no group in both splits, validation share 4-9%, nesting between sizes with identical split assignments, every line parses and ends on an assistant message, and no row mentions any of the 916 CVEs reserved for CVE-recall evaluation. CyberMetric and MMLU-security questions are kept out so those benchmarks stay usable.

Format

One JSON object per line: {"id", "kind", "source", "task", "provenance", "group", "messages"}. row_index.csv lists id, kind, source, task, provenance, split, group. Files are not shuffled; shuffle before training. messages is standard chat format; agent rows carry tool_calls; reasoning rows keep the source's <think>...</think> block followed by the final answer.

from datasets import load_dataset
ds = load_dataset("VertexAGI/cyberdata-3-large")
print(ds["train"][0]["kind"], ds["train"][0]["messages"][-1]["content"][:200])

Limitations

  • The cyber half is supply-limited. Real vulnerable/fixed code comes from PrimeVul and CVEfixes, reasoning only from OpenVul (C/C++ vulnerability detection), so Large already contains every row of those kinds; there is nothing larger to add for them.
  • Windows of one trajectory overlap and are highly correlated (they share a long prefix). Do not count them as independent examples, and split by group.
  • Agent trajectories are length-capped at 120,000 characters before windowing, so the very longest runs are absent.
  • Templated rows teach the answer format and the content of the records as written; they are not a verified knowledge base. They will not make a model recall facts about specific CVEs.
  • third-party-synthetic and grounded-third-party rows can contain errors beyond what our filters can check; train on a stricter subset by dropping them.
  • Not a benchmark and not a safety dataset.

Licensing and attribution

A mixture of independently licensed sources (see the table). Required attribution: (c) The MITRE Corporation for CWE, CAPEC and ATT&CK content; SigmaHQ rule authors (Detection Rule License 1.1; author fields are kept in the rule text); CC-BY-4.0 sources (nvidia SWE-Hero and Open-SWE-Traces, reloading0101, nuhmanpk, mrmoor) must be credited as listed. The OpenVul reasoning was written by DeepSeek-R1-0528; check DeepSeek's terms for your use. No source is gated or carries a non-commercial restriction.

Downloads last month
-

Collection including VertexAGI/cyberdata-3-large