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 条
  • [21] 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
  • [22] From Source Code Analysis to Static Software Testing
    Wang Wei
    Han Lilong
    Meng Yunxiu
    Bai He
    PROCEEDINGS OF 2014 IEEE WORKSHOP ON ADVANCED RESEARCH AND TECHNOLOGY IN INDUSTRY APPLICATIONS (WARTIA), 2014, : 1280 - 1283
  • [23] An empirical study of security warnings from static application security testing tools
    Aloraini, Bushra
    Nagappan, Meiyappan
    German, Daniel M.
    Hayashi, Shinpei
    Higo, Yoshiki
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 158
  • [24] Improving the testing process by program static analysis
    Kikuchi, N
    Kikuno, T
    APSEC 2001: EIGHTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 195 - 201
  • [25] Static Code Analysis for Software Security Verification: Problems and Approaches
    Zhioua, Zeineb
    Short, Stuart
    Roudier, Yves
    2014 38TH ANNUAL IEEE INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSACW 2014), 2014, : 102 - 109
  • [26] Lua code: security overview and practical approaches to static analysis
    Costin, Andrei
    2017 IEEE SECURITY AND PRIVACY WORKSHOPS (SPW 2017), 2017, : 132 - 142
  • [27] A survey of static code analysis methods for security vulnerabilities detection
    Kulenovic, Melina
    Donko, Dzenana
    2014 37TH INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2014, : 1381 - 1386
  • [28] Evaluating the Cost Reduction of Static Code Analysis for Software Security
    Baca, Dejan
    Carlsson, Bengt
    Lundberg, Lars
    PLAS'08: PROCEEDINGS OF THE ACM SIGPLAN THIRD WORKSHOP ON PROGRAMMING LANGUAGES AND ANALYSIS FOR SECURITY, 2008, : 79 - 88
  • [29] A syntax analysis method of PLC instruction list program and its application in static testing
    Li X.
    Zhao Q.
    Yang W.
    Haider S.N.
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2021, 61 (10): : 1159 - 1165
  • [30] 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