A method, apparatus and medium for detecting vulnerabilities caused by imperfect patches

By combining rules and ChatGPT to identify security patches in the JavaScript engine, extracting PoCs files and performing selective instrumentation and AST mutation, the problem of low vulnerability detection efficiency caused by incomplete patches is solved, achieving more efficient vulnerability discovery.

CN117131499BActive Publication Date: 2026-07-03TIANJIN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TIANJIN UNIV
Filing Date
2023-07-24
Publication Date
2026-07-03

Smart Images

  • Figure CN117131499B_ABST
    Figure CN117131499B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of software security, and particularly relates to a method and device for detecting vulnerabilities caused by imperfect patches and a medium. The method comprises the following steps: classifying submitted information by combining a rule-based and / or ChatGPT-based method to identify security patches; extracting JavaScript files with PoCs from the security patches to generate executable PoCs files; collecting all patch files and arranging them according to frequency information, taking frequently patched code as hot code to construct a hot code file list; comparing the current file name to be instrumented with the hot code file list to selectively instrument the hot code; performing mutation operations on the PoCs JavaScript files to generate new samples; replacing the generated new sample code into the hot code area for fuzz testing; and if a new vulnerability is found during the fuzz testing process, taking it as input. Through the method, the accuracy and efficiency of identifying security patches and discovering new vulnerabilities are significantly improved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Fuzzy test tool test method based on obstruction features and electronic device

    CN112631901A

  • JavaScript engine directional fuzzy test method and system based on natural language processing

    CN115237760A