{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/aibughunter-a-practical-tool-for-predicting","title":"AIBugHunter: A Practical Tool for Predicting, Classifying and Repairing Software Vulnerabilities","arxiv_id":"2305.16615","date":"2023-05-26","proceeding":null,"authors":["Michael Fu","Chakkrit Tantithamthavorn","Trung Le","Yuki Kume","Van Nguyen","Dinh Phung","John Grundy"],"abstract":"Many ML-based approaches have been proposed to automatically detect, localize, and repair software vulnerabilities. While ML-based methods are more effective than program analysis-based vulnerability analysis tools, few have been integrated into modern IDEs, hindering practical adoption. To bridge this critical gap, we propose AIBugHunter, a novel ML-based software vulnerability analysis tool for C/C++ languages that is integrated into Visual Studio Code. AIBugHunter helps software developers to achieve real-time vulnerability detection, explanation, and repairs during programming. In particular, AIBugHunter scans through developers' source code to (1) locate vulnerabilities, (2) identify vulnerability types, (3) estimate vulnerability severity, and (4) suggest vulnerability repairs. In this article, we propose a novel multi-objective optimization (MOO)-based vulnerability classification approach and a transformer-based estimation approach to help AIBugHunter accurately identify vulnerability types and estimate severity. Our empirical experiments on a large dataset consisting of 188K+ C/C++ functions confirm that our proposed approaches are more accurate than other state-of-the-art baseline methods for vulnerability classification and estimation. Furthermore, we conduct qualitative evaluations including a survey study and a user study to obtain software practitioners' perceptions of our AIBugHunter tool and assess the impact that AIBugHunter may have on developers' productivity in security aspects. Our survey study shows that our AIBugHunter is perceived as useful where 90% of the participants consider adopting our AIBugHunter. Last but not least, our user study shows that our AIBugHunter could possibly enhance developers' productivity in combating cybersecurity issues during software development.","url_abs":"https://arxiv.org/abs/2305.16615v1","url_pdf":"https://arxiv.org/pdf/2305.16615v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"aibughunter-a-practical-tool-for-predicting","repo_url":"https://github.com/awsm-research/aibughunter","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.16615","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.16615"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/awsm-research/aibughunter","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"081832dce3023c52","entry":"compute_adjustment","repo":"awsm-research/aibughunter","repo_kind":"official","path":"rq1_cwe_id_cls/bert_base/bert_base_main.py","file_url":"https://github.com/awsm-research/aibughunter/blob/HEAD/rq1_cwe_id_cls/bert_base/bert_base_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"081832dce3023c52"}},{"code_sha256_prefix":"dbb914994067a9fd","entry":"convert_examples_to_features","repo":"awsm-research/aibughunter","repo_kind":"official","path":"rq3_cvss_score_reg/bert/bert_base_main.py","file_url":"https://github.com/awsm-research/aibughunter/blob/HEAD/rq3_cvss_score_reg/bert/bert_base_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dbb914994067a9fd"}},{"code_sha256_prefix":"711cd36f3f2b2e39","entry":"convert_examples_to_features","repo":"awsm-research/aibughunter","repo_kind":"official","path":"rq1_cwe_id_cls/bert_base/bert_base_main.py","file_url":"https://github.com/awsm-research/aibughunter/blob/HEAD/rq1_cwe_id_cls/bert_base/bert_base_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"711cd36f3f2b2e39"}},{"code_sha256_prefix":"3131dc6682c16cc0","entry":"evaluate","repo":"awsm-research/aibughunter","repo_kind":"official","path":"rq3_cvss_score_reg/bert/bert_base_main.py","file_url":"https://github.com/awsm-research/aibughunter/blob/HEAD/rq3_cvss_score_reg/bert/bert_base_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3131dc6682c16cc0"}},{"code_sha256_prefix":"77ddbc18c8883859","entry":"evaluate","repo":"awsm-research/aibughunter","repo_kind":"official","path":"rq1_cwe_id_cls/bert_base/bert_base_main.py","file_url":"https://github.com/awsm-research/aibughunter/blob/HEAD/rq1_cwe_id_cls/bert_base/bert_base_main.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"77ddbc18c8883859"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}