遇见数据集

Secure Chain Open Dataset

收藏
Zenodo2025-08-05 更新2026-05-26 收录
官方服务:

资源简介:

This repository contains the files and scripts needed to initialise and populate the databases used by SecureChain. These databases are divided into two, the first database containing information on approximately 270,000 vulnerabilities, along with the associated Common Weak Enumerations. And also, approximately 260,000 exploits. The second database contains a dependency graph associated with vulnerabilities, which has been created with information extracted from the Node Package Manager (NPM), the Python Package Index (PyPI), Ruby Gems, and Cargo Crates. In addition, it is currently being populated with information extracted from Maven. It currently has the following issues: Total: 4,489,424 packages and 64,662,397 versions. NPM: 3,461,263 packages and 50,943,372 versions. PyPI: 599,307 packages and 6,875,336 versions. Ruby Gems: 208,165 packages and 1,738,773 versions. Cargo Crates: 168,944 packages and 1,393,371 versions. Maven: 51,745 packages and 3,711,545 versions. Folder Structure - `.env` and `template.env`: Environment variable configuration files for Neo4j and MongoDB connections.- `docker-compose.yml`: Docker Compose file to launch database services in containers.- `seeds/`: Contains scripts and data for seeding the databases. - `mongo_seeder.sh`: Script to import data into MongoDB. - `neo4j_seeder.sh`: Script to restore the Neo4j dump. - `mongo/`: MongoDB data organized by collections. - `vulnerabilities/`: Data and metadata for the `vulnerabilities`, `exploits` and `CWEs` collections. - `neo4j/`: Neo4j database dump (`neo4j.dump`). Usage 1. Configure environment variables in a .env file using this template as a reference: # For dockerized backend and databaseGRAPH_DB_URI='bolt://neo4j:7687'VULN_DB_URI='mongodb://mongoSecureChain:mongoSecureChain@mongo:27017/admin' # Databases settingsGRAPH_DB_USER='neo4j'GRAPH_DB_PASSWORD='neoSecureChain'VULN_DB_USER='mongoSecureChain'VULN_DB_PASSWORD='mongoSecureChain' 2. Start the services with Docker Compose: docker-compose up --build 3. The databases population is made automatically. Notes The seed scripts check if the databases already contain data before importing. .bson.gz and .metadata.json.gz files contain data and metadata for MongoDB collections. The neo4j.dump file is the Neo4j database dump. --- For more information about databases configuration, see Secure Chain documentation.

提供机构:
Zenodo
创建时间:
2025-08-04
二维码
社区交流群
二维码
科研交流群
商业服务