Integrated Pipeline Learning for Assisted Security Code Remediation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing software development processes, particularly in DevSecOps, face challenges in efficiently integrating security into the development pipeline without slowing down the rapid deployment cycle, and there is a need for effective detection and remediation of code flaws.

Innovation Solution

A remediation agent integrated into the software development pipeline learns from scanning results and expert fixes to provide suggested code fixes, utilizing both organization-specific and multi-organization training data through machine learning models to facilitate ongoing learning and efficient flaw remediation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If security analysis and scanning tools are incorporated into the DevOps pipeline, then software security quality is improved, but the deployment speed and development cycle time deteriorate

Engineering Contradiction:
Improvesoftware security qualityVSAvoiddeployment speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The system performs preliminary security analysis by training machine learning models on historical flaw and fix data before the main development pipeline. This pre-training enables the model to quickly identify and remediate security flaws during the actual development cycle, reducing the time penalty of security scanning. The model learns from past security issues and automatically applies fixes, eliminating the need for lengthy manual security reviews.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The remediation system automatically identifies security flaws and generates fix suggestions without requiring manual security expert intervention for each issue. The machine learning model self-services by continuously learning from the codebase and security scan results, autonomously providing remediation suggestions that developers can review and apply, thereby maintaining rapid deployment speeds while improving security quality.

Inventive Principle:
Principle #25Self-service

2Measurement precision

If comprehensive security scanning is performed across all code submissions, then flaw detection capability is improved, but the development pipeline efficiency deteriorates

Engineering Contradiction:
Improveflaw detection capabilityVSAvoiddevelopment pipeline efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system replaces traditional mechanical security scanning approaches with a machine learning-based model. Instead of running comprehensive security scanners on every code submission, the trained model quickly analyzes code for potential flaws and generates fix suggestions. This substitution maintains high flaw detection capability while significantly improving pipeline efficiency, as the ML model operates faster than traditional security scanning tools.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system changes the operational parameters of security analysis by using a pre-trained model that has learned from historical data. Rather than performing exhaustive security scans with fixed parameters, the model adapts its analysis based on the specific code context and learned patterns, achieving comprehensive flaw detection with reduced processing time and improved pipeline throughput.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If organization-specific training data is used, then remediation accuracy for the specific project is improved, but the amount of training data available deteriorates

Engineering Contradiction:
Improveremediation accuracyVSAvoidtraining data volume
Core Design Contradiction:
Manufacturing precisionVSQuantity of substance

Solution Approach 1:

The system merges organization-specific training data with multi-organization training data to create a comprehensive training dataset. By combining these data sources, the model benefits from both the specific context and nuances of the individual organization's codebase and security requirements, and the broader patterns and diverse scenarios from multiple organizations. This merging achieves high remediation accuracy while overcoming the limitation of limited organization-specific data volume.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The training data serves multiple functions: organization-specific data provides project-specific context and patterns, while multi-organization data provides broader security vulnerability patterns and fix methodologies. This multi-functional training approach enables the model to achieve high accuracy on organization-specific code while being trained on a much larger volume of diverse data from multiple sources.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250258754A1Development pipeline integrated ongoing learning for assisted code remediation
Publication Date: 2025.08.14 VERACODE INC
  • US20250258754A1 patent drawing
  • US20250258754A1 patent drawing
  • US20250258754A1 patent drawing

AI summary

With invocations of a software development pipeline, organization specific remediations/fixes for a software project can be learned from scanning results of code submissions (e.g., commits or merges) across an organization for a software project(s). Fixes of detected program code flaws can be detected and/or specified across scans and associated with flaw identifiers and used for training machine learning models to identify candidate fixes for detected flaws. This ongoing learning during development propagates fixes created or chosen by experts (e.g., software engineers working on the software project) relevant to the software project. The experts can choose from suggestions mined from the learned fixes of the organization and suggestions generated from a pipeline created with the trained machine learning models. The selections are then used for further training of the machine learning models that form the pipeline.