Pipeline Source-Target Mapping for CI/CD Vulnerability Tracing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud computing environments, it is difficult to map source code to runtime resources and detect vulnerabilities due to the complexity of CI/CD pipelines, leading to challenges in tracing back vulnerabilities and identifying malicious activities between sources and targets.

Innovation Solution

A processor parses pipeline code, replaces variables with corresponding values, and builds a dependency graph to map pipeline run sources and targets, enabling the identification of vulnerabilities and their root causes, and performs remedial actions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If pipeline code is executed in cloud infrastructure to perform CI/CD operations, then deployment and update processes are automated, but it becomes difficult to map source code to runtime resources and detect vulnerabilities

Engineering Contradiction:
Improveautomation of deployment processVSAvoiddifficulty of mapping source code to runtime resources
Core Design Contradiction:
Extent of automationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces an intermediary system that instruments pipeline code execution to capture and map relationships between source code and runtime resources. This intermediary layer records interactions without disrupting the automated CI/CD process, enabling vulnerability detection while maintaining automation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system creates a copy or representation of the pipeline execution environment and resource interactions. By capturing and storing the mapping data between sources and targets during execution, the system enables later analysis and vulnerability detection without affecting the original automated process.

Inventive Principle:
Principle #26Copying

2Productivity

If pipeline code defines orchestration of CI/CD operations and infrastructure configuration, then deployment efficiency is improved, but tracing back vulnerabilities and identifying malicious activities becomes challenging

Engineering Contradiction:
Improvedeployment efficiencyVSAvoiddifficulty of tracing back vulnerabilities
Core Design Contradiction:
ProductivityVSDifficulty of detecting and measuring

Solution Approach 1:

The system implements feedback mechanisms that continuously monitor and record pipeline execution, source-code interactions, and resource usage. This feedback loop captures mapping information that enables later tracing and vulnerability analysis while maintaining efficient automated deployment operations.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary instrumentation of pipeline code before execution, establishing tracking and mapping capabilities in advance. This preliminary action enables subsequent vulnerability tracing without impacting the efficiency of the actual deployment operations.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If variables in pipeline code are replaced with values corresponding to sources and targets, then mapping accuracy is improved, but the complexity of parsing and analyzing pipeline code increases

Engineering Contradiction:
Improvemapping accuracyVSAvoidcomplexity of parsing pipeline code
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system segments the pipeline code parsing and variable replacement process into distinct, manageable stages. By breaking down the complex analysis into smaller steps (parsing, variable identification, replacement, validation), the system achieves accurate mapping while keeping each processing stage relatively simple and maintainable.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20260050427A1Mapping pipeline run sources and targets in cloud infrastructures
Publication Date: 2026.02.19 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20260050427A1 patent drawing
  • US20260050427A1 patent drawing
  • US20260050427A1 patent drawing

AI summary

According to examples, an apparatus includes a processor that may obtain and parse a pipeline code to determine how variables of the pipeline code relate to each other, and replace the variables in the parsed pipeline code with values to which the variables respectively represent, in which the values correspond to pipeline run sources and pipeline run targets of API calls. The processor may also identify how the pipeline run targets interact with the pipeline run sources of the API calls and build a dependency graph that maps the pipeline run sources with the pipeline run targets. Runtime resources may thus be mapped to source code in a pipeline run to provide visibility into actions carried out by the pipeline. This visibility may be used to determine whether there are security vulnerabilities in the pipeline run sources and/or targets such that the vulnerabilities may be addressed/overcome.