A software project vulnerability detection method, device, storage medium and server
By docking with the software project management system, obtaining attribute information and using plug-in POC vulnerability scanning, the problem of low vulnerability detection efficiency in software projects is solved, timely tracking and repair of vulnerabilities is achieved, and vulnerability repairs are avoided overdue.
Patent Information
- Application Number
- CN201910294121.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-12
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-04-12
AI Technical Summary
In the development of software projects, the existing technology has low vulnerability detection efficiency and cannot be tracked in time, resulting in the problem of overdue vulnerability repair.
By docking with the software project management system, the attribute information of the target software project is obtained, its asset information is determined, and the vulnerability scanning method based on plug-in POC is used to detect vulnerabilities, store the vulnerabilities and assign status markers, and automatically build prompt information and send it to the software project management system.
It realizes the timely tracking of software project vulnerabilities, avoids the problem of overdue vulnerability repair, and improves the efficiency and timeliness of vulnerability detection.
Smart Images

Figure CN110162971B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, storage medium and server for detecting vulnerabilities in a software project. Background Art
[0002] The development process of a software project usually includes steps such as requirements analysis, outline design, detailed design, software testing, software delivery and acceptance. After the developer has developed a software project and before releasing it, the developer needs to submit the software project to the tester for testing. After the test passes, the relevant code is sent to the software publisher to perform software release and other tasks. Currently, when the tester finds a vulnerability in the software project, the developer is mainly notified by email or other means. However, this method is inefficient and cannot track the vulnerabilities of the software project in a timely manner, which easily leads to problems such as overdue vulnerability repairs. Summary of the invention
[0003] In view of this, the embodiments of the present invention provide a method, device, storage medium and server for detecting vulnerabilities in a software project, which can track software vulnerabilities in a timely manner and avoid the problem of overdue vulnerability repairs.
[0004] A first aspect of an embodiment of the present invention provides a method for detecting a vulnerability in a software project, comprising:
[0005] Connecting to a software project management system to obtain attribute information of a target software project currently in a release state, wherein the software project management system is used to record and manage the process status and attribute information of each software project;
[0006] Determining asset information of the target software project according to the acquired attribute information, wherein the asset information is information of hardware, components, and service resources associated with the software project;
[0007] In combination with the asset information, a vulnerability scanning method based on a plug-in POC is used to perform a vulnerability scan on the target software project;
[0008] The scanned vulnerabilities are stored in a preset database, and status identifiers are assigned to the vulnerabilities;
[0009] Prompt information is constructed according to the status marker of the vulnerability, and the prompt information is sent to the software project management system.
[0010] A second aspect of an embodiment of the present invention provides a software project vulnerability detection device, comprising:
[0011] The attribute information acquisition module is used to connect to the software project management system to obtain the attribute information of the target software project currently in the release state. The software project management system is used to record and manage the process status and attribute information of each software project;
[0012] An asset information determination module, used to determine the asset information of the target software project according to the acquired attribute information, wherein the asset information is information about hardware, components and service resources associated with the software project;
[0013] A vulnerability scanning module, used to perform vulnerability scanning on the target software project using a vulnerability scanning method based on a plug-in POC in combination with the asset information;
[0014] A vulnerability storage module, used to store the scanned vulnerabilities in a preset database and assign status markers to the vulnerabilities;
[0015] The prompt information sending module is used to construct prompt information according to the status marker of the vulnerability and send the prompt information to the software project management system.
[0016] According to a third aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the method for detecting a vulnerability in a software project as proposed in the first aspect of an embodiment of the present invention are implemented.
[0017] According to a fourth aspect of an embodiment of the present invention, a server is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the processor executes the computer-readable instructions, the steps of the method for detecting vulnerabilities in software projects proposed in the first aspect of an embodiment of the present invention are implemented.
[0018] The vulnerability detection method for software projects proposed by the present invention first connects to the software project management system to obtain the attribute information of the target software project currently in the release state; then determines the asset information of the target software project based on the acquired attribute information, and uses a vulnerability scanning method based on a plug-in POC to scan the target software project for vulnerabilities in combination with the asset information; then stores the scanned vulnerabilities in a preset database, and assigns a status marker to the vulnerabilities; finally, constructs prompt information based on the status marker of the vulnerability, and sends the prompt information to the software project management system. Through such a setting, after scanning the vulnerabilities of a certain software project, the system can automatically construct prompt information and send the prompt information to the software project management system (the system is the system used by software developers on a daily basis), so that software developers can be notified in time, track the vulnerabilities of the software project, and avoid the problem of overdue vulnerability repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 It is a flowchart of a first embodiment of a method for detecting a vulnerability in a software project provided by an embodiment of the present invention;
[0021] Figure 2 is a flow chart of a second embodiment of a method for detecting a vulnerability in a software project provided by an embodiment of the present invention;
[0022] Figure 3 It is a structural diagram of an embodiment of a software project vulnerability detection device provided by an embodiment of the present invention;
[0023] Figure 4 It is a schematic diagram of a server provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The embodiments of the present invention provide a method, device, storage medium and server for detecting vulnerabilities of a software project, which can timely track the vulnerabilities of the software and avoid the problem of overdue vulnerability repair.
[0025] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] See also Figure 1 A first embodiment of a method for detecting a vulnerability in a software project in an embodiment of the present invention includes:
[0027] 101. Connect to the software project management system to obtain the attribute information of the target software project currently in the release state;
[0028] First, connect to the software project management system to obtain the attribute information of the target software project that is currently in the release state. The software project management system is a business system used by software developers on a daily basis to record and manage the process status and attribute information of each software project. For example, record the project name, project number, project responsible team, current status of the project, project cycle, storage path of the project code and other attribute information of each software project. Specifically, the present application can build a software project testing system on the server side, which connects to each other by calling the API interface of the software project management system to obtain the attribute information of the target software project.
[0029] 102. Determine the asset information of the target software project according to the acquired attribute information;
[0030] After obtaining the attribute information of the target software project currently in the release state, the asset information of the target software project is determined according to the obtained attribute information. The asset information is the information of the hardware, components and service resources associated with the software project, such as the server type, database type and middleware type used by the software project.
[0031] 103. Perform vulnerability scanning on the target software project using a vulnerability scanning method based on a plug-in POC in combination with the asset information;
[0032] Next, based on the asset information, the target software project is scanned for vulnerabilities using a vulnerability scanning method based on a plug-in POC. POC testing, or Proof of Concept, is a popular verification test for specific customer applications in the industry. Based on the performance requirements and expansion requirements of the adopted system proposed by the user, real data is run on the selected server, the amount of user data carried and the running time are actually measured, and the amount of data is increased according to the user's future business expansion needs to verify the carrying capacity and performance changes of the system and platform.
[0033] When scanning for vulnerabilities, first load the POC library, which stores pre-designed test cases; then select test cases in the POC library in combination with asset information; finally, use the selected test cases to test the target software project to determine the existing vulnerabilities. The POC library stores a large number of test cases, and it is unrealistic to use all test cases to test the target software project. Therefore, the development environment of the target software project can be determined based on the asset information, thereby selecting the most suitable test cases for testing.
[0034] Furthermore, when performing vulnerability scanning, a commercial scanner can be combined, that is, an existing vulnerability scanning tool can be called to perform vulnerability scanning on the target software project. Specifically, AMVS and APPScan can be used to perform black box scanning on the target software project, and Fortify can be used to perform white box scanning on the code of the target software project.
[0035] 104. Store the scanned vulnerabilities in a preset database and assign status identifiers to the vulnerabilities;
[0036] After scanning the vulnerabilities of the target software project, these vulnerabilities are stored in a preset database and assigned status tags. Specifically, the status of the vulnerability may include pending review, pending confirmation, under appeal, ignored, under repair, pending review, closed, etc., which are distinguished by status tags.
[0037] 105. Construct prompt information according to the status identifier of the vulnerability, and send the prompt information to the software project management system.
[0038] The system will construct a prompt message based on the status marker of the vulnerability and send the prompt message to the software project management system to notify the code developer. For example, if a software project scan finds a vulnerability to be reviewed, a prompt message "XX software project has a vulnerability to be reviewed, please check it in time" can be constructed and sent to the software project management system.
[0039] Furthermore, after the scanned vulnerabilities are stored in a preset database, the following steps may also be included:
[0040] (1) Querying the severity level of the vulnerability from a pre-built vulnerability level comparison table;
[0041] (2) Determine the repair period of the vulnerability according to the severity level of the vulnerability;
[0042] (3) Add the repair deadline to the prompt information.
[0043] The vulnerability level comparison table records the severity levels of various types of vulnerabilities, such as severe, general, and minor. The repair period of the vulnerability is determined according to the severity level of the scanned vulnerability. The higher the severity level, the tighter the corresponding repair period. After the repair period of the vulnerability is determined, the repair period is added to the prompt information to remind developers to pay attention to repair the vulnerability in a timely manner.
[0044] The vulnerability detection method for software projects proposed in the embodiment of the present invention first connects to the software project management system to obtain the attribute information of the target software project currently in the release state; then determines the asset information of the target software project based on the acquired attribute information, and uses the vulnerability scanning method based on the plug-in POC to scan the target software project for vulnerabilities in combination with the asset information; then stores the scanned vulnerabilities in a preset database, and assigns a status marker to the vulnerabilities; finally, constructs prompt information based on the status marker of the vulnerability, and sends the prompt information to the software project management system. Through such a setting, after scanning the vulnerabilities of a certain software project, the system can automatically construct prompt information and send the prompt information to the software project management system (the system is the system used by software developers on a daily basis), so that software developers can be notified in time, track the vulnerabilities of the software project, and avoid the problem of overdue vulnerability repair.
[0045] See also Figure 2 A second embodiment of a method for detecting a vulnerability in a software project in an embodiment of the present invention includes:
[0046] 201. Connect to the software project management system to obtain attribute information of the target software project currently in the release state;
[0047] Step 201 is the same as step 101 , and the details may refer to the relevant description of step 101 .
[0048] 202. Determine all business systems associated with the target software project according to the acquired attribute information;
[0049] After obtaining the attribute information of the target software project currently in the release state, all business systems associated with the target software project are determined according to the obtained attribute information. Specifically, the relevant information of the associated business systems can be recorded in the attribute information of the software project.
[0050] 203. Use the nmap tool to detect the IP address and web browsing port number of the server where the business system is located;
[0051] Then, use the nmap tool to detect the IP address and web browsing port number of the server where the business system is located. nmap is a network connection scanning software with three basic functions: first, detect whether a group of hosts are online; second, scan the host port and sniff the network services provided; and infer the operating system used by the host. Specifically, you can start nmap multi-process, use nmap-sn to detect ICMP messages and basic 80, 443 services, and then scan ports and service discovery.
[0052] 204. Using a web crawler to crawl URL addresses visited by the business system;
[0053] Next, a web crawler is used to crawl the URL addresses visited by the business system. Preferably, a crawler strategy based on the ghost spider algorithm is used. One server is limited to crawling 15 layers of a main domain, and the crawling task of 1.4 million links can be completed within 2 hours.
[0054] 205. Obtain attribute information of the business system;
[0055] In addition, it is also necessary to obtain the attribute information of the business system, such as the type of server deployed by the business system, the type and version of the database used, the name of the included subsystems, the name and version of the middleware used, the name and version of the open source software used, the operating environment type, HA type and DNS information, etc. The attribute information of these business systems is usually manually entered into the system in advance by the person in charge of operation and maintenance or the asset management department.
[0056] 206. Integrate the IP address, web browsing port number, URL address and business system attribute information into an asset information list;
[0057] Then, the IP address, web browsing port number, URL address and attribute information of the business system are integrated into an asset information list and stored in a designated database.
[0058] 207. Loading a POC library, wherein the POC library stores various pre-designed test cases;
[0059] When performing a vulnerability scan, first load the POC library, which stores pre-designed test cases.
[0060] 208. Read the asset information in the asset information list;
[0061] Then, the asset information list is searched from the specified database and the asset information therein is read.
[0062] 209. Select a target test case from the POC library according to the read asset information;
[0063] Next, a target test case is selected from the POC library according to the read asset information.
[0064] Specifically, step 209 may include:
[0065] (1) determining the type of vulnerability that may occur based on the attribute information of the business system that has been read;
[0066] (2) Selecting a test case for detecting a vulnerability of the vulnerability type from the POC library as the target test case.
[0067] For example, after knowing the type and version of the middleware, since the possible vulnerabilities of a certain type and version of middleware are known, test cases for detecting the vulnerabilities can be selected from the POC library. Similarly, after knowing the type and version of the database, the possible vulnerabilities of the database are also known, so test cases for detecting vulnerabilities related to the type and version of the database can be selected from the POC library. The server type, the name and version of the open source software tool used can also be selected using the same method.
[0068] 210. Testing the target software project using the target test case to determine existing vulnerabilities;
[0069] After selecting the target test cases, the target software project is tested using these test cases to determine the existing vulnerabilities. In the process of executing the test cases, the IP address, web browsing port number and URL address in the asset information need to be used.
[0070] 211. Store the scanned vulnerabilities in a preset database and assign status identifiers to the vulnerabilities;
[0071] 212. Construct prompt information according to the status identifier of the vulnerability, and send the prompt information to the software project management system.
[0072] Steps 211-212 are the same as steps 104-105, and the details may refer to the relevant description of steps 104-105.
[0073] The vulnerability detection method for software projects proposed in the embodiment of the present invention first connects to the software project management system to obtain the attribute information of the target software project currently in the release state; then determines the asset information of the target software project based on the acquired attribute information, and uses a vulnerability scanning method based on a plug-in POC to scan vulnerabilities of the target software project in combination with the asset information; then stores the scanned vulnerabilities in a preset database, and assigns a status marker to the vulnerability; finally, constructs prompt information based on the status marker of the vulnerability, and sends the prompt information to the software project management system. Compared with the first embodiment of the present invention, this embodiment proposes a specific method for determining asset information, and a specific method for performing POC vulnerability scanning in combination with asset information.
[0074] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0075] A method for detecting a vulnerability in a software project is mainly described above, and a device for detecting a vulnerability in a software project will be described in detail below.
[0076] See also Figure 3 , an embodiment of a software project vulnerability detection device in an embodiment of the present invention includes:
[0077] The attribute information acquisition module 301 is used to connect to the software project management system to obtain the attribute information of the target software project currently in the release state. The software project management system is used to record and manage the process status and attribute information of each software project;
[0078] The asset information determination module 302 is used to determine the asset information of the target software project according to the acquired attribute information, wherein the asset information is information about the hardware, components and service resources associated with the software project;
[0079] A vulnerability scanning module 303 is used to scan the target software project for vulnerabilities by using a vulnerability scanning method based on a plug-in POC in combination with the asset information;
[0080] A vulnerability storage module 304 is used to store the scanned vulnerabilities in a preset database and assign status markers to the vulnerabilities;
[0081] The prompt information sending module 305 is used to construct prompt information according to the status identifier of the vulnerability and send the prompt information to the software project management system.
[0082] Furthermore, the asset information determination module may include:
[0083] A business system determination unit, configured to determine all business systems associated with the target software project according to the acquired attribute information;
[0084] An address and port number detection unit, used to detect the IP address and web browsing port number of the server where the business system is located using the nmap tool;
[0085] A url address crawling unit, used to crawl url addresses visited by the business system using a web crawler;
[0086] An attribute information acquisition unit, used to acquire attribute information of the business system, wherein the attribute information of the business system includes the type of deployed server, the type and version of adopted database, the name and version of adopted middleware, and the name and version of adopted open source software;
[0087] The asset information list integration unit is used to integrate the IP address, web browsing port number, URL address and attribute information of the business system into an asset information list.
[0088] Furthermore, the vulnerability scanning module may include:
[0089] A POC library loading unit, used to load a POC library, wherein the POC library stores various pre-designed test cases;
[0090] An asset information reading unit, used to read the asset information in the asset information list;
[0091] A test case selection unit, used to select a target test case from the POC library according to the read asset information;
[0092] The vulnerability testing unit is used to test the target software project using the target test case to determine the existing vulnerabilities.
[0093] Furthermore, the test case selection unit may include:
[0094] A vulnerability type determination subunit, used to determine the type of vulnerability that may occur based on the read attribute information of the business system;
[0095] The test case selection subunit is used to select a test case for detecting a vulnerability of the vulnerability type from the POC library as the target test case.
[0096] Furthermore, the software project vulnerability detection device may also include:
[0097] A vulnerability level query module is used to query the severity level of the vulnerability from a pre-built vulnerability level comparison table;
[0098] A repair deadline determination module, used to determine the repair deadline of the vulnerability according to the severity level of the vulnerability;
[0099] The repair deadline adding module is used to add the repair deadline to the prompt information.
[0100] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the following is implemented: Figure 1 or Figure 2The steps of a vulnerability detection method for any software project are represented.
[0101] An embodiment of the present invention further provides a server, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein when the processor executes the computer-readable instructions, Figure 1 or Figure 2 The steps of a vulnerability detection method for any software project are represented.
[0102] Figure 4 FIG. 1 is a schematic diagram of a server provided by an embodiment of the present invention. Figure 4 As shown, the server 4 of this embodiment includes: a processor 40, a memory 41, and a computer-readable instruction 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer-readable instruction 42, the steps in the above-mentioned vulnerability detection method embodiments of each software project are implemented, such as Figure 1 Alternatively, when the processor 40 executes the computer-readable instructions 42, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 3 Functions of modules 301 to 305 are shown.
[0103] Exemplarily, the computer-readable instructions 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules / units may be a series of computer-readable instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer-readable instructions 42 in the server 4.
[0104] The server 4 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The server 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of server 4 and does not constitute a limitation on server 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the server 4 may also include input and output devices, network access devices, buses, etc.
[0105] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0106] The memory 41 may be an internal storage unit of the server 4, such as a hard disk or memory of the server 4. The memory 41 may also be an external storage device of the server 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FLash Card), etc. equipped on the server 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the server 4. The memory 41 is used to store the computer-readable instructions and other programs and data required by the server. The memory 41 may also be used to temporarily store data that has been output or is to be output.
[0107] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0108] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0109] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnLyMemory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0110] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting a vulnerability in a software project, characterized in that: include: Connecting to a software project management system to obtain attribute information of a target software project currently in a release state, wherein the software project management system is used to record and manage the process status and attribute information of each software project; Determining asset information of the target software project according to the acquired attribute information; In combination with the asset information, a vulnerability scanning method based on a plug-in POC is used to perform a vulnerability scan on the target software project; The scanned vulnerabilities are stored in a preset database, and status identifiers are assigned to the vulnerabilities; Constructing prompt information according to the status marker of the vulnerability, and sending the prompt information to the software project management system; Wherein, determining the asset information of the target software project according to the acquired attribute information includes: Determining all business systems associated with the target software project according to the acquired attribute information; Use the nmap tool to detect the IP address and web browsing port number of the server where the business system is located; Use a web crawler to crawl the URL addresses visited by the business system; Acquire attribute information of the business system, wherein the attribute information of the business system includes the type of deployed server, the type and version of adopted database, the name and version of adopted middleware, and the name and version of adopted open source software; Integrate the IP address, web browsing port number, URL address and business system attribute information into an asset information list; The step of combining the asset information and scanning the target software project for vulnerabilities using a vulnerability scanning method based on a plug-in POC includes: Loading a POC library, wherein the POC library stores various pre-designed test cases; Reading the asset information in the asset information list; Selecting a target test case from the POC library according to the read asset information; Testing the target software project using the target test case to determine the existing vulnerabilities; The step of selecting a target test case from the POC library according to the read asset information includes: Determine the type of vulnerability that may occur based on the read attribute information of the business system; A test case for detecting a vulnerability of the vulnerability type is selected from the POC library as the target test case.
2. The method for detecting a vulnerability in a software project according to claim 1, characterized in that: After the scanned vulnerabilities are stored in the preset database, it also includes: Query the severity level of the vulnerability from a pre-built vulnerability level comparison table; Determine the repair period of the vulnerability according to the severity level of the vulnerability; The repair deadline is added to the prompt information.
3. A vulnerability detection device for a software project, characterized in that: include: The attribute information acquisition module is used to connect to the software project management system to obtain the attribute information of the target software project currently in the release state. The software project management system is used to record and manage the process status and attribute information of each software project; An asset information determination module, used to determine the asset information of the target software project according to the acquired attribute information; A vulnerability scanning module, used to perform vulnerability scanning on the target software project using a vulnerability scanning method based on a plug-in POC in combination with the asset information; A vulnerability storage module, used to store the scanned vulnerabilities in a preset database and assign status markers to the vulnerabilities; A prompt information sending module, used for constructing prompt information according to the status marker of the vulnerability, and sending the prompt information to the software project management system; Wherein, the asset information determination module includes: A business system determination unit, configured to determine all business systems associated with the target software project according to the acquired attribute information; An address and port number detection unit, used to detect the IP address and web browsing port number of the server where the business system is located using the nmap tool; A url address crawling unit, used to crawl url addresses visited by the business system using a web crawler; A business system attribute information acquisition unit, used to acquire attribute information of the business system, wherein the attribute information of the business system includes the type of deployed server, the type and version of adopted database, the name and version of adopted middleware, and the name and version of adopted open source software; An asset information list integration unit, used to integrate the IP address, web browsing port number, URL address and attribute information of the business system into an asset information list; The vulnerability scanning module includes: A POC library loading unit, used to load a POC library, wherein the POC library stores various pre-designed test cases; An asset information reading unit, used to read the asset information in the asset information list; A test case selection unit, used to select a target test case from the POC library according to the read asset information; A vulnerability testing unit, used to test the target software project using the target test case to determine the existing vulnerabilities; The test case selection unit comprises: A vulnerability type determination subunit, used to determine the type of vulnerability that may occur based on the read attribute information of the business system; The test case selection subunit is used to select a test case for detecting a vulnerability of the vulnerability type from the POC library as the target test case.
4. A computer-readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the method for detecting a vulnerability in a software project as claimed in claim 1 or 2 are implemented.
5. A server comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the following steps are implemented: Connecting to a software project management system to obtain attribute information of a target software project currently in a release state, wherein the software project management system is used to record and manage the process status and attribute information of each software project; Determining asset information of the target software project according to the acquired attribute information; In combination with the asset information, a vulnerability scanning method based on a plug-in POC is used to perform a vulnerability scan on the target software project; The scanned vulnerabilities are stored in a preset database, and status identifiers are assigned to the vulnerabilities; Constructing prompt information according to the status marker of the vulnerability, and sending the prompt information to the software project management system; Wherein, determining the asset information of the target software project according to the acquired attribute information includes: Determining all business systems associated with the target software project according to the acquired attribute information; Use the nmap tool to detect the IP address and web browsing port number of the server where the business system is located; Use a web crawler to crawl the URL addresses visited by the business system; Acquire attribute information of the business system, wherein the attribute information of the business system includes the type of deployed server, the type and version of adopted database, the name and version of adopted middleware, and the name and version of adopted open source software; Integrate the IP address, web browsing port number, URL address and business system attribute information into an asset information list; The step of combining the asset information and scanning the target software project for vulnerabilities using a vulnerability scanning method based on a plug-in POC includes: Loading a POC library, wherein the POC library stores various pre-designed test cases; Reading the asset information in the asset information list; Selecting a target test case from the POC library according to the read asset information; Testing the target software project using the target test case to determine the existing vulnerabilities; The step of selecting a target test case from the POC library according to the read asset information includes: Determine the type of vulnerability that may occur based on the read attribute information of the business system; A test case for detecting a vulnerability of the vulnerability type is selected from the POC library as the target test case.
