Towards a Block-Level ML-Based Python']Python Vulnerability Detection Tool∗

被引:0
|
作者
Bagheri, Amirreza [1 ]
Hegedus, Peter [1 ]
机构
[1] Univ Szeged, Inst Informat, Szeged, Hungary
来源
ACTA CYBERNETICA | 2024年 / 26卷 / 03期
关键词
deep learning; vulnerability detection; source code embedding; data mining;
D O I
10.14232/actacyb.299667
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Computer software is driving our everyday life, therefore their security is pivotal. Unfortunately, security flaws are common in software systems, which can result in a variety of serious repercussions, including data loss, secret information disclosure, manipulation, or system failure. Although techniques for detecting vulnerable code exist, the improvement of their accuracy and effectiveness to a practically applicable level remains a challenge. Many existing methods require a substantial amount of human expert labor to develop attributes that indicate vulnerabilities. In previous work, we have shown that machine learning is suitable for solving the issue automatically by learning features from a vast collection of real-world code and predicting vulnerable code locations. Applying a BERT-based code embedding, LSTM models with the best hyperparameters were able to identify seven different security flaws in Python source code with high precision (average of 91%) and recall (average of 83%). Upon the encouraging first empirical results, we go beyond this paper and discuss the challenges of applying these models in practice and outlining a method that solves these issues. Our goal is to develop a hands-on tool for developers that they can use to pinpoint potentially vulnerable spots in their code.
引用
收藏
页码:323 / 371
页数:49
相关论文
共 50 条
  • [41] Towards a Python']Python-Based One Language Ecosystem for Embedded Systems Automation
    Han, Zhao
    Devarajegowda, Keerthikumara
    Werner, Michael
    Ecker, Wolfgang
    2019 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS) - NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2019,
  • [42] Machine Learning Human Behavior Detection Mechanism Based on Python']Python Architecture
    Zhu, Jinnuo
    Goyal, S. B.
    Verma, Chaman
    Raboaca, Maria Simona
    Mihaltan, Traian Candin
    MATHEMATICS, 2022, 10 (17)
  • [43] Python']Python-based acoustic detection of Penaeus vannamei feeding behavior
    Sanchez-Gendriz, Ignacio
    Pulgar-Pantaleon, Efrain M.
    Hamilton, Santiago
    Filho, Fabio Costa
    Guedes, Luiz Affonso
    Soares, Roberta
    Peixoto, Silvio
    AQUACULTURE, 2025, 595
  • [44] Switch Mode: Exploring Authoring Python']Python inside a Block-based Programming Environment
    Lin, Yuhan
    2023 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, VL/HCC, 2023, : 312 - 313
  • [45] A Parallel Block Predictor-Corrector Method by Python']Python-Based Distributed Computing
    Yu, Kun-Ming
    Lee, Ming-Gong
    INFORMATION TECHNOLOGY APPLICATIONS IN INDUSTRY, PTS 1-4, 2013, 263-266 : 1315 - +
  • [46] Commit-Based Class-Level Defect Prediction for Python']Python Projects
    Mon, Khine Yin
    Kondo, Masanari
    Choi, Eunjong
    Mizuno, Osamu
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2023, E106D (02) : 157 - 165
  • [47] BLOCK-EQUAL QRS DECOMPOSITION OF MIMO CHANNELS WITH ML-BASED BLOCK SUCCESSIVE CANCELLATION DETECTION
    Fang, Dan
    Wong, Anzhong
    Zhang, Jian-Kang
    Wong, Kon Max
    2014 IEEE 15TH INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING ADVANCES IN WIRELESS COMMUNICATIONS (SPAWC), 2014, : 35 - 39
  • [48] Development of the KRISP python']python tool and validation of a CRISPR Cas diagnostic assay for detection of Phytophthora ramorum
    Press, C. M.
    Foster, Z.
    Carleson, N.
    Grunwald, N.
    PHYTOPATHOLOGY, 2022, 112 (11) : 11 - 11
  • [49] Strype: Frame-Based Editing tool for programming the micro:bit through Python']Python
    Kyfonidis, Charalampos
    Weill-Tessier, Pierre
    Brown, Neil
    PROCEEDINGS OF THE 16TH WORKSHOP IN PRIMARY AND SECONDARY COMPUTING EDUCATION, WIPSCE 2021, 2021,
  • [50] PyShoreVolume 1.0.0: A Python']Python based Shoreline Change and beach Volumetric Change Analysis tool
    James, Owen C.
    Schillereff, Daniel N.
    Grieve, Stuart W. D.
    Baas, Andreas C. W.
    COMPUTERS & GEOSCIENCES, 2024, 187