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 条
  • [1] Code Analysis with Static Application Security Testing for Python']Python Program
    Ma, Li
    Yang, Huihong
    Xu, Jianxiong
    Yang, Zexian
    Lao, Qidi
    Yuan, Dong
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2022, 94 (11): : 1169 - 1182
  • [2] Testing for software security: A case study on static code analysis of a file reader Java program
    Meghanathan, Natarajan
    Geoghegan, Alexander Roy
    Advances in Intelligent and Soft Computing, 2012, 166 AISC (VOL. 1): : 529 - 538
  • [3] Static Application Security Testing of Consensus-Critical Code in the Cosmos Network
    Surmont, Jasper
    Wang, Weihong
    Van Cutsem, Tom
    2023 5TH CONFERENCE ON BLOCKCHAIN RESEARCH & APPLICATIONS FOR INNOVATIVE NETWORKS AND SERVICES, BRAINS, 2023,
  • [4] Application of source code static analysis methods to ensure security of APCS
    Knysh, Alexander, V
    Kobzev, Dmitry A.
    Davidenko, Oksana N.
    Detistov, Sergey A.
    Shechev, Ivan A.
    Khenerina, Alyona A.
    Ulyashev, Ivan I.
    NAUKA I TEHNOLOGII TRUBOPROVODNOGO TRANSPORTA NEFTI I NEFTEPRODUKTOV-SCIENCE & TECHNOLOGIES-OIL AND OIL PRODUCTS PIPELINE TRANSPORTATION, 2021, 11 (03): : 346 - 356
  • [5] Evaluating Python']Python Static Code Analysis Tools Using FAIR Principles
    Hassan, Hassan Bapeer
    Sarhan, Qusay Idrees
    Beszedes, Arpad
    IEEE ACCESS, 2024, 12 : 173647 - 173659
  • [6] Study of defects in a program code in Python']Python
    Bronshteyn, I. E.
    PROGRAMMING AND COMPUTER SOFTWARE, 2013, 39 (06) : 279 - 284
  • [7] Can a Llama be a Watchdog? Exploring Llama 3 and Code Llama for Static Application Security Testing
    Curto, Claudio
    Giordano, Daniela
    Indelicato, Daniel Gustav
    Patatu, Vladimiro
    2024 IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND RESILIENCE, CSR, 2024, : 395 - 400
  • [8] Symbiosis of static analysis and program testing
    Young, M
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2003, 2621 : 1 - 5
  • [9] Symbiosis of static analysis and program testing
    Young, Michal
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2003, 2621 : 1 - 5
  • [10] 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,