Algorithm capable of realizing supply chain security risk hidden danger of closed-loop management and control software
Through the algorithm of closed-loop management and control of security risks in the software supply chain, the software tree construction, closed-loop control, packaging and intranet operation restrictions are used to solve the problem that the security risks of the software supply chain cannot be completely eliminated in the existing technology, and realize automated management and high efficiency. Security risk fixes have improved the security and stability of the software.
Patent Information
- Application Number
- CN202410646294.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-10-11
AI Technical Summary
Existing technology cannot completely eliminate security risks in the software supply chain, and requires a lot of manual intervention and manual operations, which is inefficient and error-prone.
Provides an algorithm for closed-loop management and control of security risks in the software supply chain, including four steps: software tree construction, closed-loop management and control, packaging and intranet operation restrictions. Software tree construction, security risk analysis and packaging are carried out in an automated manner, reducing manual intervention. , to achieve comprehensive management and protection of the security of the software supply chain.
It improves the security and stability of software, can promptly detect and repair security risks in the software supply chain, reduces manual intervention, and improves efficiency and accuracy.
Abstract
Description
Technical Field
[0001] The present invention relates to an algorithm for supply chain security risk hazards, and in particular to an algorithm capable of realizing closed-loop control of software supply chain security risk hazards, belonging to the technical field of supply chain security control. Background Art
[0002] Software supply chain security risks refer to various security vulnerabilities and risks that may exist in the process of software development and delivery. These vulnerabilities and risks may affect the security and stability of the software. Many software projects rely on third-party open source components or libraries to implement specific functions, but these third-party components may have known or unknown security vulnerabilities. Attackers can exploit these vulnerabilities to invade the system or perform malicious operations.
[0003] Moreover, even if existing technologies are used for security protection, it is still impossible to completely eliminate all security risks in the supply chain, because new vulnerabilities and attack methods continue to emerge, and many existing technologies require a lot of manual intervention and manual operations, such as manually configuring firewall rules, manually running security scanning tools, etc., which are inefficient and prone to errors. Summary of the invention
[0004] The purpose of the present invention is to provide an algorithm that can achieve closed-loop control of software supply chain security risks and hidden dangers, so as to solve the problems raised in the above background technology.
[0005] To achieve the above purpose, the present invention provides the following technical solution: an algorithm that can realize closed-loop control of software supply chain security risks, the algorithm that can realize closed-loop control of software supply chain security risks is divided into the following four steps:
[0006] Step 1: Software tree construction;
[0007] Step 2: Closed-loop control;
[0008] Step 3: Packing;
[0009] Step 4: Run the restriction algorithm on the intranet.
[0010] As a preferred technical solution of the present invention, in the step 1,
[0011] Input: software name list, version information, dependency information;
[0012] Output: software tree structure;
[0013] Specific steps:
[0014] a. Create an empty software tree structure;
[0015] b. Traverse the software name list, create a node for each software, and add it to the software tree;
[0016] c. According to the dependency information, traverse each software node and add its dependency to the corresponding node;
[0017] d. Return the complete software tree structure.
[0018] 3. According to claim 1, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: in said step 2,
[0019] Input: software tree structure;
[0020] Output: safety risk analysis report;
[0021] Specific steps:
[0022] a. Perform vulnerability scan and security assessment on each software node in the software tree;
[0023] b. Analyze the dependencies between software and detect whether there are dependency vulnerabilities;
[0024] c. Generate a security risk analysis report, including existing security risks, vulnerability details and recommended solutions.
[0025] As a preferred technical solution of the present invention, in step three,
[0026] Input: software tree structure, operating environment configuration;
[0027] Output: packaged software;
[0028] Specific steps:
[0029] a. Traverse the software tree structure and collect all involved software and their dependencies;
[0030] b. Create an independent operating environment based on the collected software and dependencies;
[0031] c. Add the software and its dependencies to the running environment and configure the environment parameters;
[0032] d. Ensure that the operating environment can only run in the internal LAN, and configure network access restrictions and security policies.
[0033] As a preferred technical solution of the present invention, in the step 4,
[0034] Input: packaged software and network environment configuration;
[0035] Output: Intranet operation restriction policy;
[0036] Specific steps:
[0037] a. Configure firewall rules to limit the network access rights of the software;
[0038] b. Configure network access control lists (ACLs) to restrict inbound and outbound traffic of the software;
[0039] c. Monitor the network activities of the software, and regularly review and update restriction policies to adapt to changes in the network environment.
[0040] As a preferred technical solution of the present invention, the creation rules for limiting the network access rights of the software only allow the software to communicate with a specific IP address or IP address range in the internal LAN, block communication with external networks, and prohibit the packaged software from communicating with any external network, including inbound and outbound network connections.
[0041] Compared with the prior art, the beneficial effects of the present invention are: an algorithm of the present invention can realize closed-loop control of security risks in the software supply chain. The algorithm comprehensively considers multiple aspects such as software tree construction, closed-loop control, packaging and intranet operation restrictions, and can comprehensively manage and protect the security of the software supply chain. The algorithm adopts an automated method to perform software tree construction, security risk analysis and packaging, which reduces the need for manual intervention and improves efficiency and accuracy. Moreover, the algorithm can timely discover and repair security risks in the software supply chain through closed-loop control and security risk analysis, thereby improving the security and stability of the software. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present invention are described clearly and completely. Obviously, the described embodiments 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.
[0043] The present invention provides an algorithm that can realize closed-loop control of software supply chain security risks. The algorithm that can realize closed-loop control of software supply chain security risks is divided into the following four steps:
[0044] Step 1: Software tree construction;
[0045] Step 2: Closed-loop control;
[0046] Step 3: Packing;
[0047] Step 4: Run the restriction algorithm on the intranet.
[0048] In the first embodiment, in step 1, the software tree is constructed:
[0049] Input: software name list, version information, dependency information;
[0050] Output: software tree structure;
[0051] Specific steps:
[0052] a. Create an empty software tree structure. The empty software tree structure represents the initial state of the software tree construction. At this time, no software has been added to the software tree. It provides a clear starting point for the construction process and helps organizations and developers start building software trees.
[0053] b. Traverse the software name list, create a node for each software, and add it to the software tree;
[0054] c. According to the dependency information, traverse each software node and add its dependency to the corresponding node;
[0055] d. Return the complete software tree structure.
[0056] Embodiment 2, in step 2, closed-loop control:
[0057] Input: software tree structure;
[0058] Output: safety risk analysis report;
[0059] Specific steps:
[0060] a. Perform vulnerability scan and security assessment on each software node in the software tree;
[0061] b. Analyze the dependencies between software and detect whether there are dependency vulnerabilities;
[0062] c. Generate a security risk analysis report, including existing security risks, vulnerability details and recommended solutions.
[0063] Embodiment 3, in step 3, packaging:
[0064] Input: software tree structure, operating environment configuration;
[0065] Output: packaged software;
[0066] Specific steps:
[0067] a. Traverse the software tree structure and collect all involved software and their dependencies;
[0068] b. Create an independent operating environment based on the collected software and dependencies;
[0069] c. Add the software and its dependencies to the running environment and configure the environment parameters;
[0070] d. Ensure that the operating environment can only run in the internal LAN, and configure network access restrictions and security policies.
[0071] Embodiment 4: In step 4, the intranet runs a restriction algorithm:
[0072] Input: packaged software and network environment configuration;
[0073] Output: Intranet operation restriction policy;
[0074] Specific steps:
[0075] a. Configure firewall rules to limit the network access rights of the software;
[0076] b. Configure network access control lists (ACLs) to restrict inbound and outbound traffic of the software;
[0077] c. Monitor the network activities of the software, and regularly review and update restriction policies to adapt to changes in the network environment.
[0078] Among them, the creation rules for limiting the network access rights of the software only allow the software to communicate with a specific IP address or IP address range in the internal LAN, block communication with external networks, and prohibit the packaged software from having any communication with external networks, including inbound and outbound network connections.
[0079] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. An algorithm that can achieve closed-loop control of software supply chain security risks, characterized in that: The algorithm that can achieve closed-loop control of software supply chain security risks is divided into the following four steps: Step 1: Software tree construction; Step 2: Closed-loop control; Step 3: Packing; Step 4: Run the restriction algorithm on the intranet.
2. According to claim 1, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: In the step 1, Input: software name list, version information, dependency information; Output: software tree structure; Specific steps: a. Create an empty software tree structure; b. Traverse the software name list, create a node for each software, and add it to the software tree; c. According to the dependency information, traverse each software node and add its dependency to the corresponding node; d. Return the complete software tree structure.
3. According to claim 1, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: In the step 2, Input: software tree structure; Output: safety risk analysis report; Specific steps: a. Perform vulnerability scan and security assessment on each software node in the software tree; b. Analyze the dependencies between software and detect whether there are dependency vulnerabilities; c. Generate a security risk analysis report, including existing security risks, vulnerability details and recommended solutions.
4. According to claim 1, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: In the step three, Input: software tree structure, operating environment configuration; Output: packaged software; Specific steps: a. Traverse the software tree structure and collect all involved software and their dependencies; b. Create an independent operating environment based on the collected software and dependencies; c. Add the software and its dependencies to the running environment and configure the environment parameters; d. Ensure that the operating environment can only run in the internal LAN, and configure network access restrictions and security policies.
5. According to claim 1, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: In the step 4, Input: packaged software and network environment configuration; Output: Intranet operation restriction policy; Specific steps: a. Configure firewall rules to limit the network access rights of the software; b. Configure network access control lists (ACLs) to restrict inbound and outbound traffic of the software; c. Monitor the network activities of the software, and regularly review and update restriction policies to adapt to changes in the network environment.
6. According to claim 5, an algorithm capable of realizing closed-loop control of software supply chain security risks, characterized in that: The creation rules for limiting the network access rights of the software only allow the software to communicate with a specific IP address or IP address range in the internal LAN, block communication with external networks, and prohibit the packaged software from having any communication with external networks, including inbound and outbound network connections.
Citation Information
Cited By
Comprehensive detection method and device for software supply chain security
CN119903528A
Method and device for dynamically configuring and instantiating software product based on version snapshot
CN121579061A
Method and apparatus for dynamic configuration and instantiation of software products based on version snapshots
CN121579061B
