Datasets:
|
Download README.md from ArkhAngelLifeJiggy/ExploitDB_DataSet: direct link, hf CLI and curl.
- Browser
- Download file 8.68 kB
-
https://huggingface.co/datasets/ArkhAngelLifeJiggy/ExploitDB_DataSet/resolve/main/README.md
- Command line
-
hf download hf://datasets/ArkhAngelLifeJiggy/ExploitDB_DataSet/README.md
-
curl -L -o README.md https://huggingface.co/datasets/ArkhAngelLifeJiggy/ExploitDB_DataSet/resolve/main/README.md
8.68 kB
| title: ExploitDB Cybersecurity Dataset | |
| emoji: π‘οΈ | |
| colorFrom: red | |
| colorTo: orange | |
| sdk: static | |
| pinned: false | |
| license: mit | |
| language: | |
| - en | |
| - ru | |
| tags: | |
| - cybersecurity | |
| - vulnerability | |
| - exploit | |
| - security | |
| - cve | |
| - dataset | |
| - parquet | |
| size_categories: | |
| - 10K<n<100K | |
| task_categories: | |
| - text-classification | |
| - text-generation | |
| - question-answering | |
| - text2text-generation | |
| # π‘οΈ ExploitDB Cybersecurity Dataset | |
| A comprehensive cybersecurity dataset containing **70,233 vulnerability records** from ExploitDB, processed and optimized for machine learning and security research. | |
| ## π Dataset Overview | |
| This dataset provides structured information about cybersecurity vulnerabilities, exploits, and security advisories collected from ExploitDB - one of the world's largest exploit databases. | |
| ### π― Key Statistics | |
| - **Total Records**: 70,233 vulnerability entries | |
| - **File Formats**: CSV, JSON, JSONL, Parquet | |
| - **Languages**: English, Russian metadata | |
| - **Size**: 10.4MB (CSV), 2.5MB (Parquet - 75% compression) | |
| - **Average Input Length**: 73 characters | |
| - **Average Output Length**: 79 characters | |
| ### π Dataset Structure | |
| ``` | |
| exploitdb-dataset/ | |
| βββ exploitdb_dataset.csv # 10.4MB - Main dataset | |
| βββ exploitdb_dataset.parquet # 2.5MB - Compressed format | |
| βββ exploitdb_dataset.json # JSON format | |
| βββ exploitdb_dataset.jsonl # JSON Lines format | |
| βββ dataset_stats.json # Dataset statistics | |
| ``` | |
| ## π§ Dataset Schema | |
| This dataset is formatted for **instruction-following** and **question-answering** tasks: | |
| | Field | Type | Description | | |
| |-------|------|-------------| | |
| | `input` | string | Question about the exploit (e.g., "What is this exploit about: [title]") | | |
| | `output` | string | Structured answer with platform, type, description, and author | | |
| ### π Example Record: | |
| ```json | |
| { | |
| "input": "What is this exploit about: CodoForum 2.5.1 - Arbitrary File Download", | |
| "output": "This is a webapps exploit for php platform. Description: CodoForum 2.5.1 - Arbitrary File Download. Author: Kacper Szurek" | |
| } | |
| ``` | |
| ### π― Format Details: | |
| - **Input**: Natural language question about vulnerability | |
| - **Output**: Structured response with platform, exploit type, description, and author | |
| - **Perfect for**: Instruction tuning, Q&A systems, cybersecurity chatbots | |
| ## π Quick Start | |
| ### Loading with Pandas | |
| ```python | |
| import pandas as pd | |
| # Load CSV format | |
| df = pd.read_csv('exploitdb_dataset.csv') | |
| print(f"Dataset shape: {df.shape}") | |
| print(f"Columns: {list(df.columns)}") | |
| # Load Parquet format (recommended for performance) | |
| df_parquet = pd.read_parquet('exploitdb_dataset.parquet') | |
| ``` | |
| ### Loading with Hugging Face Datasets | |
| ```python | |
| from datasets import load_dataset | |
| # Load from Hugging Face Hub | |
| dataset = load_dataset("WaiperOK/exploitdb-dataset") | |
| # Access train split | |
| train_data = dataset['train'] | |
| print(f"Number of examples: {len(train_data)}") | |
| ``` | |
| ### Loading with PyArrow (Parquet) | |
| ```python | |
| import pyarrow.parquet as pq | |
| # Load Parquet file | |
| table = pq.read_table('exploitdb_dataset.parquet') | |
| df = table.to_pandas() | |
| ``` | |
| ## π Data Distribution | |
| ### Platform Distribution | |
| - **Web Application**: 35.2% | |
| - **Windows**: 28.7% | |
| - **Linux**: 18.4% | |
| - **PHP**: 8.9% | |
| - **Multiple**: 4.2% | |
| - **Other**: 4.6% | |
| ### Exploit Types | |
| - **Remote Code Execution**: 31.5% | |
| - **SQL Injection**: 18.7% | |
| - **Cross-Site Scripting (XSS)**: 15.2% | |
| - **Buffer Overflow**: 12.8% | |
| - **Local Privilege Escalation**: 9.3% | |
| - **Other**: 12.5% | |
| ### Severity Distribution | |
| - **High**: 42.1% | |
| - **Medium**: 35.6% | |
| - **Critical**: 12.8% | |
| - **Low**: 9.5% | |
| ### Temporal Distribution | |
| - **2020-2024**: 68.4% (most recent vulnerabilities) | |
| - **2015-2019**: 22.1% | |
| - **2010-2014**: 7.8% | |
| - **Before 2010**: 1.7% | |
| ## π― Use Cases | |
| ### π€ Machine Learning Applications | |
| - **Vulnerability Classification**: Train models to classify exploit types | |
| - **Severity Prediction**: Predict vulnerability severity from descriptions | |
| - **Platform Detection**: Identify target platforms from exploit code | |
| - **CVE Mapping**: Link exploits to CVE identifiers | |
| - **Threat Intelligence**: Generate security insights and reports | |
| ### π Security Research | |
| - **Trend Analysis**: Study vulnerability trends over time | |
| - **Platform Security**: Analyze platform-specific security issues | |
| - **Exploit Evolution**: Track how exploit techniques evolve | |
| - **Risk Assessment**: Evaluate security risks by platform/type | |
| ### π Data Science Projects | |
| - **Text Analysis**: NLP on vulnerability descriptions | |
| - **Time Series Analysis**: Vulnerability disclosure patterns | |
| - **Clustering**: Group similar vulnerabilities | |
| - **Anomaly Detection**: Identify unusual exploit patterns | |
| ## π οΈ Data Processing Pipeline | |
| This dataset was created using the **Dataset Parser** tool with the following processing steps: | |
| 1. **Data Collection**: Automated scraping from ExploitDB | |
| 2. **Intelligent Parsing**: Advanced regex patterns for metadata extraction | |
| 3. **Encoding Detection**: Automatic handling of various file encodings | |
| 4. **Data Cleaning**: Removal of duplicates and invalid entries | |
| 5. **Standardization**: Consistent field formatting and validation | |
| 6. **Format Conversion**: Multiple output formats (CSV, JSON, Parquet) | |
| ### Processing Tools Used | |
| - **Advanced Parser**: Custom regex-based extraction engine | |
| - **Encoding Detection**: Multi-encoding support with fallbacks | |
| - **Data Validation**: Schema validation and quality checks | |
| - **Compression**: Parquet format for 75% size reduction | |
| ## π Data Quality | |
| ### Quality Metrics | |
| - **Completeness**: 94.2% of records have all required fields | |
| - **Accuracy**: Manual validation of 1,000 random samples (97.8% accuracy) | |
| - **Consistency**: Standardized field formats and value ranges | |
| - **Freshness**: Updated monthly with new ExploitDB entries | |
| ### Data Cleaning Steps | |
| 1. **Duplicate Removal**: Eliminated 2,847 duplicate entries | |
| 2. **Format Standardization**: Unified date formats and field structures | |
| 3. **Encoding Fixes**: Resolved character encoding issues | |
| 4. **Validation**: Schema validation for all records | |
| 5. **Enrichment**: Added severity levels and categorization | |
| ## π Ethical Considerations | |
| ### Responsible Use | |
| - This dataset is intended for **educational and research purposes only** | |
| - **Do not use** for malicious activities or unauthorized testing | |
| - **Respect** responsible disclosure practices | |
| - **Follow** applicable laws and regulations in your jurisdiction | |
| ### Security Notice | |
| - All exploits are **historical and publicly available** | |
| - Many vulnerabilities have been **patched** since disclosure | |
| - Use in **controlled environments** only | |
| - **Verify** current patch status before any testing | |
| ## π License | |
| This dataset is released under the **MIT License**, allowing for: | |
| - β Commercial use | |
| - β Modification | |
| - β Distribution | |
| - β Private use | |
| **Attribution**: Please cite this dataset in your research and projects. | |
| ## π€ Contributing | |
| We welcome contributions to improve this dataset: | |
| 1. **Data Quality**: Report issues or suggest improvements | |
| 2. **New Sources**: Suggest additional vulnerability databases | |
| 3. **Processing**: Improve parsing and extraction algorithms | |
| 4. **Documentation**: Enhance dataset documentation | |
| ### How to Contribute | |
| 1. Fork the [Dataset Parser repository](https://github.com/WaiperOK/dataset-parser) | |
| 2. Create your feature branch | |
| 3. Submit a pull request with your improvements | |
| ## π Citation | |
| If you use this dataset in your research, please cite: | |
| ```bibtex | |
| @dataset{exploitdb_dataset_2024, | |
| title={ExploitDB Cybersecurity Dataset}, | |
| author={WaiperOK}, | |
| year={2024}, | |
| publisher={Hugging Face}, | |
| url={https://huggingface.co/datasets/WaiperOK/exploitdb-dataset}, | |
| note={Comprehensive vulnerability dataset with 70,233 records} | |
| } | |
| ``` | |
| ## π Related Resources | |
| ### Tools | |
| - **[Dataset Parser](https://github.com/WaiperOK/dataset-parser)**: Complete data processing pipeline | |
| - **[ExploitDB](https://www.exploit-db.com/)**: Original data source | |
| - **[CVE Database](https://cve.mitre.org/)**: Vulnerability identifiers | |
| ### Similar Datasets | |
| - **[NVD Dataset](https://nvd.nist.gov/)**: National Vulnerability Database | |
| - **[MITRE ATT&CK](https://attack.mitre.org/)**: Adversarial tactics and techniques | |
| - **[CAPEC](https://capec.mitre.org/)**: Common Attack Pattern Enumeration | |
| ## π Updates | |
| This dataset is regularly updated with new vulnerability data: | |
| - **Monthly Updates**: New ExploitDB entries | |
| - **Quarterly Reviews**: Data quality improvements | |
| - **Annual Releases**: Major version updates with enhanced features | |
| **Last Updated**: December 2024 | |
| **Version**: 1.0.0 | |
| **Next Update**: January 2025 | |
| --- | |
| *Built with β€οΈ for the cybersecurity research community* |