Journal of Xidian University ›› 2019, Vol. 46 ›› Issue (6): 147-154.doi: 10.19665/j.issn1001-2400.2019.06.021

Previous Articles     Next Articles

Security risk scenarios and solutions in automatic program repair

HUANG Yuming1,MA Jianfeng1,2,LIU Zhiquan1(),WEI Kaimin1,FENG Bingwen1,3,4,5   

  1. 1. College of Information Science and Technology, Jinan Univ., Guangzhou 510632, China
    2. School of Cyber Engineering, Xidian Univ., Xi’an 710071, China
    3. State Key Lab. of Information Security, Institute of Information Engineering,Chinese Academy of Sciences, Beijing 100093, China
    4. Guangdong Provincial Key Lab. of Information Security Technology, Guangzhou 520006, China
    5. Guangdong Key Lab. of Intelligent Information Processing and Shenzhen Key Lab. of Media Security, Shenzhen 518060, China
  • Received:2019-06-02 Online:2019-12-20 Published:2019-12-21
  • Contact: Zhiquan LIU E-mail:zqliu@jnu.edu.cn

Abstract:

To improve the quality of the Automatic Program Repair (APR) method, this research points out two scenarios, namely tainted patch sources and error test suites, which may lead to security risks in the APR-based software defect fix. Moreover, the research proposes the corresponding solutions, namely the patch verification schema and the test suite verification schema, respectively. Experimental results demonstrate that the patch verification schema can enable the APR to obtain a more secure patch, and that the test suite verification scheme can accurately locate the error test cases in the test suite with a false positive rate of 7.20%.

Key words: automatic program repair, static analysis, test suite, software security

CLC Number: 

  • TP309