Code Analysis with Static Application Security Testing for Python Program

被引:0
|
作者
Li Ma
Huihong Yang
Jianxiong Xu
Zexian Yang
Qidi Lao
Dong Yuan
机构
[1] Foshan University,School of Electronic Information Engineering
[2] Foshan University,School of Mechatronics Engineering and Automation
来源
关键词
Code Audit; SAST; Python; Code Security; Vulnerability Detection;
D O I
暂无
中图分类号
学科分类号
摘要
With the increasing popularity of Python for project development, code security and quality have become severe issues for the past few years. The cost of these coding vulnerabilities is hard to estimate and even more costly to fix once the product is released. Besides, the code security audit is inefficient only by manual work, which generally requires tool cooperation. Thus, a Python auditing tool based on Static Application Security Testing (SAST) was developed by integrating multiple technologies. Firstly, the tool preprocesses the code to be detected into the Abstract Syntax Tree (AST) and performs security analysis by studying the context of the AST and combining it with data flow relationships to determine the existence of vulnerabilities and code security by whether security rules are hit or not. Secondly, to enhance the vulnerabilities detection ability, the tool was designed with plug-in architecture, which allows users to redevelop or rewrite specific rules quickly and easily based on this architecture. Experiments have shown that the SAST technology is fast, efficient, and does not need to configure the environment of code running.
引用
收藏
页码:1169 / 1182
页数:13
相关论文
共 50 条
  • [41] The Lompe code: A Python']Python toolbox for ionospheric data analysis
    Hovland, A. O.
    Laundal, K. M.
    Reistad, J. P.
    Hatch, S. M.
    Walker, S. J.
    Madelaire, M.
    Ohma, A.
    FRONTIERS IN ASTRONOMY AND SPACE SCIENCES, 2022, 9
  • [42] pycefr: Python']Python Competency Level through Code Analysis
    Robles, Gregorio
    Kula, Raula Gaikovina
    Ragkhitwetsagul, Chaiyong
    Sakulniwat, Tattiya
    Matsumoto, Kenichi
    Gonzalez-Barahona, Jesus M.
    30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 173 - 177
  • [43] Promoting Python']Python Code Clubs in Greece: A Teacher Training Program and a Case Study
    Moumoutzis, Nektarios
    Xanthaki, Chara
    Perrakis, Stelios
    Manousakas, Manousos
    Pavlova, Lilia
    DIGITAL PRESENTATION AND PRESERVATION OF CULTURAL AND SCIENTIFIC HERITAGE, 2021, 11 : 187 - 201
  • [44] OpenMoist: A Python']Python code for transient moisture transfer analysis
    Melchor-Placencia, Carlos
    Malaga-Chuquitaype, Christian
    SOFTWAREX, 2021, 15
  • [45] The Approach to Finding Errors in Program Code Based on Static Analysis Methodology
    Novikov, Alexander S.
    Ivutin, Alexey N.
    Troshina, Anna G.
    Vasiliev, Sergey N.
    2017 6TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2017, : 437 - 440
  • [46] Static Analysis of Corpus of Source Codes of Python']Python Applications
    Kapustin, D. A.
    Shvyrov, V. V.
    Shulika, T. I.
    PROGRAMMING AND COMPUTER SOFTWARE, 2023, 49 (04) : 302 - 309
  • [47] Static Value Analysis of Python']Python Programs by Abstract Interpretation
    Fromherz, Aymeric
    Ouadjaout, Abdelraouf
    Mine, Antoine
    NASA FORMAL METHODS, NFM 2018, 2018, 10811 : 185 - 202
  • [48] Research and Implementation of Security Vulnerability Detection in Application System of WEB Static Source Code Analysis Based on JAVA']JAVA
    Yuan, Hui
    Zheng, Lei
    Dong, Liang
    Peng, Xiangli
    Zhuang, Yan
    Deng, Guoru
    CYBER SECURITY INTELLIGENCE AND ANALYTICS, 2020, 928 : 444 - 452
  • [49] Static code analysis
    Louridas, P
    IEEE SOFTWARE, 2006, 23 (04) : 58 - 61
  • [50] What does this Python']Python code do? An exploratory analysis of novice students' code explanations
    van der Werf, Vivian
    Aivaloglou, Efthimia
    Hermans, Felienne
    Specht, Marcus
    CSERC'21: THE 10TH COMPUTER SCIENCE EDUCATION RESEARCH CONFERENCE, 2021, : 94 - 107