Machine Learning Vulnerability Testing for Software Code Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing software applications are prone to security vulnerabilities due to loose coupling design and environmental changes, which are difficult to identify and remediate effectively, leaving them susceptible to malicious attacks.

Innovation Solution

An intelligent agent plugged into software applications uses machine learning to detect changes in code or computing environments, identifies vulnerabilities, verifies them through test cases, and automatically suggests remedial actions to mitigate or eliminate threats, with a dynamic security scoring system to assess application health.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If loose coupling design is used to achieve modular software architecture, then adaptability and ease of maintenance are improved, but security vulnerability introduction increases

Engineering Contradiction:
Improvesoftware modularityVSAvoidsecurity vulnerability
Core Design Contradiction:
Adaptability or versatilityVSObject-affected harmful factors

Solution Approach 1:

The system performs preliminary vulnerability detection and verification actions during the software development lifecycle before deployment. Machine learning models are trained on historical vulnerability data to proactively identify potential security issues in loosely coupled architectures before they can be exploited, enabling preventive rather than reactive security measures.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements continuous feedback loops where vulnerability detection results, verification outcomes, and remediation effectiveness are fed back into the machine learning models. This feedback mechanism allows the system to learn from actual vulnerability patterns in modular software and improve its detection accuracy over time, addressing the security weaknesses introduced by loose coupling design.

Inventive Principle:
Principle #23Feedback

2Difficulty of detecting and measuring

If traditional vulnerability scanning is performed, then vulnerability identification is achieved, but false positives and false negatives remain difficult to resolve

Engineering Contradiction:
Improvevulnerability identificationVSAvoidvulnerability verification accuracy
Core Design Contradiction:
Difficulty of detecting and measuringVSMeasurement precision

Solution Approach 1:

The system introduces machine learning verification as an intermediary step between initial vulnerability scanning and final vulnerability confirmation. The ML models analyze scan results, cross-reference them with historical data and context information, and provide probabilistic assessments that reduce false positives and false negatives by filtering out spurious detections and highlighting genuine vulnerabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system dynamically adjusts detection parameters and thresholds based on learned patterns from training data. By changing the sensitivity parameters of vulnerability detection algorithms based on historical false positive and false negative rates, the system optimizes the balance between detection coverage and accuracy, reducing measurement errors in vulnerability identification.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If comprehensive vulnerability detection and verification processes are implemented, then security accuracy is improved, but processing time and system complexity increase

Engineering Contradiction:
Improvevulnerability detection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system applies partial verification actions by prioritizing vulnerability checks based on risk assessment. Instead of verifying all detected vulnerabilities with equal thoroughness, the ML models identify high-risk vulnerabilities that require comprehensive verification while applying lighter verification to low-risk findings, reducing overall processing time while maintaining high detection accuracy for critical issues.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The machine learning models are pre-trained on extensive vulnerability datasets before deployment, performing preliminary learning of vulnerability patterns offline. This preliminary training enables the models to quickly assess new vulnerability detections without requiring extensive real-time computation, reducing processing time while maintaining high verification accuracy through pre-learned patterns.

Inventive Principle:
Principle #10Preliminary action

4Productivity

If automated remediation actions are implemented, then response speed to vulnerabilities is improved, but automation extent and potential errors increase

Engineering Contradiction:
Improveremediation speedVSAvoidautomated remediation
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The system implements feedback control in automated remediation by continuously monitoring the effectiveness of applied fixes and feeding this information back into the decision-making process. If automated remediation actions fail or produce unexpected results, the system learns from these outcomes and adjusts its automation strategy, enabling safer and more reliable automated responses over time while maintaining high remediation speed.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12423444B2System for software code cyber security based on machine learning vulnerability detection and generation and implementation of vulnerability test
Publication Date: 2025.09.23 BANK OF AMERICA CORP
  • US12423444B2 patent drawing
  • US12423444B2 patent drawing
  • US12423444B2 patent drawing

AI summary

An end-to-end approach for (i) identifying potential vulnerabilities in software applications, including security vulnerabilities, (ii) verifying/confirming the potential vulnerabilities as actual vulnerabilities and (iii) in response, identifying the necessary remedial actions necessary to eliminate or at least mitigate the vulnerabilities. An intelligent agent is implemented that is configured to detect a change to the application's code or computing environment and, as a result of detection of changes to the code or computing environment, identify potential vulnerabilities, verify/confirm the potential vulnerabilities as actual vulnerabilities through determination/creation of vulnerability test cases and automatically identify the necessary remedial actions necessary to eliminate or mitigate the vulnerabilities.