{"id":15177757,"url":"https://github.com/multitagging/multitagging","last_synced_at":"2025-10-26T16:30:54.693Z","repository":{"id":253686015,"uuid":"840615708","full_name":"MultiTagging/MultiTagging","owner":"MultiTagging","description":"A vulnerable Ethereum smart contract labeling framework","archived":false,"fork":false,"pushed_at":"2025-02-11T10:17:13.000Z","size":200440,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T11:23:41.393Z","etag":null,"topics":["analysis-tools","blockchain","data-labeling","ethereum","smart-contracts","vulnerabilities"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MultiTagging.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T06:55:36.000Z","updated_at":"2025-02-11T10:17:16.000Z","dependencies_parsed_at":"2024-09-06T20:58:13.855Z","dependency_job_id":"8a2c0ad8-1227-4393-a51e-77b79b812ff8","html_url":"https://github.com/MultiTagging/MultiTagging","commit_stats":{"total_commits":120,"total_committers":2,"mean_commits":60.0,"dds":0.3833333333333333,"last_synced_commit":"57032e3282a2cb099e7bdecb46edea621ef2bd82"},"previous_names":["multitagging/mutlitagging","multitagging/multitagging"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MultiTagging%2FMultiTagging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MultiTagging%2FMultiTagging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MultiTagging%2FMultiTagging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MultiTagging%2FMultiTagging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MultiTagging","download_url":"https://codeload.github.com/MultiTagging/MultiTagging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238366792,"owners_count":19460186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis-tools","blockchain","data-labeling","ethereum","smart-contracts","vulnerabilities"],"created_at":"2024-09-27T14:43:01.703Z","updated_at":"2025-10-26T16:30:54.681Z","avatar_url":"https://github.com/MultiTagging.png","language":"Python","readme":"# MultiTagging\nA vulnerable Ethereum smart contract labeling framework.\n## Features\nThe MultiTagging framework provides several functions through the following components:\n*  **Tagger:** It parses analysis tool reports to extract vulnerability tags and map them to the common vulnerability labels, i.e., SWC codes and DASP Ranks.\n*  **Evaluator:** It measures the performance of the tool using different evaluation metrics.\n*  **Elector:** It elects the sample label based on votes of a number of tools. It supports two Threshold-based vote methods (AtLeastOne and Majority) and one Power-based vote method.\n*  **Plotter:** It plots the evaluation results in different formats.\n## Supported Tools\n* The components of the MultiTagging framework can be utilized for any analysis tool except for the Tagger.\n* Currently Tagger supports 6 tools: \u003cA Href=\"https://github.com/smartbugs/MAIAN\"\u003eMAIAN\u003c/A\u003e, \u003cA Href=\"https://github.com/Consensys/mythril\"\u003eMythril\u003c/A\u003e, \u003cA Href=\"https://github.com/Decurity/semgrep-smart-contracts\"\u003eSemgrep\u003c/A\u003e, \u003cA Href=\"https://github.com/crytic/slither\"\u003eSlither\u003c/A\u003e, \u003cA Href=\"https://github.com/protofire/solhint\"\u003eSolhint\u003c/A\u003e, and \u003cA Href=\"https://github.com/kupl/VeriSmart-public\"\u003eVeriSmart\u003c/A\u003e.\n## Requirements\n*  \u003cA Href=\"https://www.python.org/\"\u003ePython\u003c/A\u003e \u003e=3.11.7 (Recommended 3.12.2)\n*  You can run MultiTagging framework using \u003cA Href=\"https://jupyter.org/\"\u003e Jupyter Notebook\u003c/A\u003e or from \u003cA Href=\"https://support.apple.com/en-sa/guide/terminal/apd5265185d-f365-44cb-8b09-71a064a42125/mac\"\u003eTerminal\u003c/A\u003e.\n## Usage\n1.   Clone \u003cA Href=\"https://github.com/MultiTagging/MultiTagging\"\u003e MultiTagging repository \u003c/A\u003e\n   ```\n      git clone https://github.com/MultiTagging/MultiTagging.git\n   ```\n2.   Go to the MultiTagging home directory.\n   ```\n      cd MultiTagging\n   ```\n3.   Add your study's files in \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/tree/main/ToolReports\"\u003eToolReports\u003c/A\u003e, \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/tree/main/ToolAnalysisTime\"\u003eToolAnalysisTime\u003c/A\u003e, and \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/tree/main/BaseDS\"\u003eBaseDS\u003c/A\u003e. To retrieve study files from other folders, you can alternatively update the \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/blob/main/Scripts/config.json\"\u003e Scripts/config.json \u003c/A\u003e file.\n4.   Run the MultiTagging framework, there are three options:\n      1. **Termianl Option:**\n         1.   Run \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/blob/main/Main.py\"\u003eMain.py\u003c/A\u003e to open the wizard program. \n         ```\n         python3 Main.py\n         ```\n         2.   Pass your choices and enter the requested input to get the output.\n         ```\n         MultiTagging Framework\n         ..................................................\n         \n         Enter the number of the selected function:\n          1: Get the labeled data for the tool reports.\n          2: Get vote-based labeled data. \n          3: Get the evaluation report.\n          4: Get the evaluation chart.\n          5: Get tools overlap degree.\n          6: Get tool efficiency scores \n          7: Exit\n         ..................................................\n         ```\n         3.   Check the \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/tree/main/Results\"\u003eResults\u003c/A\u003e directory to get the saved output.\n      2. **Jupyter Notebook:**\n         * In a code cell, Run \u003cA Href=\"https://github.com/MultiTagging/MultiTagging/blob/main/Main.py\"\u003eMain.py\u003c/A\u003e to open the wizard program. \n      ```\n      run -i 'Main.py'\n      ```\n      3. **Within your Python code**\n        *   You can call any function of the MultiTagging framework directly. Check the \u003cA Href=\"https://github.com/MultiTagging/MultiTagging_Demo.git\"\u003eMultiTagging Demo\u003c/A\u003e\n## Demo\n*  The MultiTagging framework demo is available here: \u003cA Href=\"https://github.com/MultiTagging/MultiTagging_Demo.git\"\u003eMultiTagging Demo\u003c/A\u003e\n\n# Publications\nFor more details about the MultiTagging Framework, read our publication: \u003cA Href=\"https://www.mdpi.com/2079-9292/13/23/4616\"\u003eMultiTagging: A Vulnerable Smart Contract Labeling and Evaluation Framework\u003c/A\u003e, published in the Electronics Journal. Please cite our article if you use any part of the framework.\n```\n@article{alsunaidi2024multitagging,\n  title={MultiTagging: A Vulnerable Smart Contract Labeling and Evaluation Framework},\n  author={Alsunaidi, Shikah J and Aljamaan, Hamoud and Hammoudeh, Mohammad},\n  journal={Electronics},\n  volume={13},\n  number={23},\n  pages={4616},\n  year={2024},\n  publisher={MDPI},\n  URL = {https://www.mdpi.com/2079-9292/13/23/4616},\n  ISSN = {2079-9292},\n  DOI = {10.3390/electronics13234616}\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultitagging%2Fmultitagging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultitagging%2Fmultitagging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultitagging%2Fmultitagging/lists"}