Code Analysis with Static Application Security Testing for Python']Python Program

被引:6
|
作者
Ma, Li [1 ]
Yang, Huihong [2 ]
Xu, Jianxiong [1 ]
Yang, Zexian [2 ]
Lao, Qidi [2 ]
Yuan, Dong [2 ]
机构
[1] Foshan Univ, Sch Elect Informat Engn, Foshan 528000, Guangdong, Peoples R China
[2] Foshan Univ, Sch Mechatron Engn & Automat, Foshan 528000, Guangdong, Peoples R China
关键词
Code Audit; SAST; !text type='Python']Python[!/text; Code Security; Vulnerability Detection;
D O I
10.1007/s11265-022-01740-z
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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
页数:14
相关论文
共 50 条
  • [1] Code Analysis with Static Application Security Testing for Python Program
    Li Ma
    Huihong Yang
    Jianxiong Xu
    Zexian Yang
    Qidi Lao
    Dong Yuan
    Journal of Signal Processing Systems, 2022, 94 : 1169 - 1182
  • [2] Study of defects in a program code in Python']Python
    Bronshteyn, I. E.
    PROGRAMMING AND COMPUTER SOFTWARE, 2013, 39 (06) : 279 - 284
  • [3] Evaluating Python']Python Static Code Analysis Tools Using FAIR Principles
    Hassan, Hassan Bapeer
    Sarhan, Qusay Idrees
    Beszedes, Arpad
    IEEE ACCESS, 2024, 12 : 173647 - 173659
  • [4] Static Type Analysis for Python']Python
    Dong, Tiancong
    Chen, Lin
    Xu, Zhaogui
    Yu, Bin
    2014 11TH WEB INFORMATION SYSTEM AND APPLICATION CONFERENCE (WISA), 2014, : 65 - 68
  • [5] A Large-Scale Security-Oriented Static Analysis of Python']Python Packages in PyPI
    Ruohonen, Jukka
    Hjerppe, Kalle
    Rindell, Kalle
    2021 18TH INTERNATIONAL CONFERENCE ON PRIVACY, SECURITY AND TRUST (PST), 2021,
  • [6] Unambiguity of Python']Python Language Elements for Static Analysis
    Nagy, Bence
    Brunner, Tibor
    Porkolab, Zoltan
    IEEE 21ST INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2021), 2021, : 70 - 75
  • [7] Evaluation of Static Analysis Methods of Python']Python Programs
    Gulabovska, Hristina
    Porkolab, Zoltan
    IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2020, 16 (02): : 39 - 46
  • [8] Study of defects in a program code in Python
    I. E. Bronshteyn
    Programming and Computer Software, 2013, 39 : 279 - 284
  • [9] Empirical Analysis of Security Vulnerabilities in Python']Python Packages
    Alfadel, Mahmoud
    Costa, Diego Elias
    Shihab, Emad
    2021 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2021), 2021, : 446 - 457
  • [10] Code2graph: Automatic Generation of Static Call Graphs for Python']Python Source Code
    Gharibi, Gharib
    Tripathi, Rashmi
    Lee, Yugyung
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 880 - 883