This is the multi-page printable view of this section.
Click here to print.
Return to the regular view of this page.

CI/CD Cybersecurity Guide
Securing the Continuous Integration and Continuous Delivery (CI/CD) pipeline is essential to building resilient software. As development practices evolve to include AI-generated code, autonomous agents, and AI-powered applications, DevOps teams must address new security challenges alongside traditional software supply chain risks.
The CI/CD Cybersecurity Guide provides practical guidance for integrating open-source security tools into every stage of the software delivery lifecycle. Designed for developers, DevOps engineers, platform engineers, and security professionals, the guide connects recognized cybersecurity frameworks with actionable security practices and open-source automation.
From securing source code and build environments to validating AI-generated changes and monitoring deployed applications, this guide helps teams embed security throughout the CI/CD pipeline without compromising delivery speed or agility.
NOTE: This guide focuses exclusively on open-source security tools and does not include or endorse commercial products, ensuring vendor-neutral guidance that promotes transparency, accessibility, and community-driven innovation.
Why This Guide?
Modern software delivery requires security practices that extend beyond traditional code scanning and pre-deployment testing. Software supply chain vulnerabilities, evolving regulatory requirements, AI-assisted development, and emerging threats to deployed applications demand a more comprehensive approach to DevSecOps.
This guide helps teams understand what security activities are needed, where they belong in the CI/CD pipeline, and which open-source tools can help implement them.
The guide maps security practices to established cybersecurity frameworks, providing practical implementation guidance rather than prescribing specific vendors or products.
It also addresses the growing role of artificial intelligence in software delivery, including securing AI-generated code, protecting autonomous development agents, validating AI applications, and monitoring AI systems after deployment.
Security Frameworks and Guidance
The CI/CD Cybersecurity Guide organizes security practices around three major areas.
Secure Software Development Framework (SSDF)
The NIST Secure Software Development Framework (SSDF) provides foundational security practices for developing, building, deploying, and maintaining secure software.
SSDF establishes a common approach to integrating security into the Software Development Lifecycle (SDLC). It emphasizes secure development environments, software integrity, vulnerability identification, and remediation.
This guide maps SSDF practices to CI/CD activities and identifies open-source tools that can automate or support their implementation.
EU Cyber Resilience Act (CRA)
The European Union Cyber Resilience Act (CRA) establishes cybersecurity requirements for products with digital elements throughout their lifecycle.
The CRA introduces requirements for secure-by-design development, cybersecurity risk assessment, software component transparency, vulnerability handling, security updates, and coordinated vulnerability disclosure.
This guide maps relevant CRA requirements to CI/CD activities, helping DevOps teams understand how open-source tooling can support cybersecurity compliance and ongoing vulnerability management.
AI Security in the CI/CD Pipeline
Artificial intelligence is transforming software development and delivery. AI coding assistants generate application code, autonomous agents modify dependencies and configurations, and AI models are increasingly integrated into production applications.
These capabilities introduce security risks that traditional CI/CD practices may not fully address, including vulnerable AI-generated code, prompt injection, excessive agent permissions, compromised models, and unauthorized automated changes.
The AI Security chapter extends existing DevSecOps practices to address three areas:
- Securing AI-Assisted Development: Validating AI-generated code, managing autonomous agent permissions, protecting sensitive information, and assessing AI-related software supply chain risks.
- Securing AI Applications and Deployment: Testing AI applications, verifying model integrity, securing AI artifacts, and implementing release validation and authorization controls.
- Securing AI in Production: Monitoring deployed AI applications, detecting abnormal behavior, auditing agent activity, and supporting controlled AI-assisted vulnerability remediation.
The chapter draws on the NIST AI Risk Management Framework, NIST SP 800-218A, and OWASP Top 10 for LLM Applications.
It focuses on practical security controls that can be integrated into existing CI/CD workflows using open-source tooling.
Security Across Three CI/CD Phases
Each chapter organizes security activities around three primary phases of the DevOps lifecycle. This consistent structure helps teams identify and implement security controls at the appropriate stage of software delivery.
Phase 1: Code and Prebuild
Security begins before software is built.
This phase covers secure development practices, source code analysis, dependency risk assessment, secrets management, and software supply chain security.
For AI-assisted development, it also addresses validating AI-generated code, securing development agents, managing agent permissions, and assessing risks associated with AI models, datasets, and third-party dependencies.
Goal: Identify and reduce security risks early in development before they enter the build pipeline.
Phase 2: Build and Deploy
Security controls must protect the processes used to build, package, validate, and deploy software.
This phase includes automated security testing, Software Bills of Materials (SBOMs), artifact integrity, provenance, secure build environments, and deployment validation.
For AI-enabled development and applications, it also covers model verification, AI security testing, validation of AI-generated changes, and authorization controls for automated deployments.
Goal: Ensure software and AI artifacts are tested, verified, and authorized before deployment.
Phase 3: Post Deploy
Security does not stop when software reaches production.
New vulnerabilities are continuously discovered, deployed applications evolve, and emerging threats can affect software long after its initial release.
This phase addresses continuous vulnerability monitoring, deployed software inventory, affected-system identification, Dynamic Application Security Testing (DAST), remediation, and security updates.
For AI applications, it extends monitoring to model behavior, agent activity, unauthorized tool execution, data exposure, and AI-specific runtime threats.
It also explores how AI can support vulnerability analysis and remediation while maintaining validation, human oversight, and auditable security controls.
Goal: Maintain visibility into deployed software and AI systems, detect emerging threats, and support timely, controlled remediation.
Open-source security tools play a critical role in making secure software delivery accessible, automated, and repeatable.
Throughout the guide, security activities are connected to open-source projects that can help teams implement controls within existing CI/CD environments.
The guide emphasizes:
- Automation: Incorporating security checks directly into development, build, deployment, and runtime workflows.
- Transparency: Using open-source tooling to improve visibility into security controls, dependencies, and results.
- Continuous Security: Extending security beyond initial deployment to address newly discovered vulnerabilities and evolving threats.
- Evidence and Traceability: Producing security artifacts, test results, and deployment records that support audits and compliance assessments.
- Tool Independence: Encouraging security practices and interoperable solutions rather than requiring specific tools or vendors.
The objective is to help teams select appropriate open-source tools and implement security practices that align with their technology stacks, operational requirements, and risk profiles.
Compliance Goals
Cybersecurity policies, regulations, and industry frameworks increasingly require organizations to demonstrate that security is integrated throughout the software lifecycle.
Frameworks such as NIST SSDF and regulations such as the EU Cyber Resilience Act establish expectations for secure development, vulnerability management, software integrity, and ongoing maintenance.
Artificial intelligence adds new considerations, including the security of AI-generated code, model provenance, agent permissions, automated decision-making, and runtime monitoring.
CI/CD pipelines provide an opportunity to translate these requirements into automated, repeatable security practices.
By embedding security controls into existing workflows, DevOps teams can reduce manual security effort, improve consistency, generate compliance evidence, and respond more effectively to emerging vulnerabilities.
The goal of this guide is to help DevOps teams turn security requirements into practical, automated activities across the entire software delivery lifecycle.
Additional Resources
The following resources provide further guidance on cybersecurity frameworks, secure software development, and open-source security practices.
Disclaimer
This CI/CD Cybersecurity Guide is meant to serve as a reference point. Users are strongly encouraged to review these recommendations to fit their specific project security requirements and organizational standards.
By using this guide, you agree to do so at your own risk and discretion. The Continuous Delivery Foundation and the Linux Foundation shall not be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this guide, even if advised of the possibility of such damage.
This project is hosted by the Continuous Delivery Foundation.

1 -
NIST Secure Software Development Framework (SSDF) — Overview
The Secure Software Development Framework, defined in NIST SP 800-218, provides a structured set of security practices designed to reduce software vulnerabilities throughout the software development lifecycle (SDLC). Rather than treating security as a final checkpoint before release, SSDF encourages organizations to integrate security into development, build, deployment, and ongoing maintenance activities. The framework establishes four core practice groups: Prepare the Organization (PO), Protect the Software (PS), Produce Well-Secured Software (PW), and Respond to Vulnerabilities (RV). Together, these practices help organizations prevent vulnerabilities, protect software integrity, identify security risks, and respond to vulnerabilities that emerge after release.
Phase 1: Code and Prebuild
Primary objective: Prevent security weaknesses from entering the software supply chain.
This phase focuses on establishing secure development practices before software enters the build process. It includes defining security requirements, protecting source code repositories, reviewing code, managing dependencies, and identifying vulnerabilities early through activities such as static application security testing (SAST), software composition analysis (SCA), and secrets detection.
Phase 2: Build and Deploy
Primary objective: Ensure software is built, packaged, and deployed through trusted, secure, and verifiable processes.
This phase focuses on protecting the software build process and ensuring that only validated, trusted artifacts are deployed. Security practices include securing CI/CD infrastructure, controlling access to build systems, scanning dependencies and container images, generating Software Bills of Materials (SBOMs), signing artifacts, and verifying software provenance and integrity.
Phase 3: Post Deployment
Primary objective: Continuously detect, assess, and remediate vulnerabilities in deployed software throughout its operational lifecycle.
This phase extends security beyond the CI/CD pipeline to address vulnerabilities discovered after software has been released. It includes continuous vulnerability monitoring, identifying affected deployed software, assessing exposure, performing dynamic application security testing (DAST), coordinating remediation, and maintaining vulnerability response processes as new threats emerge.
1.1 - Code and Prebuild Tasks
Secure Software Development Framework Tasks related to Code and Prebuild: Phase 1
Achieving Code and Prebuild Tasks of the Secure Software Development Framework
This chapter focuses specifically on DevSecOps tooling and practices related to Code and Prebuild actions of the CI/CD pipeline to achieve tasks defined by the Secure Software Development Framework.
The Secure Software Development Framework, developed by the National Institute of Standards and Technology (NIST), provides a comprehensive approach to ensuring security across the software development process, from initial design through deployment and maintenance. The framework outlines key practices and guidelines that organizations can implement to secure their software development lifecycle (SDLC), with a particular emphasis on integrating security into automated processes.
|
|
| Prepare the Organization (PO) |
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects. |
| Protect the Software (PS) |
Organizations should protect all components of their software from tampering and unauthorized access. |
| Produce Well-Secured Software (PW) |
Organizations should produce well-secured software with minimal security vulnerabilities in its releases. |
| Respond to Vulnerabilities (RV) |
Organizations should identify residual vulnerabilities in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future. |
1.1.1 - Prepare the Organization (PO)
Prepare the Organization (PO) Phase 1 Tasks
Prepare the Organization (PO) for Code and Prebuild Tasks
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects.
PO.2 Implement Roles and Responsibilities
Ensure that everyone inside and outside of the organization involved in the SDLC is prepared to perform their SDLC-related roles and responsibilities throughout the SDLC.
| Tasks |
Tools |
|
PO.2.1:
Create new roles and alter responsibilities for existing roles as needed to encompass all parts of the SDLC. Periodically review and maintain the defined roles and responsibilities, updating them as needed.
Designate a group of individuals as the code owners for each project, and review the list annually.
|
GitHub CODEOWNERS
GitHub CODEOWNERS is a repository feature that lets teams formally define who owns which parts of the codebase and who must review changes before they’re merged.
|
|
GitLab CODEOWNERS
GitLab CODEOWNERS is a repository feature that lets teams formally define who owns which parts of the codebase and who must review changes before they’re merged.
|
Use automation to reduce human effort and improve the accuracy, reproducibility, usability, and comprehensiveness of security practices throughout the SDLC, as well as provide a way to document and demonstrate the use of these practices. Toolchains and tools may be used at different levels of the organization, such as organization-wide or project-specific, and may address a particular part of the SDLC, like a build pipeline.
| Tasks |
Tools |
PO.3.1:
Specify which tools or tool types must or should be included in each toolchain to mitigate identified risks, as well as how the toolchain components are to be integrated with each other.
Use software factories and/or software templates to standardize the toolchain.
PO.3.2:
Follow recommended security practices to deploy, operate, and maintain tools and toolchains.
Use code-based configuration for toolchains (e.g., pipelines-as-code, toolchains-as-code).
PO.3.3:
Configure tools to generate artifacts of their support of secure software development practices as defined by the organization.
Use existing tooling (e.g., workflow tracking, issue tracking, value stream mapping) to create an audit trail of the secure development-related actions that are performed for continuous improvement purposes. Record security check approvals, rejections, and exception requests as part of the workflow and tracking system.
|
Backstage Software Templates
Backstage Software Templates are a scaffolding and standardization mechanism that help teams create new services, pipelines, and infrastructure in a consistent, compliant way. Backstage Software Templates let platform teams define golden paths for creating software components. A template captures best practices, required tooling, and organizational standards, then generates repositories, configs, and documentation automatically.
|
|
Konflux-ci software factory for Tekton
The Konflux software factory for Tekton is a secure, standardized CI build system that sits on top of Tekton to turn raw pipelines into a trusted software supply-chain factory. Konflux is Tekton with guardrails. Tekton provides the pipeline engine (tasks, pipelines, Kubernetes execution). Konflux adds the factory layer that enforces how those pipelines are allowed to run so the outputs can be trusted. Implements the in-toto framework.
|
|
CDF CDEvents
CDEvents is a common specification for Continuous Delivery events, enabling interoperability in the complete software production ecosystem.
|
|
Jenkins Jenkinsfile
A Jenkins Jenkinsfile is a declarative or scripted definition of a CI/CD pipeline, written as code and stored directly in a source repository. A Jenkinsfile describes how software is built, tested, scanned, packaged, and deployed. Because it lives alongside the application code, it enables pipeline-as-code—versioned, reviewable, and auditable automation.
|
|
GitHub Actions (.github/workflows)
The GitHub Actions .github/workflows directory is the central location where CI/CD automation is defined as code for a GitHub repository. The directory contains YAML files that define workflows. Each workflow describes when automation should run and what jobs and steps are executed in response to repository events.
|
|
GitLab CI/CD (.gitlab-ci.yml)
The GitLab CI/CD .gitlab-ci.yml file is the single, authoritative pipeline definition that tells GitLab how to build, test, secure, and deploy an application. .gitlab-ci.yml is a YAML-based, pipeline-as-code configuration file stored at the root of a repository. It defines what jobs run, in what order, and under which conditions whenever code changes occur.
|
|
Spinnaker Dinghy
Spinnaker Dinghy is a configuration-as-code service that lets teams define and manage Spinnaker deployment pipelines using Git, instead of clicking through the UI. Dinghy allows Spinnaker pipelines to be written as JSON or YAML files and stored in a source repository. When changes are committed, Dinghy automatically syncs those pipeline definitions into Spinnaker, keeping deployments consistent and versioned.
|
|
Argo CD
Argo CD is a GitOps-based continuous delivery tool for Kubernetes that automatically deploys and keeps applications in sync with what’s declared in Git. Argo CD treats Git as the single source of truth for Kubernetes applications. Instead of pushing deployments from a CI pipeline, Argo CD pulls desired state from Git and continuously reconciles running clusters to match it.
|
|
Tekton Pipelines-as-Code
Tekton Pipelines-as-Code is a Git-driven way to define and run Tekton CI/CD pipelines directly from pull requests—treating pipelines as first-class code artifacts.
|
|
OpenTofu
OpenTofu is an open-source Infrastructure as Code (IaC) tool used to define, provision, and manage cloud and on-prem infrastructure using declarative configuration files.
|
|
Konflux-ci
Konflux is an open-source, cloud-native CI platform designed to produce trusted, reproducible, and verifiable software artifacts for modern software supply chains. It prioritizes build integrity, provenance, and repeatability, making it well-suited for regulated, enterprise, and critical-infrastructure environments.
Python:
pylock.toml
(preferred, newest standard)
JavaScript:
Java / Kotlin / Groovy:
Maven,
Gradle
C# / .NET:
NuGet lock files
,
DotNet.ReproducibleBuilds
C++: Bazel
Rust: Cargo
Golang: Go reproducible builds
|
|
PHP Composer Composer is the standard dependency manager for PHP, used to declare, install, and manage third-party libraries required by a PHP application. Composer lets developers define which PHP packages their project depends on and automatically resolves, downloads, and installs the correct versions. It ensures that every environment—developer laptops, CI systems, and production—uses the same dependency set.
|
|
SLSA Framework The SLSA Framework (Supply-chain Levels for Software Artifacts) is a security framework that defines how to build software in a way that is verifiable, tamper-resistant, and trustworthy.
|
|
GitHub Issues GitHub Issues is a built-in tracking system used to manage work, bugs, feature requests, and discussions directly within a GitHub repository.
|
|
GitLab work tracking GitLab Work Tracking is GitLab’s integrated system for planning, tracking, and managing work—from ideas and requirements to code, security fixes, and delivery.
|
|
Bugzilla Bugzilla is an open-source bug tracking and issue management system used to report, track, and manage software defects and enhancement requests throughout the development lifecycle.
|
|
Redmine Redmine is an open-source project management and issue-tracking tool used by software teams to plan work, track bugs and tasks, and manage projects over time.
|
|
Mantis Bug Tracker Mantis Bug Tracker (often called MantisBT) is an open-source, web-based bug and issue tracking system designed to be simple, fast, and lightweight.
|
|
Trac Trac is an open-source, web-based project management and issue-tracking system that tightly integrates tickets, a wiki, and source-code browsing. It’s known for being lightweight, text-centric, and developer-friendly.
|
|
in-toto framework in-toto is an open-source framework for securing the software supply chain by cryptographically recording and verifying every step of how software is built, tested, and released.
|
PO.4 Define and Use Criteria for Software Security Checks
Help ensure that the software resulting from the SDLC meets the organization’s expectations by defining and using criteria for checking the software’s security during development.
| Tasks |
Tools |
PO.4.1:
Define criteria for software security checks and track throughout the SDLC.
Add software security criteria to existing checks (e.g., the Definition of Done in agile SDLC methodologies).
PO.4.2:
Implement processes, mechanisms, etc. to gather and safeguard the necessary information in support of the criteria.
Collect audit logs for code repositories.
PO.4.3:
Implement processes, mechanisms, etc. to gather and safeguard the necessary information in support of the criteria.
Only allow authorized personnel to access the gathered information, and prevent any alteration or deletion of the information. Carefully manage the list of repository owners and organization owners who have the ability to view audit logs, delete organizations, and delete code repositories, and review the list annually.
|
GitHub Issue Templates GitHub Issue Templates are predefined forms and guidelines that appear when someone opens a new issue in a repository. They help teams collect consistent, high-quality information for bugs, feature requests, security issues, or questions.
|
|
GitLab Description Templates GitLab Description Templates are predefined Markdown templates that automatically populate the description field when someone creates a GitLab Issue, Merge Request (MR), or Epics.
|
|
GitHub
Audit Logs
|
|
GitLab
Audit Logs
|
|
GitHub
|
|
GitLab
|
PO.5 Implement and Maintain Secure Environments for Software Development
Ensure that all components of the environments for software development are strongly protected from internal and external threats to prevent compromises of the environments or the software being developed or maintained within them. Examples of environments for software development include development, build, test, and distribution environments.
| Tasks |
Tools |
|
PO.5.1:
Separate and protect each environment involved in software development.
Require multifactor authentication, SSH keys, signed commits, and code change approvals for code repositories at the organization level.
|
GitHub Organization Settings
|
|
GitLab
|
Note: Securely configure code repository and CI/CD servers - this is a complex topic, beyond the scope of this document. Securely configure development endpoints (i.e., developer laptops) - this is a complex topic, beyond the scope of this document.
1.1.2 - Protect the Software (PS)
Protect the Software (PS) Phase 1 Tasks
Protect the Software (PS) Tasks for Code and Prebuild
Organizations should protect all components of their software from tampering and unauthorized access.
Help prevent unauthorized changes to code, both inadvertent and intentional, which could circumvent or negate the intended security characteristics of the software.
For code that is not intended to be publicly accessible, this helps prevent theft of the software and may make it more difficult or time-consuming for attackers to find vulnerabilities in the software.
| Tasks |
Tools |
|
PS.1.1:
Store all forms of code – including source code, executable code, and configuration-as-code – based on the principle of least privilege so that only authorized personnel, tools, services, etc. have access.
Store all source code and configuration-as-code in a code repository, and restrict access to it based on the nature of the code. For example, open source code intended for public access may need its integrity and availability protected; other code may also need its confidentiality protected.
|
GitHub Provides a centralized source code repository with access control, auditability, and workflow enforcement supporting SSDF practices for secure code management and change control.
|
|
GitLab Delivers integrated source control, CI/CD, and security workflows that enable SSDF-aligned governance, traceability, and secure development processes.
|
|
Bitbucket Supports SSDF by managing source code with role-based access, commit integrity options, and mandatory review workflows.
|
|
SourceForge Hosts and distributes open-source projects with version control and release management supporting SSDF requirements for code provenance and transparency.
|
|
Subversion Provides centralized version control enabling SSDF practices for change tracking, audit trails, and controlled access to source code.
|
|
Git Enables immutable history, traceability, and distributed development workflows foundational to SSDF source integrity and accountability.
|
|
GitBucket Offers Git-based repository hosting with access control and collaboration features supporting SSDF secure development governance.
|
|
Gitea Provides lightweight, self-hosted Git repositories that support SSDF requirements for controlled source management and auditability.
|
|
gittuf Strengthens SSDF compliance by enforcing cryptographic policies and verifiable trust metadata over Git repositories and workflows.
|
|
GitHub Signing Commits Ensures SSDF-aligned source integrity by cryptographically verifying the identity of commit authors.
|
|
Sigstore Enables SSDF-aligned artifact and commit verification through keyless, auditable cryptographic signing and transparency logs.
|
|
Github CODEOWNERS Enforces SSDF role separation and accountability by requiring designated owners to review and approve code changes.
|
|
GitHub Code Review Supports SSDF secure development by enforcing peer review, policy checks, and approval gates before code integration.
|
|
Gitlab CODEOWNERS Implements SSDF responsibility assignment by automatically routing changes to accountable reviewers.
|
|
Gitlab Code Review Guidelines Establishes SSDF-aligned review standards that reduce defects and security risks prior to merging code.
|
PS.2 Provide a Mechanism for Verifying Software Release Integrity
Help software acquirers ensure that the software they acquire is legitimate and has not been tampered with.
| Tasks |
Tools |
|
PS.2.1:
Make software integrity verification information available to software acquirers.
Post cryptographic hashes for release files on a well-secured website.
|
Apache Infrastructure Signing Releases Supports SSDF by ensuring that Apache software releases are cryptographically signed and verifiable, establishing trusted provenance and protecting against tampered distribution artifacts.
|
|
OpenPGP Provides SSDF-aligned cryptographic mechanisms for signing and verifying code and artifacts to ensure authenticity, integrity, and non-repudiation.
|
|
The GNU Privacy Guard Implements OpenPGP standards to enable SSDF practices for signing source code, commits, and releases with verifiable developer identity.
|
|
Let's Encrypt Supports SSDF secure delivery by issuing free, automated TLS certificates that protect software distribution channels and developer services from interception and tampering.
|
|
EJBCA Community Enables SSDF compliance by providing an open-source PKI for managing certificates used to authenticate developers, systems, and software artifacts.
|
|
Dogtag Certificate System Supports SSDF trust and identity requirements by issuing and managing digital certificates for secure software signing and infrastructure authentication.
|
|
OpenXPKI Provides SSDF-aligned certificate lifecycle management to establish, audit, and enforce trust across software development and release pipelines.
|
|
Step-CA Enables SSDF automation of cryptographic identity by issuing short-lived certificates for developers, CI/CD systems, and software signing workflows.
|
PS.3 Archive and Protect Each Software Release
Preserve software releases in order to help identify, analyze, and eliminate vulnerabilities discovered in the software after release.
| Tasks |
Tools |
PS.3.1:
Securely archive the necessary files and supporting data (e.g., integrity verification information, provenance data) to be retained for each software release.
Store the release files, associated images, etc. in repositories following the organization’s established policy. Allow read-only access to them by necessary personnel and no access by anyone else.
PS.3.2:
Collect, safeguard, maintain, and share provenance data for all components of each software release (e.g., in a Software Bill of Materials (SBOM)).
Make the provenance data available to software acquirers in accordance with the organization’s policies, preferably using standards-based formats.
|
Access Permissions on GitHub Enforces SSDF role-based access control by restricting who can view, modify, or administer source code repositories.
|
|
GitLab Roles and Permissions Supports SSDF governance by defining granular roles that enforce least privilege and separation of duties across the SDLC.
|
|
GitHub Repository Roles for an Organization Implements SSDF organizational controls by standardizing permission levels across teams and repositories.
|
|
GitLab Roles and Permissions Implements SSDF organizational controls by standardizing permission levels across teams and repositories.
|
|
Ortelius Extends SSDF controls beyond source code by enforcing access, traceability, and accountability over deployed software, SBOMs, and live environment metadata through a deployment-centric digital twin.
|
|
AI SBOM Generator Supports SSDF by automatically generating and maintaining accurate software bills of materials that improve component visibility and vulnerability traceability across the SDLC.
|
|
CycloneDX Enables SSDF-aligned component transparency by providing a standardized SBOM format optimized for security, integrity, and risk analysis.
|
|
Software Identification (SWID) Tagging Tools and Utilities Support SSDF practices by uniquely identifying installed software components to enable asset inventory, provenance tracking, and vulnerability correlation.
|
|
SPDX Provides an SSDF-compliant standard for documenting software components, licenses, and relationships to support supply-chain transparency and compliance.
|
|
bomctl Supports SSDF SBOM consumption by validating, querying, and managing SBOMs throughout build and release workflows.
|
|
OWASP Dependency-Check Enables SSDF vulnerability detection by identifying known CVEs in third-party dependencies during development and build phases.
|
|
Dependency-Track Supports SSDF risk management by continuously analyzing SBOMs to monitor component vulnerabilities and policy compliance.
|
|
Clair Contributes to SSDF by scanning container images for known vulnerabilities prior to deployment.
|
|
Grype Supports SSDF secure build practices by detecting known vulnerabilities in container images and file systems using SBOM data.
|
|
Ortelius Extends SSDF beyond build time by correlating and aggregating SBOMs, vulnerabilities, and deployment metadata to identify which live environments are actually at risk.
|
|
Protobom Supports SSDF interoperability by providing reusable libraries and tools for generating and transforming SBOMs across formats.
|
|
Syft Enables SSDF component discovery by generating SBOMs from source code, containers, and runtime artifacts.
|
|
Hoppr Supports SSDF SBOM sharing and discovery by enabling secure distribution and retrieval of SBOM artifacts.
|
|
Tern Contributes to SSDF transparency by analyzing container images to produce detailed component inventories and SBOMs.
|
|
Trivy Supports SSDF secure development by scanning for vulnerabilities, misconfigurations, and exposed secrets across code and artifacts.
|
|
aoss-verifier Enables SSDF compliance validation by verifying the integrity and authenticity of open-source artifacts.
|
|
Sigstore Supports SSDF provenance by enabling cryptographically verifiable signing of artifacts and SBOMs with transparency logs.
|
|
TLSNotary Protocol Contributes to SSDF trust by providing cryptographic proof of data integrity for externally retrieved security and dependency metadata.
|
|
GitHub Actions Enables SSDF automation by embedding security checks, SBOM generation, and policy enforcement directly into CI workflows.
|
|
GitLab CI/CDSupports SSDF secure pipelines by integrating build, test, scan, and release controls within a governed CI/CD system.
|
|
Jenkins Jenkins is a fully open-source automation server, released under the MIT License, with an extensible plugin ecosystem governed by the Jenkins community and widely used to implement SSDF-aligned CI/CD security controls.
|
|
Updatecli Supports SSDF remediation by automating dependency, configuration, and policy updates in a controlled and auditable manner.
|
|
Renovate Enables SSDF secure maintenance by automatically updating vulnerable dependencies while preserving review and approval controls.
|
1.1.3 - Produce Well-Secured Software (PW)
Produce Well-Secured Software (PW) Phase 1 Tasks
Produce Well-Secured Software (PW) Tasks for Code and Prebuild
Organizations should produce well-secured software with minimal security vulnerabilities in its releases.
PW.1
Design Software to Meet Security Requirements and Mitigate Security Risks: Identify and evaluate the security requirements for the software; determine what security risks the software is likely to face during operation and how the software’s design and architecture should mitigate those risks; and justify any cases where risk-based analysis indicates that security requirements should be relaxed or waived. Addressing security requirements and risks during software design (secure by design) is key for improving software security and also helps improve development efficiency.
| Tasks |
Tools |
|
PW.1.1:
Use forms of risk modeling – such as threat modeling, attack modeling, or attack surface mapping – to help assess the security risk for the software.
PW.1.2:
Track and maintain the software’s security requirements, risks, and design decisions.
PW.1.3:
Where appropriate, build in support for using standardized security features and services (e.g., enabling software to integrate with existing log management, identity management, access control, and vulnerability management systems) instead of creating proprietary implementations of security features and services.
|
OWASP Threat Dragon
Used before coding to document system components, data flows, and trust boundaries, then enumerate threats and requirements.
|
|
OWASP Amass
Helps define security requirements by identifying known external dependencies, APIs, or services that code will interact with, which informs threat modeling and secure design.
|
|
CAIRIS
Helps security teams and developers capture, manage, and trace security requirements from initial design through development, ensuring prebuild security alignment.
|
|
Threagile
Enables “threat modeling as code” in prebuild, so security requirements can be automated and version-controlled alongside application code.
|
|
Open-Needs
Centralizes and structures security requirements so they are available for threat modeling, design reviews, and early validation.
|
|
rmtoo
Useful at the design and planning phase to maintain a structured list of security requirements and link them to test cases, threat models, or code modules, ensuring security is addressed before coding.
|
|
OpenRMF® OSS
In prebuild, it can define the exact RMF-derived security requirements the codebase must meet, including control baselines, and link them to design elements or development tasks.
|
PW.2
Review the Software Design to Verify Compliance with Security Requirements and Risk Information: Help ensure that the software will meet the security requirements and satisfactorily address the identified risk information.
| Tasks |
Tools |
|
PW.2.1:
Have (1) a qualified person (or people) who were not involved with the design and/or (2) automated processes instantiated in the toolchain review the software design to confirm and enforce that it meets all of the security requirements and satisfactorily addresses the identified risk information.
|
OWASP Dependency-Check
Scans project dependencies (direct and transitive) against the National Vulnerability Database (NVD) and other sources to detect known vulnerabilities (CVEs). Helps confirm if a component meets security requirements before inclusion.
|
|
Dependabot
Automated dependency monitoring and update tool integrated with GitHub. Detects vulnerable dependencies and creates pull requests to update them, ensuring only secure versions are used.
|
|
OpenRMF
Manages Risk Management Framework (RMF) compliance artifacts, including NIST 800-53 controls. Can be used to confirm that selected software components meet mandated security control baselines before approval.
|
|
ESLint
JavaScript/TypeScript linter that enforces secure coding standards and flags insecure coding patterns before they reach production. Helps validate that custom code components align with secure coding requirements.
|
|
LGTM
Automated code analysis platform for identifying vulnerabilities and code quality issues in multiple languages. Confirms code components meet security policies before integration.
|
|
Grype
Open-source vulnerability scanner for container images and file systems. Ensures that containerized components meet vulnerability and compliance requirements before deployment.
|
|
Clair
Static vulnerability analysis for container images. Integrates into CI/CD to detect vulnerabilities in base images and layered components before they’re promoted.
|
|
Trivy
Comprehensive vulnerability scanner for container images, file systems, and Git repositories. Validates that selected components have no known vulnerabilities or misconfigurations.
|
|
Checkov
Static analysis for Infrastructure as Code (IaC) to detect security misconfigurations (Terraform, Kubernetes, CloudFormation). Ensures that IaC components meet defined security baselines before use.
|
|
Terrascan
Policy-as-code scanner for Terraform, Kubernetes, Docker, and other IaC frameworks. Confirms that infrastructure components comply with security and compliance requirements.
|
|
Gerrit
Web-based code review tool. While not a vulnerability scanner, it enforces human review and approval workflows that can include security requirement validation checklists before component approval.
|
PW.4
Reuse Existing, Well-Secured Software When Feasible Instead of Duplicating FunctionalityLower the costs of software development, expedite software development, and decrease the likelihood of introducing additional security vulnerabilities into the software by reusing software modules and services that have already had their security posture checked. This is particularly important for software that implements security functionality, such as cryptographic modules and protocols.
| Tasks |
Tools |
PW.4.1:
Acquire and maintain well-secured software components (e.g., software libraries, modules, middleware, frameworks) from commercial, open-source, and other third-party developers for use by the organization’s software.
PW.4.2:
Create and maintain well-secured software components in-house following SDLC processes to meet common internal software development needs that cannot be better met by third-party software components.
PW.4.4:
Verify that acquired commercial, open-source, and all other third-party software components comply with the requirements, as defined by the organization, throughout their life cycles.
|
|
CycloneDX
Generated during build/prebuild to validate component data against defined acceptance criteria.
|
|
SPDX
Used to verify that all components meet licensing and security requirements before integration.
|
|
ArtifactHub
Ensures only vetted, signed, and policy-compliant packages are sourced for builds.
|
|
JFrog Artifactory OSS
Acts as a controlled source for components meeting defined security standards.
|
|
Sonatype Nexus OSS
Prevents use of components that fail security requirements or policy checks.
|
|
Harbor
Enforces rules that only scanned, signed, and policy-compliant images are stored and used in builds.
|
|
GitLab Signing
nforces signed commit policy in merge requests before code is accepted.
|
|
GitHub CodeQL
Runs in CI to check code against predefined security queries before integration.
|
|
AquaSec Trivy
Enforces security acceptance criteria (e.g., no critical CVEs) before promoting components.
|
|
Dependabot
Creates PRs to meet policy-defined security versions.
|
|
Allstar
Ensures repositories meet defined configuration criteria before allowing merges.
|
|
OWASP SAMM
Provides a framework to define security assurance practices and maturity targets. Helps establish criteria for secure development processes, including prebuild checks.
|
|
OWASP ASVS
Defines detailed security verification requirements for applications. Can be used as a benchmark for automated and manual prebuild security tests.
|
|
OWASP Defectdojo
Vulnerability management and security test orchestration platform. Centralizes results from scanners and ensures issues are tracked against acceptance criteria.
|
|
OWASP Dependency-Check
Scans project dependencies for known vulnerabilities (CVEs) and fails builds if they don’t meet criteria.
|
|
Git
VCS that supports commit signing and hooks to enforce prebuild checks (linting, security scans).
|
|
Gitea
Lightweight, self-hosted Git service with repository policy enforcement (e.g., signed commits, review requirements).
|
|
GitLab (Community Edition)
Git platform with CI/CD integration for running security checks before merging.
|
|
Visual Studio Code
Supports extensions for linting, vulnerability scanning, and code signing enforcement pre-commit.
|
|
Eclipse
Java IDE with plugins for static analysis, dependency scanning, and secure coding rule enforcement.
|
|
IntelliJ IDEA (Community Edition)
Java IDE with plugins for static analysis, secure coding, and SBOM generation.
|
|
JUnit
Java unit testing framework; can integrate with security test suites.
|
|
NUnit
NET testing framework; supports integration with security validation tests.
|
|
Pytest
Python testing framework; can run security rule-based tests as part of CI.
|
|
Selenium
Automated browser testing tool; can validate secure behavior (e.g., auth flows).
|
|
Playwright
End-to-end browser testing with support for security-focused scenarios.
|
|
OWASP ZAP
Dynamic Application Security Testing (DAST) tool for finding security issues in running apps during testing stages.
|
|
TestNG
Testing framework for Java; integrates with security automation.
|
|
Cucumber
BDD testing framework; can define security acceptance tests in plain language.
|
|
Aqua Trivy
Scans containers, file systems, and repos for vulnerabilities and misconfigurations.
|
|
Clair
Static vulnerability scanning for container images before deployment.
|
|
Grype
Vulnerability scanner for containers and filesystems.
|
|
Bandit for Python
Python-specific static analyzer for common security issues.
|
|
Semgrep
Multi-language static analysis using custom or predefined security rules.
|
|
Brakeman
Rails-specific static analyzer for security vulnerabilities.
|
|
Gitleaks
Detects hardcoded secrets in Git repositories pre-commit or in CI.
|
|
TruffleHog
Detects secrets and sensitive information in code history and commits.
|
|
Sigstore
Open-source framework for signing software artifacts (commits, containers) using cryptographic proofs.
|
|
OWASP Dependency-Check
Scans project dependencies (direct and transitive) for known CVEs using NVD and other sources. Can enforce “no critical/high vulnerabilities” criteria before the build passes.
|
|
OSS Review Toolkit (ORT)
Ensures that selected components meet license and security criteria before merging into mainline.
|
|
FOSSA (Community Edition)
Can block merges or builds that violate licensing rules or contain known vulnerabilities.
|
|
ScanCode Toolkit
Ensures licensing criteria are met before components are accepted into the build.
|
|
Tern
Provides component inventory to validate against predefined acceptance criteria.
|
|
Open Policy Agent (OPA)
Enforces security, compliance, and configuration policies during CI/CD gates before release.
|
PW.5
Create Source Code by Adhering to Secure Coding Practices:
Decrease the number of security vulnerabilities in the software, and reduce costs by minimizing vulnerabilities introduced during source code creation that meet or exceed organization-defined vulnerability severity criteria.
| Tasks |
Tools |
|
PW.5.1:
PW.5.1 Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements.
|
Semgrep
egrated into CI to scan changed code and block merges if rules fail; can also run locally for pre-commit checks.
|
|
Bandit for Python
Runs in prebuild to fail pipelines when high-severity issues are found in Python code.
|
|
FindBugs
Scans Java code before packaging to find vulnerabilities and bad coding practices.
|
|
SpotBugs
Integrated into CI to detect Java vulnerabilities pre-release.
|
|
SonarQube
Runs in CI to flag security issues before merges; supports quality gates for enforcement.
|
|
OWASP ZAP
Can run in test environments before production release to catch runtime security issues.
|
|
Arachni
Runs against staging/test instances before deployment to catch exploitable issues.
|
|
OWASP Dependency-Check
Blocks builds that include components with vulnerabilities exceeding severity thresholds.
|
PW.6
Configure the Compilation, Interpreter, and Build Processes to Improve Executable
Security: Decrease the number of security vulnerabilities in the software and reduce costs by eliminating vulnerabilities before testing occurs.
| Tasks |
Tools |
PW.6.1:
Use compiler, interpreter, and build tools that offer features to improve executable security
PW.6.2:
Determine which compiler, interpreter, and build tool features should be used and how each should be configured, then implement and use the approved configurations.
|
|
Sigstore Cosign
Signs and verifies the integrity/authenticity of source code and pre-built dependencies before compiling.
|
|
GnuPG (GPG)
Verifies cryptographic signatures of source tarballs and dependencies before build.
|
|
OSS Review Toolkit (ORT)
Scans and audits dependencies for licensing and security issues before they are included in a build.
|
|
Meson
Integrated into CI to detect Java vulnerabilities pre-release.
|
|
Tern
Analyzes container image layers to identify open-source components and licensing before using as a base for builds.
|
|
ScanCode Toolkit
Detects licenses, copyrights, and packages in source code before build to ensure compliance and security.
|
|
Grype
Scans source code and container base images for known vulnerabilities before they are included in builds.
|
|
Syft
Generates SBOMs from source code and dependencies before build to document and verify components.
|
PW.7
Review and/or Analyze Human-Readable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities. Human-readable code includes source code, scripts, and any other form of code that an organization deems humanreadable.
| Tasks |
Tools |
PW.7.1:
Determine whether code review (a person looks directly at the code to find issues) and/or code analysis (tools are used to find issues in code, either in a fully automated way or in conjunction with a person) should be used, as defined by the organization.
PW.7.2:
Perform the code review and/or code analysis based on the organization’s secure coding standards, and record and triage all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
OWASP Dependency-Check
Scans project dependencies (e.g., Maven, npm, Python) against the NVD for known CVEs before build, enabling early remediation of vulnerable libraries.
|
|
OWASP ZAP
Primarily a dynamic application security testing (DAST) tool, but in a Prebuild sense, it’s not generally used — can be run against local development builds for early runtime flaw detection. Limited PW.7 Prebuild applicability.
|
|
SonarQube
Performs SAST and code quality checks for many languages, detecting vulnerabilities, bugs, and code smells before compilation or integration.
|
|
Retire.js
Scans JavaScript code and package manifests for known vulnerable libraries before packaging.
|
|
Fossa Community Edition
Performs dependency scanning for license and vulnerability issues before build. Commercial SaaS version is proprietary.
|
|
Semgrep
Lightweight, customizable SAST tool. Uses rules to detect security issues and anti-patterns in source code before build.
|
|
Bandit for Python
Scans Python source for common security issues before build (e.g., insecure function usage, hardcoded passwords).
|
|
Checkmarx KICS
Static analysis tool for IaC (Terraform, Kubernetes YAML, etc.) to find misconfigurations before deployment.
|
|
Cppcheck for C++
Static analysis for C/C++ source to catch undefined behavior, memory issues, and common security flaws before compilation.
|
|
FindSecBugs
A plugin for SpotBugs to detect Java-specific security vulnerabilities before build.
|
|
GitHub CodeQL
Performs deep semantic code analysis using a query language to detect vulnerabilities before build. Excellent for automated SAST in CI pipelines.
|
|
PMD
Scans Java, Apex, JavaScript, XML, and other code for bugs, unused code, and potential security issues before compilation.
|
|
SpotBugs
Static analysis for Java bytecode; detects bug patterns and potential vulnerabilities Prebuild (when run on compiled class files in CI before packaging).
|
|
Danger JC
Automates pull request checks — enforces security/contribution guidelines, prevents insecure patterns from merging into code before build.
|
PW.8
Test Executable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released in order to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities and improves traceability and repeatability. Executable code includes binaries, directly executed bytecode and source code, and any other form of code that an organization deems executable.
| Tasks |
Tools |
PW.8.1:
Determine whether executable code testing should be performed to find vulnerabilities not identified by previous reviews, analysis, or testing and, if so, which types of testing should be used.
PW.8.2:
Scope the testing, design the tests, perform the testing, and document the results, including recording and triaging all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
Semgrep
SAST engine that scans source code against security rules before build, catching vulnerabilities early.
|
|
Bandit (Python)
Static analysis for Python code to find common security issues before packaging.
|
|
FindSecBugs
Security plugin for SpotBugs to detect vulnerabilities in Java/Scala/Groovy code Prebuild.
|
|
Cppcheck
Static analysis for C/C++ to detect security flaws before compilation artifacts are built.
|
|
PMD
Rule-based static analysis for Java, Apex, JavaScript, and XML for vulnerabilities and coding issues.
|
|
SpotBugs
General bug and vulnerability detection in Java code before build output.
|
|
GitHub CodeQL
Semantic code analysis to find vulnerabilities before build.
|
|
OWASP Dependency-Check
SCA tool that identifies vulnerable dependencies in manifests before packaging.
|
|
Retire.js
Scans JavaScript and Node.js dependencies for known vulnerabilities before release.
|
|
Grype
SSCA tool for scanning source code dependencies and base images Prebuild for CVEs.
|
|
Syft
Generates SBOMs from source code before build to verify component inventory.
|
|
Checkmarx KICS
Scans Infrastructure-as-Code files for misconfigurations before deployment.
|
|
Gitleaks
Searches code and git history for secrets before build.
|
|
TruffleHog
Searches code and git history for secrets before build.
|
PW.9
Configure Software to Have Secure Settings by Default: Help improve the security of the software at the time of installation to reduce the likelihood of the software being deployed with weak security settings, putting it at greater risk of compromise.
| Tasks |
Tools |
PW.9.1:
Define a secure baseline by determining how to configure each setting that has an effect on security or a security-related setting so that the default settings are secure and do not weaken the security functions provided by the platform, network infrastructure, or services.
PW.9.2:
Implement the default settings (or groups of default settings, if applicable), and document each setting for software administrators.
|
|
KICS (Checkmarx)
Finds misconfigurations and insecure defaults in IaC files before build.
|
|
Open Policy Agent (OPA)
Policy-as-code engine to enforce secure configuration rules in Prebuild pipelines.
|
|
Yamllint
Validates YAML configuration files, ensuring structure correctness before further security rule checks.
|
1.1.4 - Respond to Vulnerabilities
Respond to Vulnerabilities (RV) Phase 1 Tasks
Respond to Vulnerabilities (RV) for Code and Prebuild Tasks
Respond to Vulnerabilities (RV): Organizations should identify residual vulnerabilities in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future.
RV.1
Identify and Confirm Vulnerabilities on an Ongoing Basis: Help ensure that vulnerabilities are identified more quickly so that they can be remediated more quickly in accordance with risk, reducing the window of opportunity for attackers.
To satisfy SSDF RV.1 in a code and prebuild context using open-source tools, the focus shifts to detecting and remediating vulnerabilities before any artifact is built, so fixes happen in code/manifest PRs, not after packaging.
| Tasks |
Tools |
RV.1.1:Gather information from software acquirers, users, and public sources on potential vulnerabilities in the software and third-party components that the software uses, and investigate all credible reports.
RV.1.2: Review, analyze, and/or test the software’s code to identify or confirm the presence of previously undetected vulnerabilities.
RV.1.3:
a policy that addresses vulnerability disclosure and remediation, and implement the roles, responsibilities, and processes needed to support that policy.
|
|
OSV-Scanner
Scans source trees and manifest/lock files against OSV for known vulnerabilities for discovery early in development.
|
|
Ortelius Evidence Store
Continuously synchronizes Software Bill of Material versions of built artifacts to OSV.dev reporting on vulnerabilities discovered post-build.
|
|
Semgrep
Rule-based SAST in PRs/CI for previously undetected vulnerabilities. Static analysis tool used for searching code, finding bugs, and enforcing code standards at various stages of the development cycle (editor, commit, and continuous integration - CI).
|
|
OWASP Dependency Check
SCA for many ecosystems; runs in CI, outputs SARIF/HTML. CVE-based dependency matching for code-time feedback.
|
|
Trivy
Can source/lockfiles and IaC before build. All-in-one SCA + IaC misconfig checks Prebuild.
|
|
Syft
Generate SBOMs (CycloneDX/SPDX) directly from source. Composition/provenance data to power RV.1 discovery.
|
|
Grype
Scan source directories or Software Bill of Materials (from Syft) for vulnerabilities. Accurate matching via SBOM + flexible CI integration.
|
|
SonarQube Community
Developers can continuously inspect code quality to detect bugs, code smells, and security vulnerabilities without executing the code.
|
|
CodeQL
Developed by GitHub, developers and security researchers can analyze codebases for security vulnerabilities, bugs, and other code quality issues.
|
|
Bandit (Python)
A static analysis tool designed to identify common security vulnerabilities in Python code.
|
|
Brakeman (Rails)
Vulnerability scanner specifically designed for Ruby on Rails applications.
|
|
FindSecBugs (Java)
Static code analysis tool designed for Java applications, used to identify potential security vulnerabilities within the code.
|
|
Gitleaks
Prevent hardcoded secrets in code and configs.
|
|
Conftest
Conftest is a utility to help you write tests against structured configuration data.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
RV.2
Assess, Prioritize, and Remediate Vulnerabilities: Help ensure that
vulnerabilities are remediated in accordance with risk to reduce the window of opportunity for attackers.
To satisfy SSDF RV.2 in a code and prebuild context using open-source tools, the focus shifts to:
-
Recording each vulnerability
-
Analyze risk (exploitability & impact)
-
Choose responses, publish advisories, and deliver remediations via trusted mechanisms; include temporary mitigations where needed.
| Tasks |
Tools |
RV.2.1:
Analyze each vulnerability to gather sufficient information about risk to plan its remediation or other risk response.
RV.2.2:
Plan and implement risk responses for vulnerabilities.
|
|
GUAC
Aggregates SBOMs, attestations, and vulns to understand blast radius and prioritize fixes.
|
|
Renovate
Automates dependency upgrades/patch PRs with risk-aware policies.
|
|
OWASP DefectDojo
Ingest scanner results (Semgrep/Grype/Trivy/etc.) for de-dupe, severity, ownership, and workflow. Central vulnerability triage and risk tracking tied to repos.
|
|
Ortelius Evidence Store
Exposes the blast radius of each vulnerability across live environments.
|
|
Vulns
Agentless vulnerability scanner that analyzes installed packages and maps to CVE data with CVSS scoring. Provides severity, exploitability, and remediation recommendations; can integrate with patch workflows.
|
|
Dependency-Track
Continuous SBOM-based component analysis platform. Enriches vulnerabilities with metadata (severity, exploitability, policy impact).
|
|
VEX
VEX bridges the gap between identifying potential vulnerabilities (SBOM) and determining their actual risk in a specific environment. Allows organizations to prioritize remediation efforts by focusing on vulnerabilities that are truly exploitable and require immediate attention.
|
RV.3
Analyze Vulnerabilities to Identify Their Root Causes: Help reduce the frequency of vulnerabilities in the future.
To satisfy SSDF RV.3 in a code and prebuild context using open-source tools, the focus shifts to:
-
Identify vulnerabilities in source code and dependency manifests before building, using SBOM generation, SCA, and SAST
-
Confirming findings by removing false positives and documenting minimal evidence for remediation
-
Enforcing early guardrails such as version pinning, deny-lists, and secret scanning to block known risks
-
Normalize, de-duplicate, and prioritize findings based on severity, exploitability, and usage context
-
Apply policy-driven gates in PRs to block high-risk vulnerabilities and automate safe dependency updates
-
Assign ownership, require disposition for each finding, and govern exceptions with time-bound waivers or VEX records
| Tasks |
Tools |
RV.3.1:
Analyze identified vulnerabilities to determine their root causes.
RV.3.2:
Analyze the root causes over time to identify patterns, such as a particular secure coding practice not being followed consistently.
RV.3.3:
Review the software for similar vulnerabilities to eradicate a class of vulnerabilities, and proactively fix them rather than waiting for external reports.
RV.3.4:
Review the SDLC process, and update it if appropriate to prevent (or reduce the likelihood of) the root cause recurring in updates to the software or in new software that is created.
|
|
SpotBugs + FindSecBugs
Maintains a “guardrail” ruleset for historical issues. Provides pattern-class eradication across modules.
|
|
Semgrep
Encode RCAs as rules (e.g., ban insecure APIs, enforce sanitizers) and run in PRs. Catches the class of bug that caused the incident.
|
|
OpenSSF Scorecard
Monitor repo hygiene signals (Branch protection, dependency-pinning, fuzzing, etc.) and bake improvements into SDLC. Preventative controls aligned to root-cause themes.
|
|
Codeql
Query codebases to trace vulnerability origins (e.g., find all injection points).
|
|
SonarQube Community
Identifies code quality/security rule violations that may indicate systemic coding issues.
|
|
DefectDojo
Aggregates scanner results so patterns in vulnerability types are easier to spot.
|
|
Dependency-Track
Tracks vulnerable components and shows recurring dependency-related issues.
|
|
Grype
A vulnerability scanner for container images and file systems.
|
|
Syft
Correlates SBOMs across releases to identify repeated dependency issues.
|
|
Bandit (Python)
Language-specific security scanner to identify same flaw across multiple files.
|
|
Brakeman (Rails)
Finds repeated insecure coding practices in Rails apps.
|
|
pre-commit
Enforces code quality/security hooks before commits.
|
|
Husky
Git hook automation for JavaScript/TypeScript projects to enforce checks.
|
|
Checkov
Prevents misconfigurations from being deployed by embedding into existing developer workflows.
|
|
tfsec
Adds IaC guardrails to prevent insecure configurations at commit time.
|
|
kics
Finds security vulnerabilities, compliance issues, and infrastructure misconfigurations.
|
1.2 - Build and Deploy Tasks
Secure Software Development Framework and Build/Deploy CI/CD Steps: Phase 2
Achieving Build and Deploy Tasks of the Secure Software Development Framework
This chapter focuses specifically on DevSecOps tooling and practices related to Build and Deploy actions of the CI/CD pipeline to achieve tasks defined by the Secure Software Development Framework.
The Secure Software Development Framework, developed by the National Institute of Standards and Technology (NIST), provides a comprehensive approach to ensuring security across the software development process, from initial design through deployment and maintenance. The framework outlines key practices and guidelines that organizations can implement to secure their software development lifecycle (SDLC), with a particular emphasis on integrating security into automated processes.
|
|
| Prepare the Organization (PO) |
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects. |
| Protect the Software (PS) |
Organizations should protect all components of their software from tampering and unauthorized access. |
| Produce Well-Secured Software (PW) |
Organizations should produce well-secured software with minimal security vulnerabilities in its releases. |
| Respond to Vulnerabilities (RV) |
Organizations should identify residual vulnerabilities in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future. |
1.2.1 - Prepare the Organization (PO)
Prepare the Organization (PO) Phase 2 Tasks
Prepare the Organization (PO) Build and Deploy Tasks
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects.
PO.1
Define Security Requirements for Software Development: Ensure that security requirements for software development are known at all times so that they can be taken into account throughout the SDLC and duplication of effort can be minimized because the requirements information can be collected once and shared. This includes requirements from internal sources (e.g., the organization’s policies, business objectives, and risk management strategy) and external sources (e.g., applicable laws and regulations).
To satisfy SSDF PO.1 in a Build and Deploy context using open-source tools, the focus shifts from just defining to:
-
Enforcing security policies on dependencies, code, and configurations.
-
Verifying compliance with established security baselines before deployment.
-
Ensuring artifacts meet DoD, NIST, or organizational security requirements.
| Tasks |
Tools |
PO.1.1:
Identify and document all security requirements for the organization’s software development infrastructures and processes, and maintain the requirements over time.
PO.1.2:
Identify and document all security requirements for organization-developed software to meet, and maintain the requirements over time.
|
|
Open Policy Agent
General-purpose policy engine using Rego to enforce policies across services, CI/CD, and infrastructure.
|
|
Conftest
Uses OPA’s Rego language to test Kubernetes manifests, Terraform, and Dockerfiles against predefined security requirements.
|
|
InSpec
Tests infrastructure and deployed applications against compliance frameworks (e.g., CIS Benchmarks, NIST 800-53).
|
|
Kyverno
Kubernetes-native policy engine to enforce secure configurations at deploy time.
|
|
Checkov
Scans Infrastructure-as-Code (IaC) during build to ensure compliance with security requirements before deploy
|
|
Trivy
Scans container images, IaC, and SBOMs for vulnerabilities and misconfigurations before deployment.
|
|
Clair
Static analysis for container images to ensure they meet security requirements before push to registry.
|
|
Grype
Vulnerability scanning for container images and filesystems to validate artifacts against policy before deploy.
|
|
Sigstore Cosign
Sign and verify container images and other build artifacts to ensure integrity and provenance.
|
|
Conforma
Securely verify supply chain artifacts and enforce policies about how they were built and tested. Built with Sigstore and Open Policy Agent, it can verify SLSA provenance compliance with extensible policies.
|
PO.2
Implement Roles and Responsibilities: Ensure that everyone inside and outside of the organization involved in the SDLC is prepared to perform their SDLC-related roles and responsibilities throughout the SDLC.
To satisfy SSDF PO.2 in a Build and Deploy context using open-source tools, the focus shifts to:
-
Enforcing role-based access control (RBAC) to limit who can trigger builds, approve changes, and deploy.
-
Providing audit logs and traceability of actions for accountability.
-
Ensuring code changes and deployments are reviewed by authorized personnel.
| Tasks |
Tools |
PO.2.1:
Create new roles and alter responsibilities for existing roles as needed to encompass all parts of the SDLC. Periodically review and maintain the defined roles and responsibilities, updating them as needed.
PO.2.2:
Provide role-based training for all personnel with responsibilities that contribute to secure development. Periodically review personnel proficiency and role-based training, and update the training as needed
PO.2.3:
Obtain upper management or authorizing official commitment to secure development, and convey that commitment to all with development related roles and responsibilities.
|
|
Keycloak
Open-source identity and access management for enforcing RBAC in CI/CD pipelines and deployment tools.
|
|
Dex
Federated OpenID Connect provider to integrate developer identities into build and deploy systems for role-based access.
|
|
Vault by HashiCorp
Securely manages and controls access to secrets based on defined roles during builds and deployments.
|
|
Argo CD
GitOps deployment tool with RBAC to control who can sync, approve, or rollback deployments.
|
|
Jenkins with Role Strategy Plugin
Adds fine-grained RBAC to Jenkins pipelines, limiting build and deployment actions to authorized roles.
|
|
Tekton Pipelines
Kubernetes-native CI/CD with Kubernetes RBAC to control pipeline execution permissions.
|
|
Flux CD
GitOps tool enforcing RBAC for deployment workflows and requiring approvals for changes.
|
|
Kubernetes RBAC
Built-in access control to restrict who can deploy, modify, or delete workloads.
|
|
Gitea
Self-hosted Git service with user roles and repository permissions to enforce approval and review workflows.
|
|
Auditbeat
Provides audit logging for build and deploy actions, helping track compliance with assigned responsibilities.
|
PO.3
Implement Supporting Toolchains: Use automation to reduce human effort and improve the accuracy, reproducibility, usability, and comprehensiveness of security practices throughout the SDLC, as well as provide a way to document and demonstrate the use of these
practices. Toolchains and tools may be used at different levels of the organization, such as organization-wide or project-specific, and may address a particular part of the SDLC, like a build pipeline.
To satisfy SSDF PO.3 in a Build and Deploy context using open-source tools, the focus shifts to:
-
Ensuring build and deployment tools are configured securely and kept patched.
-
Protecting against supply chain attacks targeting the CI/CD pipeline.
-
Verifying the integrity of tools and artifacts before use.
-
Controlling and monitoring access to toolchains.
| Tasks |
Tools |
PO.3.1:
Specify which tools or tool types must or should be included in each toolchain to mitigate identified risks, as well as how the toolchain components are to be integrated with each other.
PO.3.2:Follow recommended security practices to deploy, operate, and maintain tools and toolchains.
PO.3.3:
Configure tools to generate artifacts of their support of secure software development practices as defined by the organization.
|
|
Sigstore Cosign
Signs and verifies build artifacts to prevent deploying tampered software.
|
|
SLSA Framework + slsa-verifier
Ensures build provenance and verifies the integrity of artifacts before deploy.
|
|
Gitleaks
Scans repos and build pipelines for secrets before build execution.
|
|
Argo CD
GitOps deployment tool with RBAC to control who can sync, approve, or rollback deployments.
|
|
Trivy
Scans CI/CD tool containers and dependencies for vulnerabilities.
|
|
Syft
Generates SBOMs for build artifacts to track components used in the toolchain.
|
|
Hermetic builds with Konflux-ci
Build with pinned, pre-fetched dependencies in isolated environments to enable reproducible, verifiable builds.
|
|
Hermeto
Pre-fetches dependencies for hermetic builds, generates SBOMs, and ensures reproducible, network-isolated container builds with verifiable checksums.
|
|
Clair
Analyzes container images used in builds/deploys for vulnerabilities.
|
|
Vault by HashiCorp
Protects secrets used by build/deploy tools, ensuring they’re not exposed in pipelines.
|
|
Open Policy Agent (OPA)
Enforce policy as code in CI/CD and deployment workflows using Rego to prevent unsafe actions.
|
|
Konflux-ci software factory for Tekton
Implements the In-toto framework using pipelines-as-code
|
|
Auditbeat
Monitors and logs CI/CD toolchain activity for integrity and compliance.
|
PO.4
Define and Use Criteria for Software Security Checks: Help ensure that the software resulting from the SDLC meets the organization’s expectations by defining and using criteria for checking the software’s security during development.
To satisfy SSDF PO.4 in a Build and Deploy context using open-source tools, the focus shifts to:
-
Applying consistent security testing and validation practices before release.
-
Automating security checks in CI/CD pipelines.
-
Using standardized processes for verifying, signing, and tracking artifacts.
-
Integrating security gates so no insecure artifact is deployed.
| Tasks |
Tools |
PO.4.1:
Define criteria for software security checks and track throughout the SDLC.
PO.4.2:
Implement processes, mechanisms, etc. to gather and safeguard the necessary information in support of the criteria.
|
|
OWASP Dependency-Check
Automates open-source dependency scanning in builds to enforce consistent vulnerability detection.
|
|
Semgrep
Static analysis integrated into builds to ensure consistent code security checks before deploy.
|
|
Bandit (for Python)
Python security linting in build pipelines to maintain consistent language-specific checks.
|
|
Trivy
Consistent vulnerability and IaC scanning before deployment.
|
|
Grype
Maintains consistent vulnerability scanning for all build artifacts.
|
|
InSpec
Automates compliance checks before deployment to ensure practices match organizational standards.
|
|
Sigstore Cosign
Standardizes artifact signing and verification so only trusted builds are deployed.
|
|
Open Policy Agent (OPA)
Enforces organization-wide deployment policies across all environments.
|
|
DefectDojo
Centralizes and standardizes vulnerability tracking and remediation workflows across builds.
|
PO.5
Implement and Maintain Secure Environments for Software Development: Ensure that all components of the environments for software development are strongly protected from internal and external threats to prevent compromises of the
environments or the software being developed or maintained within them. Examples of environments for software development include development, build, test, and distribution environments.
To satisfy SSDF PO.5 in a Build and Deploy context using open-source tools, the focus shifts to:
-
Protecting CI/CD infrastructure from internal and external threats.
-
Hardening build servers, container registries, and deployment systems.
-
Ensuring build and deploy environments are patched, monitored, and access-controlled.
-
Preventing malicious code or tampering in the software supply chain.
| Tasks |
Tools |
PO.5.1:
Separate and protect each environment involved in software development.
PO.5.2:
Secure and harden development endpoints (i.e., endpoints for software designers, developers, testers, builders, etc.) to perform development-related tasks using a risk-based approach.
|
|
Jenkins Configuration as Code + Role Strategy Plugin
Secures Jenkins build servers with codified configs and RBAC to limit access to critical build jobs.
|
|
Tekton Pipelines
Kubernetes-native CI/CD framework with RBAC.
|
|
Argo CD
GitOps deployment with RBAC and signed commit enforcement for production deploys.
|
|
Vault by HashiCorp
Protects secrets in build and deploy environments, preventing leakage in pipelines.
|
|
Sigstore Cosign
Signs build artifacts and verifies them before deployment to ensure no tampering occurred.
|
|
In-toto
Provides end-to-end software supply chain security, ensuring each step in build/deploy is signed and verified.
|
|
InSpec
Runs ongoing compliance scans against development and build servers; enforce CIS/NIST benchmarks.
|
|
SLSA + slsa-verifier
Verifies build provenance, ensuring artifacts come from a trusted, uncompromised build environment.
|
|
Trivy
Scans build/deploy infrastructure containers and images for vulnerabilities and misconfigurations.
|
|
Falco
Runtime security for build and deploy environments to detect malicious behavior or unauthorized activity.
|
|
Auditbeat
Monitors build and deploy servers for file integrity changes, unauthorized access, and security events
|
|
Kyverno
Enforces Kubernetes security policies in deployment environments (e.g., no privileged pods).
|
1.2.2 - Protect the Software (PS)
Protect the Software (PS) Phase 2 Tasks
Protect the Software (PS) for Build and Deploy Tasks
Protect the Software (PS): Organizations should protect all components of their
software from tampering and unauthorized access.
PS.1
Protect All Forms of Code from Unauthorized Access and Tampering : Help prevent unauthorized changes to code, both inadvertent and intentional, which could circumvent or negate the intended security characteristics of the software. For code that is not intended to be publicly accessible, this helps prevent theft of the software and may make it more difficult or time-consuming for attackers to find vulnerabilities in the software.
To satisfy SSDF PS.1 in a build and deploy context using open-source tools, the focus shifts from just defining to:
-
Secure the CI/CD pipeline itself – ensure only trusted, authenticated processes can produce build outputs.
-
Protect source inputs and dependencies, lock versions, use checksums, and prevent injection of malicious code into the build process.
-
Sign artifacts and record provenance, generate cryptographically verifiable metadata proving what was built, from which source, and by whom.
-
Enforce reproducible builds so that any tampering results in a hash/signature mismatch.
-
Restrict build system access and enforce role-based permissions, MFA, and least privilege for build servers
| Tasks |
Tools |
PS.1.1:
Store all forms of code including source code, executable code, and configuration-as-code based on the principle of least privilege so that only authorized personnel, tools, services, etc. have access.
|
|
cosign Sigstore
Sign build outputs (binaries, containers, SBOMs) and create attestations; verify in CI before promotion.
|
|
Git signed commits/tags
Require signed commits/tags and reject unsigned in CI to prevent unauthorized code from entering builds.
|
|
Sigstore Fulcio + Rekor
Issue short-lived certs (Fulcio) and record signatures/attestations in a transparency log (Rekor) to detect/trace tampering.
|
|
SLSA provenance (generators + verifier)
Emit and sign build provenance; verify who/what/where built the artifact before it can ship.
|
|
In-toto
Define a supply-chain layout and verify each step’s materials/products to ensure nothing was tampered across the pipeline.
|
|
Tekton Chains
Automatically sign task results (images, files) in Tekton pipelines and store attestations (e.g., in Rekor).
|
|
Notation (CNCF Notary v2)
Sign OCI artifacts (images, Helm charts) during build for later verification in registries and clusters.
|
|
Nix
Lock inputs and make builds deterministic so unauthorized changes are detectable by hash/provenance mismatch.
|
|
Bazel
Lock inputs and make builds deterministic so unauthorized changes are detectable by hash/provenance mismatch.
|
|
Grafeas
Persist signatures, SBOMs, and policy metadata to audit build integrity across services..
|
|
Harbor
Enforce content trust, robot accounts, and policy on who can push/pull; require signed artifacts before release..
|
|
Sigstore Policy Controller
Admission controller that blocks unsigned/incorrectly signed images; enforces key/issuer/subject policies.
|
|
Kyverno
Kubernetes policies that require image signatures, pin by digest, and forbid mutable tags in deployments.
|
|
OPA Gatekeeper
Gate deployments with custom policies (e.g., “only signed images from approved registries/namespaces”).
|
|
Ratify
Verifies OCI signatures/attestations (Cosign/Notation) at admission time and blocks anything that fails verification.
|
|
Connaisseur
Kubernetes admission controller dedicated to verifying container image signatures before scheduling.
|
|
Sigstore Cosign
Verify signatures/attestations as a release gate in your CD pipeline prior to applying manifests.
|
PS.2
Provide a Mechanism for Verifying Software Release Integrity: Help software acquirers ensure that the software they acquire is legitimate and has not been tampered with. Make software integrity verification information available to software acquirers.
To satisfy SSDF PS.2 in a build and deploy context using open-source tools, the focus shifts to:
-
Generate integrity artifacts for every release
-
Bind artifacts to versioned source
-
Publish verification materials
-
Require integrity checks as a release gate
-
Expose verification data to consumers
-
Admission control based on integrity
| Tasks |
Tools |
PS.2.1:
Make software integrity verification information available to software acquirers.
|
|
Cosign Sigstore
Sign binaries, container images, SBOMs, and attestations during build; supports keyless signing.
|
|
Git signed commits/tags
Sign release tags to cryptographically tie the source to the built artifact.
|
|
Sigstore Fulcio + Rekor
Fulcio issues ephemeral signing certs; Rekor logs all signatures in a tamper-evident transparency log for downstream verification.
|
|
SLSA provenance (generators + verifier)
Automatically generate provenance metadata describing build origin, inputs, and process. Validates provenance files to ensure artifact integrity before distribution.
|
|
In-toto
Defines a verifiable software supply chain layout; creates link metadata proving each build step.
|
|
Grafeas
Stores metadata (signatures, checksums, SBOMs) so it can be queried for verification.
|
|
GNU Coreutils / sha256sum
Create and publish checksums for release artifacts so recipients can manually or automatically verify integrity.
|
|
Harbor
Enforce content trust; ensure only signed images are stored and distributed with policy on who can push/pull; require signed artifacts before release.
|
|
Sigstore Policy Controller
Kubernetes admission controller enforcing signature/provenance policies before deployment. Admission controller that blocks unsigned/incorrectly signed images; enforces key/issuer/subject policies.
|
|
Kyverno
Kubernetes policies that require image signatures, pin by digest, and forbid mutable tags in deployments. Validates signatures and digests for container images before they are deployed.
|
|
OPA Gatekeeper
Custom admission control to enforce artifact integrity and trusted signer policies.
|
|
Ratify
Pluggable verification framework for OCI registries/images; works with Cosign, Notation, in-toto.
|
|
Connaisseur
Kubernetes admission controller dedicated to signature verification and image trust policies.
|
|
Notation
Signs OCI artifacts (containers, Helm charts) and verifies them prior to install or deployment.
|
|
Sigstore Cosign
Used in CD pipelines or admission hooks to verify signatures and attestations match trusted keys/policies before promotion.
|
PS.3
Archive and Protect Each Software Release: Preserve software releases in order to help identify, analyze, and eliminate vulnerabilities discovered in the software after release.
To satisfy SSDF PS.3 in a build and deploy context using open-source tools, the focus shifts to:
-
Build: The emphasis is on capturing, storing, and securing every official release (source, binaries, SBOM, signatures, provenance) in immutable, versioned storage.
-
Deploy: The emphasis is on ensuring only those archived, protected releases are used in production with immutability, digest pinning, and signature/provenance verification as enforcement mechanisms.
| Tasks |
Tools |
PS.3.1:
Securely archive the necessary files and supporting data (e.g., integrity verification information, provenance data) to be retained for each software release.
PS.3.2:
Collect, safeguard, maintain, and share provenance data for all components of each software release (e.g., in a software bill of materials [SBOM]).
|
|
Git (Release Tagging)
Create immutable, signed tags for each release; preserves source snapshot for auditing
|
|
Git LFS
Store large binary release artifacts alongside source with integrity checks.
|
|
Nexus Repository OSS
OSS Host and version control release artifacts (JARs, binaries, containers) with role-based access and checksum validation.
|
|
JFrog Artifactory OSS
Archive build outputs in a controlled, versioned repository; supports checksums and retention policies.
|
|
Harbor
Store container images with vulnerability scanning, RBAC, and signed content trust to preserve release integrity. Enforce immutable tags and prevent overwrites so deployed artifacts can always be traced back to the archived copy.
|
|
OSS Review Toolkit
(ORT) Archive SBOMs, license files, and vulnerability reports alongside the release for compliance/audit.
|
|
Sigstore Cosign
Sign release artifacts before archiving so integrity can be checked later.
|
|
Kyverno
Enforce digest-pinned images to ensure deployments always match archived release versions.
|
|
OPA Gatekeeper
Policy enforcement to ensure only archived, approved artifacts are deployed.
|
|
Ratify
Verifies artifact signatures/attestations against archived release metadata before deployment..
|
|
Connaisseur
Admission controller that enforces deployment of only signed images from the archived se
|
|
Backblaze B2 / Rclone (OSS integration)
Long-term archival of deployed artifact versions for rollback or investigation.
|
|
SLSA Provenance + Rekor
Retain build provenance in a transparency log so deployed releases can be cross-verified with archived originals
|
|
rebuildered
rebuilderd independently verifies binary packages can be reproduced from source, which is a strong mechanism for third-party component integrity/validation and for preserving/verifying release integrity evidence.
|
|
TestifySec
TestifySec’s approach is evidence/attestations/policy verification around builds; their Witness tool is used to create and verify attestations and enforce policies—i.e., provenance generation + policy verification.
|
1.2.3 - Produce Well-Secured Software (PW)
Produce Well-Secured Software (PW) Phase 2 Tasks
Produce Well-Secured Software (PW) for Build and Deploy Tasks
Organizations should produce well-secured software with minimal security vulnerabilities in its releases.
PW.1
Design Software to Meet Security Requirements and Mitigate Security Risks: Identify and evaluate the security requirements for the software; determine what security risks the software is likely to face during operation and how the software’s design and architecture should mitigate those risks; and justify any cases where risk-based analysis indicates that security requirements should be relaxed or waived. Addressing security requirements and risks during software design (secure by design) is key for improving software security and also helps improve development efficiency.
To satisfy SSDF PW.1 in a build and deploy context using open-source tools, the focus shifts to:
-
Embedding security controls directly into the build process
-
Validating that build outputs (binaries, containers, packages) are hardened and free from known design-level weaknesses
-
Preserving traceability from design requirements to deployed artifacts
| Tasks |
Tools |
PW.1.1:
Use forms of risk modeling, such as threat modeling, attack modeling, or attack surface mapping to help assess the security risk for the software.
PW.1.2:Track and maintain the software’s security requirements, risks, and design decisions.
PW.1.3:
Where appropriate, build in support for using standardized security features and services (e.g., enabling software to integrate with existing log management, identity management, access control, and vulnerability management systems) instead of creating proprietary implementations of security features and services.
|
|
Semgrep
Prevents insecure code from being packaged and deployed.
|
|
Trivy
Ensures that deployed artifacts align with secure baseline configurations
|
|
Zap (Zed Attack Proxy)
Enforces approved component lists and security baselines before deployment.
|
|
Syft
Generates SBOMs for deployed applications for ongoing monitoring.
|
|
OWASP Dependency-Track
Enforces approved component lists and security baselines before deployment.
|
|
Grype
Focused vulnerability scanning for deployed artifacts.
|
|
Nix
Guarantees that build artifacts match the security-approved design exactly, with no drift or environmental differences.
|
|
GNU Guix
Ensures that all deployed artifacts are built from a traceable, verifiable environment that aligns with design security baselines.
|
|
Bazel
Enforces secure build rules, prevents unauthorized changes, and produces identical outputs across build agents.
|
|
Reproducible Builds Framework
Strengthens supply chain security by detecting unauthorized modifications between source and deployment.
|
|
Apko (Chainguard)
Implements secure design principles like minimal attack surface and verified dependency selection.
|
|
Sigstore(Cosign,Fulcio, Rekor)
Ensures artifacts come from a trusted, verified build process and haven’t been altered.
|
|
Notary
Provides cryptographic assurance that deployed artifacts are authentic and untampered.
|
|
In-Toto
Enforces integrity and accountability across the entire build-to-deploy pipeline.
|
|
The Update Framework (TUF)
Protects the integrity of deployment and update distribution channels.
|
|
OpenSSL
Generate and manage keys for signing build artifacts. Implement TLS/SSL for secure communication between build agents and artifact repositories.
|
|
GnuPG
Sign source code, commits, and build outputs and verify signatures before deploying artifacts.
|
|
Bouncy Castle
Embed cryptographic signing and verification into Java/.NET build pipelines.
|
|
Keylime
Validate that deployment environments meet hardware-based integrity requirements before deployment.
|
|
Ethereum Attestation Service (EAS)
Publish cryptographic attestations of build provenance or deployment approvals and provide a decentralized, tamper-proof audit log of artifact trust data.
|
|
Kyverno
Enforce secure deployment design policies (e.g., approved base images, disallowed configurations).
|
|
OPA
Enforce security design requirements at build time (e.g., dependency approval, CVE thresholds). Apply consistent policy enforcement from build pipelines to runtime.
|
|
SPIFFE/SPIRE
Ensure that deployed workloads meet security requirements for mutual authentication and zero trust and bind workload identity to build-time provenance for deployment integrity.
|
|
Hermeto
Pre-fetches dependencies for hermetic builds, generates SBOMs, and ensures reproducible builds with explicit dependency tracking and verifiable checksums.
|
|
OWASP Threat Dragon
Embeds threat models into CI/CD, ensuring security requirements are tied to architectural components before build. (Meets PW.1.1 and PW.1.2)
|
|
OWASP Amass
Helps to refine security requirements around network exposure and asset inventory. (Meets PW.1.1)
|
|
CAIRIS
Integrates security requirements into system models, which can then be validated in build & deploy. (Meets PW.1.1)
|
|
Threagile
Embeds threat models into CI/CD, ensuring security requirements are tied to architectural components before build. (Meets PW.1.1)
|
|
Open-Needs
Requirements management tool for defining, tracking, and validating security requirements. Documents security requirements and links them to commits and build outputs.(Meets PW.1.1 and PW.1.2)
|
|
rmtoo
Requirements management tool using plain text and version control for traceability. Supports traceability from design through build, ensuring requirements are carried into final artifacts.(Meets PW.1.2)
|
|
OpenRMF® OSS
Open-source compliance and risk management framework tool for tracking RMF (NIST 800-37) controls. Security requirements map to formal compliance controls that can be verified in build & deploy artifacts. (Meets PW1.2)
|
PW.2
Review the Software Design to Verify Compliance with Security Requirements and Risk Information:Help ensure that the software will meet the security requirements and satisfactorily address the identified risk information.
To satisfy SSDF PW.2 in a the build and deploy context using open-source tools, the is:
-
Validating security architecture decisions before deploying
-
Reviewing IaC and CI/CD configs to ensure they meet security baselines
-
Enforcing design rules automatically in build pipelines
-
Catching misconfigurations and security gaps before release
| Tasks |
Tools |
PW.2.1:
Have (1) a qualified person (or people) who were not involved with the design and/or (2) automated processes instantiated in the toolchain review the software design to confirm and enforce that it meets all of the security requirements and satisfactorily addresses the identified risk information.
|
|
OPA
Automated design compliance gate in CI/CD
|
|
Kyverno
Validates deployment configurations match approved security architecture.
|
|
Checkov
Enforce network segmentation rules, encryption requirements, and secure defaults.
|
|
KICS (Keeping Infrastructure as Code Secure)
Adds IaC review automation to the build process.
|
|
Semgrep
Automated code review for alignment with security design requirements.
|
|
Trivy (Config Scanning)
Config compliance verification before deploying.
|
|
ThreatSpec
Ensures threat model-driven design requirements are implemented.
|
|
Cartography
Post-build/pre-deploy architecture verification. Detect deviations from intended architecture.
|
|
kube-score
Review Kubernetes manifests for design compliance before deployment.Ensures pod security settings match approved deployment designs.
|
|
Dependabot
Automated dependency update PRs with vulnerability alerts. Helps verify dependencies meet security requirements (e.g., no known CVEs, minimum versions).
|
|
OpenRMF
Open Risk Management Framework tracking tool. Can map design-level security requirements to NIST 800-53 controls and verify those controls are implemented in build configs.
|
|
ESLint
Runs in CI/CD pipelines or as a pre-commit hook to block merges if code violates the approved security or architectural rules before build.
|
|
Grype
SBOM-driven vulnerability scanner for images/filesystems. Validates that dependencies in the build match security baselines and are free from disallowed components.
|
|
Clair
Static vulnerability analysis for container images. Confirms final images meet design security requirements before deployment.
|
|
Terrascan
IaC scanning and policy enforcement (OPA-based). Enforces approved security design in Terraform, Kubernetes, Docker, and AWS CloudFormation configs before deploy.
|
|
Gerrit
Code review and approval workflow tool. Enforces human review against design and security requirements before merge to release branches.
|
PW.4
Reuse Existing, Well-Secured Software When Feasible Instead of Duplicating Functionality : Lower the costs of software development, expedite software development, and decrease the likelihood of introducing additional security vulnerabilities into the software by reusing software modules and services that have already had their security posture checked. This is particularly important for software that implements security functionality, such as cryptographic modules and protocols.
Note: PW.3 moved to PW.4
To satisfy SSDF PW.4 in a build and deploy context using open-source tools, the focus shifts to:
-
Baking secure defaults into application code, containers, and deployment manifests
-
Removing insecure, legacy, or unnecessary features from build artifacts
-
Automatically applying baseline security settings during deployment
-
Enforcing hardening standards before release
| Tasks |
Tools |
PW.4.1:Acquire and maintain well-secured software components (e.g., software libraries, modules, middleware, frameworks) from commercial, open-source, and other third-party developers for use by the organization’s software.
PW.4.2:
Create and maintain well-secured software components in-house following SDLC processes to meet common internal software development needs that cannot be better met by third-party software components.
PW.4.4:
Verify that acquired commercial, open-source, and all other third-party software components comply with the requirements, as defined by the organization, throughout their life cycles.
|
|
Kyverno
Ensures manifests meet secure baseline defaults before deployment.
|
|
OPA
Validates default configurations meet security requirements.
|
|
Checkovn
Detects and blocks insecure defaults in Terraform, Helm, or CloudFormation before release.
|
|
KICS (Keeping Infrastructure as Code Secure)
Validates hardened defaults in cloud infrastructure provisioning.
|
|
Trivy
Automated config compliance check during CI/CD.
|
|
CIS-CAT Lite
Automates compliance testing for secure defaults.
|
|
DevSec Hardening Framework
Bakes hardened defaults into container or VM images before release.
|
|
kube-score
Pre-deployment validation of secure defaults in manifests.
|
|
OpenSCAP
Ensures deployed OS images meet hardened defaults.
|
|
CycloneDX
SBOM format for documenting exact components/configurations in final build; helps verify secure defaults are present.
|
|
SPDX
SBOM standard to record all components, licenses, and provenance; can confirm inclusion of hardened dependencies.
|
|
ArtifactHub
Catalog of verified Helm charts, OLM operators, etc.; can enforce use of curated, secure-by-default packages.
|
|
JFrog Artifactory OSS
Repository manager for storing signed, verified artifacts with access controls.
|
|
Sonartype Nexus OSS
Host artifacts and enforce policy checks before they’re promoted.
|
|
Harbor
OCI registry with vulnerability scanning, content signing, and policy enforcement for images.
|
|
GitLab Signing
Commit/tag signing in GitLab CE for provenance.
|
|
GitHub CodeQL
Detects code patterns violating security requirements.
|
|
AquaSec Trivy
Scans container images, IaC, and configs for insecure defaults.
|
|
Allstar
GitHub App enforcing security policies in repos.
|
|
OWASP SAMM
Security maturity model to guide secure default practices.
|
|
OWASP ASVS
Application security requirements to verify secure defaults.
|
|
OWASP Defectdojo
Central vulnerability tracking; ensures issues found in builds are fixed before release.
|
|
OWASP Dependency-Check
Detects known-vulnerable dependencies in builds.
|
|
Gitea
Self-hosted Git service with signing/policy support.
|
|
GitLab (Community Edition)
Git platform with signing, scanning, CI/CD policy integration.
|
|
Pytest
Automated testing to confirm defaults work.
|
|
Selenium
Functional/UI test automation to verify secure settings.
|
|
Playwright
Functional/UI test automation to verify secure settings.
|
|
OWASP ZAP
DAST scanner to verify app defaults are not exploitable.
|
|
TestNG
Java test framework for security/functional checks
|
|
Cucumber
BDD framework for verifying functional + security requirements.
|
|
Clair
Image vulnerability scanner for OCI registries.
|
|
Grype
SBOM-driven vuln scanner for builds and images
|
|
Bandit for Python
Detects insecure code patterns/defaults in Python.
|
|
Semgrep
Finds policy-violating patterns in code.
|
|
Brakeman
Detects Rails-specific security issues/defaults.
|
|
Gitleaks
Detects secrets in code (prevents default creds exposure).
|
|
TruffleHog
Finds secrets in repos/history to avoid insecure defaults.
|
|
OWASP Dependency-Check
Detects known-vulnerable dependencies in builds.>
|
|
OSS Review Toolkit (ORT)
Automates license/security checks; blocks noncompliant components.
|
|
FOSSA (Community Edition)
License/dependency scanning; ensures compliance with default policies.
|
|
ScanCode Toolkit
Detects license, copyright, and security metadata in artifacts.
|
|
Tern
Container image inspection for dependency/component details.
|
|
Open Policy Agent (OPA)
Policy-as-code for build & deploy; blocks insecure defaults in configs/manifests.
|
|
rebuildered
rebuilderd independently verifies binary packages can be reproduced from source, which is a strong mechanism for third-party component integrity/validation and for preserving/verifying release integrity evidence.
|
PW.5
Create Source Code by Adhering to Secure Coding Practices: Decrease the number of security vulnerabilities in the software, and reduce costs by minimizing vulnerabilities introduced during source code creation that meet or exceed organization-defined vulnerability severity criteria.
To satisfy SSDF PW.5 in a build and deploy context using open-source tools, the focus shifts to:
-
Software artifacts are stored in secure, controlled repositories.
-
Only approved, verified builds get stored and deployed.
-
Repository access is restricted and auditable.
-
Provenance and integrity checks are enforced before artifacts are accepted or deployed.
| Tasks |
Tools |
PW.5.1:
Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements.
|
|
Artifactory Community Edition
Acts as the central trusted artifact repository.
|
|
Nexus Repository OSS
Acts as the central trusted artifact repository.
|
|
Harbor
Acts as the central trusted artifact repository.
|
|
Sigstore(Cosign,Fulcio, Rekor)
Ensures repository contents are authentic and tamper-free.
|
|
Clair
Ensures stored artifacts meet vulnerability requirements before deployment
|
|
In-Toto
Enforces provenance checks at repository ingestion.
|
|
The Update Framework (TUF)
Protects against repository and update tampering.
|
|
Notary (v2)
Controls supply chain intake and internal artifact storage.
|
|
Tekton Chains
Ties repository artifacts back to secure build pipelines.
|
|
Semgrep
Runs as part of the CI pipeline to automatically scan code for security flaws, policy violations, and unsafe patterns before artifacts are built. Supports rule-as-code to enforce secure build policies.
|
|
Bandit for Python
Python-focused static analyzer that checks for insecure functions, weak crypto, and common security issues before packaging or deployment.
|
|
FindBugs
Legacy Java static analysis; can be used to flag known insecure code patterns before build. Superseded by SpotBugs.
|
|
SpotBugs
Modern replacement for FindBugs. Java bytecode scanner to enforce safe code practices before compiling final artifacts.
|
|
SonarQube
Comprehensive SAST platform; can be integrated in CI/CD to enforce quality gates, stopping builds that fail security rules.
|
|
OWASP ZAP
Runs against built/staged applications in pre-deployment environments to detect exploitable vulnerabilities, ensuring no insecure version is promoted.
|
|
Arachni
Web application vulnerability scanner that can be part of a build’s QA stage to ensure secure release readiness.
|
|
OWASP Dependency-Check
Scans for known-vulnerable dependencies in the build, blocking insecure versions from being deployed.
|
PW.6
Configure the Compilation, Interpreter, and Build Processes to Improve Executable Security: Decrease the number of security vulnerabilities in the software and reduce costs by eliminating vulnerabilities before testing occurs.
To satisfy SSDF PW.6 in a build and deploy context using open-source tools, the focus shifts to make security testing continuous and automatic so every build and every deployment candidate is evaluated against a security bar, with evidence captured for audit and release gates.:
| Tasks |
Tools |
PW.6.1:
Use compiler, interpreter, and build tools that offer features to improve executable security.
PW.6.2:
Determine which compiler, interpreter, and build tool features should be used and how each should be configured, then implement and use the approved configurations.
|
|
Semgrep
Fast rule-based SAST with CI integration.
|
|
SonarQube Community
General code quality + basic security rules.
|
|
Bandit
Python SAST linters.
|
|
Gosec
Go SAST linters.
|
|
Brakeman
Rails SAST linters.
|
|
FindSecBugs
Java SAST linters.
|
|
Trivy
Vulnerability scan images/filesystems against SBOMs.
|
|
Grype
Vulnerability scan images/filesystems against SBOMs.
|
|
Syft
Generate SBOMs (SPDX/CycloneDX) during build.
|
|
OWASP Dependency Track
Continuous SBOM monitoring and alerting post-build./p>
|
|
Gitleaks
Block commits/builds that contain secrets; run in CI and as pre-commit hooks.
|
|
Reproducible Builds
Provides methods, guidelines, and supporting tools for deterministic builds, ensuring integrity and verifiability of source-to-binary outputs.
|
|
Bazel
Build system with hermetic (sandboxed) execution and explicit dependency tracking, preventing hidden or unverified dependencies.
|
|
Meson
High-speed, deterministic build system that supports reproducibility and strict configuration-as-code.
|
|
Apache Maven
Enforces controlled dependency resolution and supports reproducible builds for Java and JVM-based projects.
|
|
Yocto Project
Creates reproducible, controlled build environments for embedded Linux images, preventing environmental drift.
|
|
AOSP Build System
Uses prebuilt toolchains and sandboxed environments for secure, reproducible Android builds.
|
|
Hermeto
CLI tool for pre-fetching dependencies to support hermetic builds, generating SBOMs, and ensuring network-isolated container builds with reproducible dependency management.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
PW.7
Review and/or Analyze Human-Readable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities. Human-readable code includes source code, scripts, and any other form of code that an organization deems human readable.
To satisfy SSDF PW.7 in a build and deploy context using open-source tools, the focus shifts to:
-
Running automated code scanning in CI
-
Ensuring manual/peer review requirements are enforced before merging to release branches
-
Verifying code matches security policies defined earlier in PW.1 and validated in PW.2- Capturing audit evidence that review was completed before build artifacts are promoted
| Tasks |
Tools |
PW.7.1:
Determine whether code review (a person looks directly at the code to find issues) and/or code analysis (tools are used to find issues in code, either in a fully automated way or in conjunction with a person) should be used, as defined by the organization.
PW.7.2:
Perform the code review and/or code analysis based on the organization’s secure coding standards, and record and triage all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
Semgrep
Runs automatically in CI before building deployment artifact.
|
|
SonarQube Community Edition
Integrates with CI/CD to enforce clean code before release
|
|
CodeQL
Detect SQL injection, XSS, or unsafe deserialization patterns in codebase.
|
|
GitLeaks
Protects against secret leakage in deployed artifacts
|
|
GitHub and GitLab
Require two reviewers for any code changes in security-critical modules.
|
|
DefectDojo
Provides verifiable audit trail for security review completion.
|
|
Sigstore Cosign
Provides verifiable audit trail for security review completion.
|
|
OWASP Dependency-Check
Continuously scans dependencies in each build for new CVEs. Can run on every commit or nightly in CI/CD.
|
|
OWASP ZAP
Can be automated in CI/CD to re-test staging environments for vulnerabilities as new code is deployed.
|
|
Retire.js
Focused on JavaScript libraries; detects newly disclosed vulnerabilities in frontend/back-end packages during builds.
|
|
Fossa
Scans dependencies for vulnerabilities and license issues, integrating with builds to catch new findings.
|
|
Bandit for Python
Runs in CI/CD for Python projects to catch newly introduced security issues.
|
|
Checkmarx KICS
Detecting Known Vulnerabilities – Compares IaC components and configurations against known security best practices and compliance frameworks (CIS Benchmarks, NIST, PCI-DSS).
|
|
Cppcheck for C++
Re-scans C/C++ code after every build to ensure no new issues were introduced.
|
|
FindSecBugs
Extension to SpotBugs that catches security flaws in Java bytecode continuously during the build cycle.
|
|
GitHub CodeQL
Performs continuous security queries on code with each pull request or scheduled scan.
|
|
PMD
Runs code quality and security rule checks on every commit/build.
|
|
SpotBugs
Java static analysis integrated into the build pipeline for continuous vulnerability detection.
|
|
Danger JS
Automates security-related PR review rules, preventing unsafe code from merging.
|
PW.8
Test Executable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released in order to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities and improves traceability and repeatability. Executable code includes binaries, directly executed bytecode and source code,
and any other form of code that an organization deems executable.
To satisfy SSDF PW.8 in a post-deployment context using open-source tools, the focus shifts to:
-
Running security tests against the final artifact in staging or pre-deployment environments
-
Validating runtime configuration, dependencies, and permissions of the artifact
-
Ensuring compliance with security baselines at the executable level
-
Capturing evidence of artifact test results for compliance gates
| Tasks |
Tools |
PW.8.1:
Determine whether executable code testing should be performed to find vulnerabilities not identified by previous reviews, analysis, or testing and, if so, which types of testing should be used.
PW.8.2:
Scope the testing, design the tests, perform the testing, and document the results, including recording and triaging all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
Trivy
Run as a CI step after image build, before push to registry
|
|
Grype
Confirms that final executable meets vulnerability thresholds.
|
|
Syft
Feeds SBOM into SCA tools like Dependency-Track for ongoing monitoring
|
|
OpenSCAP
Ensures final artifact matches secure configuration requirements.
|
|
CIS-CAT Lite
Baseline enforcement step before promotion to production.
|
|
Zap (Zed Attack Proxy)
Pre-release runtime security testing.
|
|
In-toto + Sigstore Cosign Attestations
Provides verifiable evidence for compliance and audits.
|
PW.9
Configure Software to Have Secure Settings by Default: Help improve the security of the software at the time of installation to reduce the likelihood of the software being deployed with weak security settings, putting it at greater risk of compromise.
To satisfy SSDF PW.9 in a build and deploy context using open-source tools, the focus shifts to:
-
Embedding secure configs into container images, binaries, and IaC
-
Removing insecure or unused features before packaging
-
Applying security baselines (CIS, STIG, NIST) in the build process
-
Validating those defaults as part of CI/CD
-
Preventing insecure defaults from slipping into release candidates
| Tasks |
Tools |
PW.9.1:
Define a secure baseline by determining how to configure each setting that has an effect on security or a security-related setting so that the default settings are secure and do not weaken the security functions provided by the platform, network infrastructure, or services.
PW.9.2:
Implement the default settings (or groups of default settings, if applicable), and document each setting for software administrators.
|
|
DevSec Hardening Framework
Automates baseline hardening during image creation.
|
|
Chainguard Apko
Produces secure-by-default container images.
|
|
Trivy
CI gate to block insecure defaults from being built/deployed.
|
|
Checkov
Prevents insecure IaC defaults from reaching deployment.
|
|
KICS
Prevents insecure IaC defaults from reaching deployment.
|
|
OpenSCAP
Produces compliance evidence before artifact promotion.
|
|
Sigstore Cosign + In-Toto
Ensures only hardened, verified artifacts can be deployed.
|
|
CIS-CAT Lite
Verify hardened defaults match CIS requirements before release.
|
|
Kyverno
Policy enforcement for manifests and configs at build time.
|
|
OPA Conftest
Codifies secure defaults as enforceable CI/CD policies.
|
1.2.4 - Respond to Vulnerabilities (RV)
Respond to Vulnerabilities (RV) Phase 2 Tasks
Respond to Vulnerabilities (RV) for Build and Deploy Tasks
Respond to Vulnerabilities (RV): Organizations should identify residual vulnerabilities
in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future.
RV.1
Identify and Confirm Vulnerabilities on an Ongoing Basis: Help ensure that vulnerabilities are identified more quickly so that they can be remediated more quickly in accordance with risk, reducing the window of opportunity for attackers.
To satisfy SSDF RV.1 in a build and deploy context using open-source tools, the focus shifts to continuously gathering vulnerability intel (VDP + public sources), monitor components, and confirm issues across supported releases.
| Tasks |
Tools |
RV.1.1:
Gather information from software acquirers, users, and public sources on potential vulnerabilities in the software and third-party components that the software uses, and investigate all credible reports.
RV.1.2:
Review, analyze, and/or test the software’s code to identify or confirm the presence of previously undetected vulnerabilities.
RV.1.3:
Have a policy that addresses vulnerability disclosure and remediation, and implement the roles, responsibilities, and processes needed to support that policy.
|
|
OSV-Scanner
Continuously scans manifests/locks against OSV; great for confirming new disclosures across all supported releases..
|
|
Ortelius
Continuously synchronizes Software Bill of Material versions of built artifacts to OSV.dev reporting on vulnerabilities discovered post-build.
|
|
OSV Vulnerability Database
Queries the OSV.dev vulnerability database for open-source package CVEs.
|
|
Grype
Scans container images and SBOMs for known vulnerabilities.
|
|
Vulners CLI/API
Aggregates multiple public vulnerability feeds.
|
|
cve-bin-tool
Checks installed binaries for known CVEs.
|
|
Semgrep
SAST for multiple languages; customizable rules. Run on merge to main branch.
|
|
Bandit
Python security linting. Add to Python project build stage.
|
|
SonarQube Community Edition
SAST & quality checks. Run in build step; block deploy if high-severity issues found.
|
|
OWASP ZAP
DAST; quick passive scan on deployed staging app.
|
|
GitHub Security Policy
Public policy location for reporters.
|
|
Disclose.io templates
Vulnerability Disclosure Program.
|
|
OpenSSF Vulnerability Disclosure Guide
Playbook for implementing disclosure.
|
RV.2
Assess, Prioritize, and Remediate Vulnerabilities: Help ensure that
vulnerabilities are remediated in accordance with risk to reduce the window of opportunity for attackers.
To satisfy SSDF RV.2 in a build and deploy context using open-source tools, the focus shifts to:
-
Recording each vulnerability
-
Analyze risk (exploitability & impact)
-
Choose responses, publish advisories, and deliver remediations via trusted mechanisms; include temporary mitigations where needed.\
| Tasks |
Tools |
RV.2.1:
Analyze each vulnerability to gather sufficient information about risk to plan its remediation or other risk response.
RV.2.2:
Plan and implement risk responses for vulnerabilities.
|
|
GUAC
Aggregates SBOMs, attestations, and vulns to understand blast radius and prioritize fixes.
|
|
Renovate
Automates dependency upgrades/patch PRs with risk-aware policies.
|
|
Ortelius
Exposes the blast radius of each vulnerability across live environments.
|
|
DefectDojo
Centralizes vulnerabilities from SAST/DAST/SCA tools; adds risk scoring.
|
|
OWASP Dependency-Track
SBOM-based vuln tracking, includes CVSS scoring and metadata.
|
|
EPSS (Exploit Prediction Scoring System)
Rates probability of exploitation for CVEs (risk-based prioritization).
|
|
Vulners API
Provides exploit links, PoCs, and additional context per CVE.
|
|
CVSS Calculator (FIRST)
Standardized impact scoring to support triage decisions.
|
|
Sigstore / Cosign
Sign remediated builds before deploying (trusted delivery mechanism).
|
|
OWASP ModSecurity CRS
Temporary WAF rules to mitigate unpatched web vulns.
|
|
Falco
Runtime detection and mitigation for unpatched container/Kubernetes issues.
|
RV.3
Analyze Vulnerabilities to Identify Their Root Causes: Help reduce the frequency of vulnerabilities in the future.
To satisfy SSDF RV.3 in a build and deploy context using open-source tools, the focus shifts to:
| Tasks |
Tools |
RV.3.1:
Analyze identified vulnerabilities to determine their root causes.
RV.3.2:
Analyze the root causes over time to identify patterns, such as a particular secure coding practice not being followed consistently
RV.3.3:
Review the software for similar vulnerabilities to eradicate a class of vulnerabilities, and proactively fix them rather than waiting for external reports.
RV.3.4:
Review the SDLC process, and update it if appropriate to prevent (or reduce the likelihood of) the root cause recurring in updates to the software or in new software that is created.
|
|
Semgreps
Write org-specific rules to detect the root-cause pattern; scan repos to eradicate classes of bugs.
|
|
CodeQL
Deep code queries to identify the precise coding constructs leading to vulns.
|
|
SonarQube CE
Provides issue traces, rule violations, and hotspots including root cause indicators.
|
|
DefectDojo
Tracks vulns + metadata, allows attaching root cause notes per issue.
|
|
Dependency-Track
Long-term tracking of vulnerable components to see recurring dependency issues.
|
|
Grafeas
Metadata API for tracking security events across builds/releases.
|
|
cwe-checker
Detects weakness patterns (CWEs) in binaries, useful for compiled artifacts.
|
|
Joern
Open-source code analysis platform for hunting bug patterns at scale.
|
|
OpenSAMM (OWASP Software Assurance Maturity Model)
Framework to improve secure dev lifecycle practices.
|
|
OpenSSF Scorecards
Automates repo security health checks (branch protection, dependency pinning, CI hardening).
|
|
OSCAL (NIST)
Standard for documenting compliance + SDLC security improvements.
|
|
Allstar (by OpenSSF)
Enforces security policies across GitHub orgs/repos.
|
1.3 - Post Deployment Tasks
Secure Software Development Framework Post Build CI/CD Steps: Phase 3
Achieving Post Deploy Tasks of the Secure Software Development Framework
This chapter focuses specifically on DevSecOps tooling and practices related to Post Deploy actions of the CI/CD pipeline to achieve tasks defined by the Secure Software Development Framework.
The Secure Software Development Framework, developed by the National Institute of Standards and Technology (NIST), provides a comprehensive approach to ensuring security across the software development process, from initial design through deployment and maintenance. The framework outlines key practices and guidelines that organizations can implement to secure their software development lifecycle (SDLC), with a particular emphasis on integrating security into automated processes.
|
|
| Prepare the Organization (PO) |
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects. |
| Protect the Software (PS) |
Organizations should protect all components of their software from tampering and unauthorized access. |
| Produce Well-Secured Software (PW) |
Organizations should produce well-secured software with minimal security vulnerabilities in its releases. |
| Respond to Vulnerabilities (RV) |
Organizations should identify residual vulnerabilities in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future. |
1.3.1 - Prepare the Organization (PO)
Prepare the Organization (PO) Phase 3 Tasks
Prepare the Organization (PO) Post Deploy Tasks
Organizations should ensure that their people, processes, and technology are prepared to perform secure software development at the organization level. Many organizations will find some PO practices to also be applicable to subsets of their software development, like individual development groups or projects.
PO.1
Define Security Requirements for Software Development: Ensure that security requirements for software development are known at all times so that they can be taken into account throughout the SDLC and duplication of effort can be minimized because the requirements information can be collected once and shared. This includes requirements from internal sources (e.g., the organization’s policies, business objectives, and risk management strategy) and external sources (e.g., applicable laws and regulations).
To satisfy SSDF PO.1 in a post-deployment context using open-source tools, the focus shifts from just defining to:
-
Maintaining and enforcing PO tasks in live systems.
-
Making task requirements visible and traceable across deployed environments.
-
Auditing and updating methods and procedures as internal and external policies change.
| Tasks |
Tools |
PO.1.1:
Identify and document all security requirements for the organization’s software development infrastructures and processes, and maintain the requirements over time.
PO.1.2:
Identify and document all security requirements for organization-developed software to meet, and maintain the requirements over time.
|
|
Open Policy Agent
Supports definitions of security policies as code and enforce them in pipelines, CI/CD, and runtime. Enforces runtime policies via integrations with Kubernetes, Terraform, and CI/CD platforms.
|
|
InspecLog
Periodically audits deployed environments against internal and external security standards.
|
|
Ortelius Evidence Store
Associate and version security requirement metadata per service and deployment, enabling continuous visibility.
|
|
DefectDojo
Maps security findings back to specific policy controls or regulatory frameworks.
|
PO.2
Implement Roles and Responsibilities: Ensure that everyone inside and outside of the organization involved in the SDLC is prepared to perform their SDLC-related roles and responsibilities throughout the SDLC.
To satisfy SSDF PO.2 in a post-deployment context using open-source tools, the focus shifts to:
-
Defining and assigning roles for who is responsible for remediation and runtime configurations.
-
Maintaining evidence of what was deployed, who deployed it, and impact across all software assets.
-
Ensuring security and patch management with restricted post-deployment actions.
| Tasks |
Tools |
PO.2.1:Create new roles and alter responsibilities for existing roles as needed to encompass all parts of the SDLC. Periodically review and maintain the defined roles and responsibilities, updating them as needed.
PO.2.2:
Provide role-based training for all personnel with responsibilities that contribute to secure development. Periodically review personnel proficiency and role-based training, and update the training as needed.
PO.2.3:
Obtain upper management or authorizing official commitment to secure development, and convey that commitment to all with development related roles and responsibilities.
|
|
Git
Tracks authorship and code reviewers, and tags releases and documents who triggered them.
|
|
Ortelius Evidence Store
Associates deployed services with responsible individuals or teams, with historical record of changes, deployments and roles.
|
|
Backstage
Lists service owners, on-call teams and escalation paths making post-deployment responsibility transparent across the organization.
|
|
DefectDojo
Track security findings and assign resolution responsibilities.
|
|
Kubernetes RBAC / OPA Gatekeepr
Enforces access policies and role boundaries in runtime environments.
|
|
ArgoCD
Ensures only authorized commits/deployments affect production and logs every promotion and rollback.
|
|
Falco
Detects unauthorized activity at runtime.
|
|
Prometheus + Alertmanager
Alerts based on ownership/roles
|
PO.3
Implement Supporting Toolchains: Use automation to reduce human effort and improve the accuracy, reproducibility, usability, and comprehensiveness of security practices throughout the SDLC, as well as provide a way
to document and demonstrate the use of these practices. Toolchains and tools may be used at different levels of the organization, such as organization-wide or project-specific, and may address a particular part of the SDLC, like a
build pipeline.
To satisfy SSDF PO.3 in a post-deployment context using open-source tools, the focus shifts to:
-
Ensuring toolchains support vulnerability detection, SBOM tracking, compliance, and policy enforcement to function after release.
-
Keeping automation tooling secure, updated, and integrated with the live environment.
-
Maintaining evidence that the toolchain’s outputs (e.g., SBOMs, scan reports) remain trustworthy and current.
| Tasks |
Tools |
PO.3.1:
Specify which tools or tool types must or should be included in each toolchain to mitigate identified risks, as well as how the toolchain components are to be integrated with each other.
PO.3.2:
Follow recommended security practices to deploy, operate, and maintain tools and toolchains.
PO.3.3:
Configure tools to generate artifacts6 of their support of secure software development practices as defined by the organization.
|
|
OWASP Dependency Track
Continuously monitors SBOMs for newly disclosed CVEs in deployed software.
|
|
Ortelius Evidence Store
Maintains a historical record of deployed software, components, and their SBOMs; links to owners for accountability.
|
|
Syft
Generates SBOMs from deployed container images or filesystems on-demand.
|
|
Trivy
Post-deployment container, filesystem, and package vulnerability scanning; also generates SBOMs.
|
|
Clair
Continuous scanning of container registries for vulnerabilities.
|
|
Grype
Fast vulnerability scanner for container images and filesystems.
|
|
In-Toto
Validates that deployed artifacts match the cryptographic attestations from the build process.
|
|
Sigstore cosign
Verifies signatures of deployed artifacts; ensures they match approved builds.
|
|
Sigstore Rekor
Provides a public, immutable log for signatures and provenance data.
|
|
Open Policy Agent
Enforce security and compliance policies on deployed systems (e.g., Kubernetes clusters).
|
|
Inspec
Audit deployed infrastructure and applications against security baselines and compliance requirements.
|
|
The Hive Incident response platform for post-deployment security events.
|
|
Konflux-ci software factory for Tekton
Implements the In-toto framework using pipelines-as-code for supply chain security validation
|
|
DefectDojo
Track vulnerabilities and assign remediation tasks; integrate with scanners for continuous updates.
|
PO.4
Define and Use Criteria for Software Security Checks: Help ensure that the software resulting from the SDLC meets the organization’s expectations by defining and using criteria for checking the software’s security during development.
To satisfy SSDF PO.4 in a post-deployment context using open-source tools, the focus shifts to:
-
Ensuring that security data continues to be collected after release.
-
Logs, SBOMs, and scan results are preserved and tamper-resistant.
-
Data is safeguarded to prevent unauthorized access or modification.
-
Data is retrievable for audits, investigations, and compliance checks
| Tasks |
Tools |
PO.4.1:
Define criteria for software security checks and track throughout the SDLC.
PO.4.2:
Implement processes, mechanisms, etc. to gather and safeguard the necessary information in support of the criteria.
|
|
Falco
Runtime security detection for containers and hosts; generates event logs for suspicious behavior.
|
|
AuditD
Captures system-level security events for Linux.
|
|
OSQuery
Endpoint telemetry and configuration monitoring.
|
|
Prometheus and Loki
Collect and store metrics and logs in a queryable format.
|
|
Ortelius Evidence Store
Maintains versioned SBOMs linked to each deployment.
|
|
Syft
Generates SBOMs from deployed artifacts for ongoing monitoring./p>
|
|
OpenSCAP
Collects and stores compliance scan data.
|
|
Wazuh SIEM
SIEM with audit logging, threat detection, and compliance monitoring.
|
|
Grype
Detects CVEs in deployed images and file systems.
|
|
In-Toto
Validates that deployed artifacts match the cryptographic attestations from the build process.
|
|
Sigstore Rekor
Provides a public, immutable log for signatures and provenance data.
|
|
Inspec
Audit deployed infrastructure and applications against security baselines and compliance requirements.
|
|
Trivy
Continuous vulnerability scanning + SBOM generation for running systems.
|
|
DefectDojo
Stores and organizes security scan results; integrates with Trivy, Grype, and Dependency-Track.
|
PO.5
Implement and Maintain Secure Environments for Software Development: Ensure that all components of the environments for software development are strongly protected from internal and external threats to prevent compromises of the
environments or the software being developed or maintained within them. Examples of environments for software development include development, build, test, and distribution environments.
To satisfy SSDF PO.5 in a post-deployment context using open-source tools, the focus shifts to:
-
The security requirements for your development infrastructure are still relevant and enforced after software is released.
-
Your build, deployment, and monitoring environments remain hardened and compliant.
-
You continuously validate that your development infrastructure hasn’t drifted from its secure baseline.
| Tasks |
Tools |
PO.5.1:
Separate and protect each environment involved in software development.
PO.5.2:
Secure and harden development endpoints (i.e., endpoints for software designers, developers, testers, builders, etc.) to perform development-related tasks using a risk-based approach.
|
|
Inspec
Runs ongoing compliance scans against development and build servers; enforce CIS/NIST benchmarks.
|
|
OpenSCAP
Check infrastructure against defined security baselines.
|
|
OSQuery
Monitor build and deployment nodes for unauthorized changes.
|
|
Kube-bench
Validates Kubernetes-based build/test clusters meet CIS benchmarks.
|
|
Open Policy Agent - GateKeeper
Enforce rules for infrastructure configuration (Kubernetes, Terraform, CI/CD).
|
|
Kyverno
Kubernetes-native policy enforcement for cluster security./p>
|
|
Jenkins
Hardened CI/CD pipelines with access controls and audit logs.
|
|
Nexus Repository OSS
Securely store build artifacts post-deployment; apply access controls.
|
|
Harbor
Container registry with built-in vulnerability scanning and RBAC.
|
|
Wazuh SIEM
Ingests infrastructure security logs and alerts on violations.
|
|
Falco
Detect unauthorized activity in build/deployment clusters or runner nodes.
|
|
Prometheus + Alertmanager
Monitor infrastructure security metrics and trigger notifications.
|
|
In-Toto
Validates that deployed artifacts match the cryptographic attestations from the build process.
|
|
Sigstore Rekor
Maintain an immutable, tamper-evident log of signed infrastructure configuration files.
|
1.3.2 - Protect the Software (PS)
Protect the Software (PS) Phase 3 Tasks
Protect the Software (PS) for Post Deploy Tasks
Protect the Software (PS): Organizations should protect all components of their
software from tampering and unauthorized access.
PS.1
Protect All Forms of Code from Unauthorized Access and Tampering : Help prevent unauthorized changes to code, both inadvertent and intentional, which could circumvent or negate the intended security characteristics of the software. For code that is not intended to be publicly accessible, this helps prevent theft of the software and may make it more difficult or time-consuming for attackers to find vulnerabilities in the software.
To satisfy SSDF PS.1 in a post-deployment context using open-source tools, the focus shifts from just defining to:
-
Protecting deployed artifacts (binaries, containers, scripts, configs) from being altered in production
-
Ensuring post-deployment code integrity is verifiable at any time
-
Maintaining secure storage, transport, and retrieval of code and artifacts
-
Keeping an audit trail for all modifications and access
| Tasks |
Tools |
PS.1.1:
Store all forms of code including source code, executable code, and configuration-as-code based on the principle of least privilege so that only authorized personnel, tools, services, etc. have access.
|
Cosign Sigstore
Sign and verify container images, binaries, and other artifacts.
|
|
Rekor Sigstore
Immutable public transparency log for signatures and metadata.
|
|
In-Toto
End-to-end supply chain verification to ensure deployed artifacts came from trusted sources.
|
|
Gnu Privacy GuardG
Sign and verify any file type, including tarballs and configuration files.
|
|
Harbor
Container registry with built-in vulnerability scanning, content signing, and RBAC.
|
|
Sonatype Nexus OSS
Secure artifact repository with access controls.
|
|
JFrog Artifactory OSS
Manages binary repositories with fine-grained permissions.
|
|
Tripwire OSS
Monitors filesystem for unauthorized changes.
|
|
AIDE (Advanced Intrusion Detection Environment)
Creates a baseline of files and detects alterations.
|
|
Falco
Detects suspicious activity in Kubernetes or container environments, including file changes.
|
|
Kubernetes RBAC + OPA Gatekeeper
Enforces role-based policies for container image deployment.
|
|
Keycloak
Centralized authentication/authorization for artifact registries and CI/CD systems.
|
|
Wazuh
SIEM platform that monitors access logs and alerts on anomalies.
|
|
Ortelius Evidence Store
Tracks which version of a service is deployed where, and links to its signed SBOM.
|
|
Syft
Generates SBOMs for deployed artifacts for later verification.
|
|
OWASP Dependency-Track
Monitors components in deployed artifacts against CVE feeds.
|
PS.2
Provide a Mechanism for Verifying Software Release Integrity: Help software acquirers ensure that the software they acquire is legitimate and has not been tampered with. Make software integrity verification information available to software acquirers.
To satisfy SSDF PS.2 in a post-deployment context using open-source tools, the focus shifts to:
-
Keeping exact copies of every release artifact (binaries, containers, configs, SBOMs)
-
Recording and publishing cryptographic verification data (signatures, hashes, attestations)
-
Ensuring acquirers can confirm that what they have matches the trusted, official release
| Tasks |
Tools |
PS.2.1:
Make software integrity verification information available to software acquirers.
|
Harbor
Container registry with image retention policies, RBAC, and content trust.
|
|
Sonatype Nexus OSS
Artifact repository for storing binaries and dependencies.
|
|
JFrog Artifactory OSS
Binary management with retention and access control.
|
|
GitHub
Tag and store release binaries, SBOMs, and checksums.
|
|
Sigstore cosign
Sign and verify container images, SBOMs, and other artifacts.
|
|
Sigstore Rekor
Immutable transparency log for all signed artifacts and metadata.
|
|
Gnu Privacy Guard
Sign and verify tarballs, binaries, or SBOM files.
|
|
In-Toto
Provide end-to-end build provenance verification.
|
|
Ortelius
Maps deployed services to specific versions and their SBOMs.
|
|
Syft
Generates SBOMs from deployed artifacts.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
|
OWASP Dependency-Track
Continuously monitors SBOMs for new CVEs in preserved releases.
|
|
AIDE (Advanced Intrusion Detection Environment)
Filesystem integrity checker to detect changes in stored artifacts.
|
|
Tripwire OSS
Baseline and monitor stored release directories for modifications.
|
|
Wazuh
SIEM that audits artifact repository activity.
|
|
AuditD
Linux-level auditing for access to preserved release files.
|
|
Kubernetes RBAC / Keycloak
Restrict who can upload or modify artifacts in registries.
|
PS.3
Archive and Protect Each Software Release: Preserve software releases in order to help identify, analyze, and eliminate vulnerabilities discovered in the software after release.
To satisfy SSDF PS.3 in a post-deployment context using open-source tools, the focus shifts to:
-
Keeping a tamper-proof record of every software component in each release
-
Ensuring provenance data remains accessible for audits, investigations, and vulnerability response
-
Allowing acquirers and downstream users to independently verify the origin and integrity of every component
| Tasks |
Tools |
PS.3.1:
Securely archive the necessary files and supporting data (e.g., integrity verification information, provenance data) to be retained for each software release.
PS.3.2:
Collect, safeguard, maintain, and share provenance data for all components of each software release (e.g., in a software bill of materials -SBOM).
|
Syft
Generate SBOMs from deployed containers, VMs, or file systems (SPDX & CycloneDX formats).
|
|
Trivy
Create SBOMs and scan for vulnerabilities in deployed systems.
|
|
In-Toto
Record build steps and supply chain metadata as signed “link” files.
|
|
Cosign Attest
Capture build and deployment provenance as signed attestations.
|
|
Gnu Privacy Guard
Sign SBOMs and metadata for offline or private distribution.
|
|
Rekor
Store signatures and attestations in an immutable, public transparency log.
|
|
Tripwire OSS
Detect unauthorized changes in locally stored provenance archives.
|
|
AIDE (Advanced Intrusion Detection Environment)
Detect unauthorized changes in locally stored provenance archives.
|
|
Ortelius Evidence Store
Version and track deployed services and their SBOMs; link them to environments and releases. API/UI access for sharing SBOM and component history for specific releases.
|
|
Dependency Track
Continuously monitor preserved SBOMs for new CVEs.
|
|
Harbor
Attach SBOMs and signatures to container images in a registry.
|
|
CycloneDX BOM Portal (OSS)
Host and validate SBOMs in a web-accessible interface.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
1.3.3 - Produce Well-Secured Software (PW)
Produce Well-Secured Software (PW) Phase 3 Tasks
Produce Well-Secured Software (PW) for Post Deploy Tasks
Organizations should produce well-secured software with minimal security vulnerabilities in its releases.
PW.1
Design Software to Meet Security Requirements and Mitigate Security Risks: Identify and evaluate the security requirements for the software; determine what security risks the software is likely to face during operation and how the software’s design and architecture should mitigate those risks; and justify any cases where risk-based analysis indicates that security requirements should be relaxed or waived. Addressing security requirements and risks during software design (secure by design) is key for improving software security and also helps improve development efficiency.
To satisfy SSDF PW.1 in a post-deployment context using open-source tools, the focus shifts to:
-
Keeping a tamper-proof record of every software component in each release
-
Ensuring provenance data remains accessible for audits, investigations, and vulnerability response
-
Allowing acquirers and downstream users to independently verify the origin and integrity of every component
| Tasks |
Tools |
PW.1.1:
Use forms of risk modeling, such as threat modeling, attack modeling, or attack surface mapping to help assess the security risk for the software.
PW.1.2:
Track and maintain the software’s security requirements, risks, and design decisions.
PW.1.3:
Where appropriate, build in support for using standardized security features and services (e.g., enabling software to integrate with existing log management, identity management, access control, and vulnerability management systems) instead of creating proprietary implementations of security features and services.
|
|
Semgrep
Static and Dynamic Analysis that an be run against deployed codebases in staging mirrors to detect insecure patterns.
|
|
Wapiti
Web application security scanner for deployed apps.
|
|
Zap (Zed Attack Proxy)
Active and passive testing of live apps for vulnerabilities.
|
|
Inspec
Validates that deployed applications meet secure coding standards.
|
|
Ortelius
10 minute synchronizing to OSV.dev for new vulnerability detection in deployed artifacts.
|
|
OpenSCAP
Scans systems for compliance with security coding-related baselines.
|
|
Falco
Logging and Monitoring - Detects insecure behavior at runtime (e.g., unsafe system calls).
|
|
Wazuh
Monitors application and OS logs for security-related events.
|
|
AuditD
Captures low-level system calls related to code execution.
|
|
Syft
Generates SBOMs for deployed applications for ongoing monitoring.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
|
OWASP Dependency-Track
Continuously tracks SBOMs for new vulnerabilities
|
|
Trivy
Scans deployed containers/filesystems for known CVEs in code and dependencies.
|
|
Grype
Focused vulnerability scanning for deployed artifacts.
|
PW.2
Review the Software Design to Verify Compliance with Security Requirements and Risk Information:Help ensure that the software will meet the security requirements and satisfactorily address the identified risk information.
To satisfy SSDF PW.2 in a post-deployment context using open-source tools, the focus shifts to:
-
Continuous verification that deployed code (source or binary) hasn’t been tampered with.
-
Ongoing vulnerability assessment of deployed applications and components.
-
Post-release code review triggers when a vulnerability or incident is detected.
-
Auditable evidence that deployed software matches approved, reviewed code.
| Tasks |
Tools |
PW.2.1:
Have (1) a qualified person (or people) who were not involved with the design and/or (2) automated processes instantiated in the toolchain review the software design to confirm and enforce that it meets all of the security requirements and satisfactorily addresses the identified risk information.
|
|
Sigstore Cosign
Verify deployed containers and binaries were signed at build time.
|
|
Rekore
Store verification data and attestations in a tamper-evident log.
|
|
In-Toto
Ensure deployed code matches the reviewed build pipeline steps.
|
|
Tripwire OSS
Monitor deployed files for unauthorized changes.
|
|
Semgrep
Review mirrored deployed code for security issues or policy violations.
|
|
GitHub CodeQL
Advanced code queries to detect vulnerability patterns.
|
|
Wapiti
Web vulnerability scanning against deployed endpoints.
|
|
Ortelius
Track vulnerabilities to live endpoints for quick remediation times.
|
|
Zap (Zed Attack Proxy)
Automated and manual DAST testing for live applications.
|
|
Nikto
Server-focused vulnerability scanning.
|
|
OpenSCAP
Map results to compliance baselines.
|
|
DefectDojo
Track vulnerabilities found during post-deployment reviews and link to remediation./p>
|
PW.4
Reuse Existing, Well-Secured Software When Feasible Instead of Duplicating Functionality : Lower the costs of software development, expedite software development, and decrease the likelihood of introducing additional security vulnerabilities into the software by reusing software modules and services that have already had their security posture checked. This is particularly important for software that implements security functionality, such as cryptographic modules and protocols.
Note: PW.3 moved to PW.4
To satisfy SSDF PW.4 in a post-deployment context using open-source tools, the focus shifts to:
-
Vulnerability detection runs continuously on production or production-equivalent environments.
-
Results are triaged and assigned quickly.
-
There is an automated or semi-automated path to remediation (e.g., patching, image rebuild, or component upgrade).
-
All activity is auditable and linked to release artifacts.
| Tasks |
Tools |
PW.4.1:
Acquire and maintain well-secured software components (e.g., software libraries, modules, middleware, frameworks) from commercial, opensource, and other third-party developers for use by the organization’s software.
PW.4.2:
Create and maintain well-secured software components in-house following SDLC processes to meet common internal software development needs that cannot be better met by third-party software components.
PW.4.4:
Verify that acquired commercial, open-source, and all other third-party software components comply with the requirements, as defined by the organization, throughout their life cycles.
|
|
Git
Stores signed vulnerability reports and patch commit metadata.
|
|
Rekore
Logs scan results, remediations, and signatures immutably.
|
|
Ortelius
Audit and evidence retention tracks which environments are running which version, enabling targeted redeployment of patched builds.
|
|
Trivy
Scans running containers, filesystems, and Kubernetes clusters; also generates SBOMs.
|
|
Grype
SBOM-driven vulnerability scanning for images and directories.
|
|
Clair
Monitors container registries for vulnerable images.
|
|
OpenVAS / Greenbone
Network and host vulnerability scanning.
|
|
Syft
Generates SBOMs from deployed environments.
|
|
OWASP Dependency-Track
CWatches SBOMs for new CVEs and policy violations.
|
|
Vulnix
Nix-based vulnerability scanning from SBOM input.
|
|
Kyverno
Kubernetes-native admission controller enforcing vulnerability thresholds.
|
|
Falco
Detects runtime anomalies that may indicate exploitation.
|
|
Nikto
Server-focused vulnerability scanning.
|
|
Keel
Automates container redeployments when a new image is pushed.
|
|
Kured
Automated Kubernetes node reboots for kernel patching.
|
|
DefectDojo
Centralizes vulnerability data from scanners; assigns remediation tasks and tracks SLAs./p>
|
|
The Hive
Incident response and coordination for urgent vulnerability events./p>
|
PW.5
Create Source Code by Adhering to Secure Coding Practices: Decrease the number of security vulnerabilities in the software, and reduce costs by minimizing vulnerabilities introduced during source code creation that meet or exceed organization-defined vulnerability severity criteria.
To satisfy SSDF PW.5 in a post-deployment context using open-source tools, the focus shifts to:
-
Ongoing verification of integrity, compliance, and security posture for deployed software.
-
Continuous checks to ensure that the running software still meets the security requirements it had at release.
-
Detecting drift, newly introduced vulnerabilities, and configuration changes.
-
Maintaining verifiable evidence of these checks over time.
| Tasks |
Tools |
PW.5.1:
Follow all secure coding practices that are appropriate to the development languages and environment to meet the organization’s requirements.
|
|
Trivy
Ongoing scans of deployed containers, filesystems, and Kubernetes clusters.
|
|
Grype
Detect CVEs in deployed SBOMs or images.
|
|
Clair
Continuous vulnerability scanning for registry images.
|
|
Syft
Generate SBOMs from running systems for ongoing monitoring.
|
|
Inspec
Define and run compliance checks (CIS, NIST, org-specific policies) against deployed environments.
|
|
OpenSCAP
Evaluate running systems against security baselines.
|
|
Kube-bench
Validate Kubernetes deployments against CIS benchmarks.
|
|
Kube-hunter
Identify potential attack paths in deployed Kubernetes clusters.
|
|
Falco
Detect runtime changes to files, processes, and network behavior.
|
|
AIDE
File integrity monitoring to ensure binaries/configs aren’t altered.
|
|
osquery
Query system state to detect unauthorized configuration changes.
|
|
Open Policy Agent
Enforce continuous compliance policies at runtime.
|
|
Kyverno
Kubernetes-native policy engine to prevent insecure updates.
|
|
DefectDojo
Centralize verification results and track issues over time./p>
|
|
Rekor
Store signed verification reports in a tamper-proof ledger.
|
PW.6
Configure the Compilation, Interpreter, and Build Processes to Improve Executable Security: Decrease the number of security vulnerabilities in the software and reduce costs by eliminating vulnerabilities before testing occurs.
To satisfy SSDF PW.6 in a post-deployment context using open-source tools, the focus shifts to:
-
Running scheduled scans on running containers, VMs, and registries; integrate with SBOM monitoring
-
Maintain SBOMs for deployed software; monitor for new CVEs.
-
Score findings (CVSS, EPSS); prioritize fixes based on severity & exploitability.
-
Auto-rebuild/redeploy when patched images are available.
| Tasks |
Tools |
PW.6.1:
Use compiler, interpreter, and build tools that offer features to improve executable security.
PW.6.2:
Determine which compiler, interpreter, and build tool features should be used and how each should be configured, then implement and use the approved configurations.
|
|
Trivy
Trivy runs weekly scans on all production container images and hosts → results are signed and logged in Rekor.
|
|
Syft
Regenerates SBOMs for deployed artifacts, and flags new CVEs.
|
|
DefectDojo
CVSS scoring + SLA assignment to owners./p>
|
|
Keel
Auto-rebuild/redeploy when patched images are available
|
|
Kured
Automated Kubernetes node reboots for kernel patching.
|
|
Argo Rollouts
Use canary/staged rollouts for patched versions.
|
|
OpenVAS
Run scheduled scans on running containers, VMs, and registries; integrate with SBOM monitoring
|
|
Rekor
Store signed records of detection, triage, fix, and verification
|
PW.7
Review and/or Analyze Human-Readable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities. Human-readable code includes source code, scripts, and any other form of code that an organization deems human readable.
To satisfy SSDF PW.7 in a post-deployment context using open-source tools, the focus shifts to:
-
Maintain a record showing that the deployed version went through the organization’s required code review and/or automated analysis process.
-
Ensure all emergency/hotfix patches pushed post-deployment are also reviewed or analyzed — even if done after release.
-
Maintain Audit-Ready Evidence
| Tasks |
Tools |
PW.7.1:
Determine whether code review (a person looks directly at the code to find issues) and/or code analysis (tools are used to find issues in code, either in a fully automated way or in conjunction with a person) should be used, as defined by the organization.
PW.7.2:
Perform the code review and/or code analysis based on the organization’s secure coding standards, and record and triage all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
Semgrep
Run SAST against the exact code linked to deployed binaries; include dependency scanning
|
|
GitHub CodeQL
Re-run code analysis on production mirrors.
|
|
DefectDojo
Keeps immutable records of all reviews, approvals, and automated analysis runs
|
|
Rekor
Signed commits, protected branch history, scan results.
|
PW.8
Test Executable Code to Identify Vulnerabilities and Verify Compliance with Security Requirements: Help identify vulnerabilities so that they can be corrected before the software is released in order to prevent exploitation. Using automated methods lowers the effort and resources needed to detect vulnerabilities and improves traceability and repeatability. Executable code includes binaries, directly executed bytecode and source code,
and any other form of code that an organization deems executable.
To satisfy SSDF PW.8 in a post-deployment context using open-source tools, the focus shifts to:
-
Continuously Test Deployed Executables for Vulnerabilities
-
Verify Compliance with Security Requirements
-
Feed Findings Back into Development
| Tasks |
Tools |
PW.8.1:
Determine whether executable code testing should be performed to find vulnerabilities not identified by previous reviews, analysis, or testing and, if so, which types of testing should be used.
PW.8.2:
Scope the testing, design the tests, perform the testing, and document the results, including recording and triaging all discovered issues and recommended remediations in the development team’s workflow or issue tracking system.
|
|
Trivy
Scans deployed containers/filesystems for known CVEs in code and dependencies.
|
|
Grype
Focused vulnerability scanning for deployed artifacts.
|
|
Ortelius
10 minute synchronizing to OSV.dev for new vulnerability detection in deployed artifacts.
|
|
OpenVAS / Greenbone
Network and host vulnerability scanning.
|
|
Inspec
Map scan results to security standards (NIST, CIS, OWASP ASVS)
|
|
OpenSCAP
Compliance scan outputs, baseline profiles, exception docs.
|
|
Wapiti
DAST, fuzzing, and runtime monitoring to detect insecure behavior
|
|
Zap (Zed Attack Proxy)
DAST/fuzzing reports.
|
PW.9
Configure Software to Have Secure Settings by Default: Help improve the security of the software at the time of installation to reduce the likelihood of the software being deployed with weak security settings, putting it at greater risk of compromise.
To satisfy SSDF PW.9 in a post-deployment context using open-source tools, the focus shifts to:
-
Check deployed software and infrastructure against the organization’s secure configuration baseline (e.g., NIST 800-53, CIS Benchmarks, DISA STIGs).
-
Use policy-as-code and configuration management tools to keep deployed systems in compliance.
-
Integrate configuration checks into runtime monitoring
| Tasks |
Tools |
PW.9.1:
Define a secure baseline by determining how to configure each setting that has an effect on security or a security-related setting so that the default settings are secure and do not weaken the security functions provided by the platform, network infrastructure, or services.
PW.9.2:
Implement the default settings (or groups of default settings, if applicable), and document each setting for software administrators.
|
|
Ortelius
Continuously monitors drift in container configurations.
|
|
Inspec
Compare deployed systems against secure configuration baselines (NIST, CIS, STIG)
|
|
OpenSCAP
Compare deployed systems against secure configuration baselines (NIST, CIS, STIG).
|
|
Falco
Continuously monitor config changes; alert or auto-remediate deviations.
|
|
Wazuh
Drift detection logs, remediation actions.
|
|
Ansible
Policy-as-code and config management to ensure all deployments match baseline
|
|
Saltstack
Config playbooks, enforcement logs, policy change history.
|
|
Git
Store signed scan results and drift detection records in tamper-evident systems.
|
1.3.4 - Respond to Vulnerabilities (RV)
Respond to Vulnerabilities (RV) Phase 3 Tasks
Respond to Vulnerabilities (RV) Post Deploy Tasks
Respond to Vulnerabilities (RV): Organizations should identify residual vulnerabilities
in their software releases and respond appropriately to address those vulnerabilities and prevent similar ones from occurring in the future.
RV.1
Identify and Confirm Vulnerabilities on an Ongoing Basis: Help ensure that vulnerabilities are identified more quickly so that they can be remediated more quickly in accordance with risk, reducing the window of opportunity for attackers.
To satisfy SSDF RV.1 in a post-deployment context using open-source tools, the focus shifts to:
-
Continuously scanning live environments for new vulnerabilities
-
Correlating detected vulnerabilities to deployed components and SBOM data
-
Validating whether vulnerabilities are exploitable in the specific environment
-
Prioritizing remediation based on severity, exploitability, and operational impact
| Tasks |
Tools |
RV.1.1:
Gather information from software acquirers, users, and public sources on potential vulnerabilities in the software and third-party components that the software uses, and investigate all credible reports.
RV.1.2:
Review, analyze, and/or test the software’s code to identify or confirm the presence of previously undetected vulnerabilities.
RV.1.3:
Have a policy that addresses vulnerability disclosure and remediation, and implement the roles, responsibilities, and processes needed to support that policy.
|
|
OWASP Dependency Track
Integrates with live SBOMs to detect and alert on vulnerabilities after release.
|
|
Ortelius
Links detected vulnerabilities directly to deployed service versions for traceability.
|
|
DefectDojo
Central vulnerability management hub with metrics and tracking.
|
|
Trivy
Identify vulnerabilities in images already deployed in Kubernetes or Docker environments.
|
|
Grype
Works with Syft-generated SBOMs to continuously check for new CVEs.
|
|
OpenSCAP
Provide scheduled compliance scans alongside vulnerability checks.
|
|
VEX (Vulnerability Exploitability eXchange) + OpenVEX
Helps teams prioritize remediation by filtering out non-exploitable vulnerabilities.
|
|
Syft
MFeed live SBOMs into scanners like Dependency-Track or Grype.
|
|
Hoppr
Hoppr is an SBOM / supply-chain utility kit—SBOM processing and movement of supply-chain “materials” aligns to provenance collection/maintenance/sharing.
|
RV.2
Assess, Prioritize, and Remediate Vulnerabilities: Help ensure that
vulnerabilities are remediated in accordance with risk to reduce the window of opportunity for attackers.
To satisfy SSDF RV.2 in a post-deployment context using open-source tools, the focus shifts to:
-
Determining which vulnerabilities matter most in the deployed context
-
Using exploitability, business impact, and compliance requirements for prioritization
-
Executing timely remediation or mitigation actions in live environments
-
Tracking remediation status to closure with audit-ready records
| Tasks |
Tools |
RV.2.1:
Analyze each vulnerability to gather sufficient information about risk to plan its remediation or other risk response.
RV.2.2:
Plan and implement risk responses for vulnerabilities.
|
|
DefectDojo
Centralizes risk scoring, workflow management, and reporting for remediation progress.
|
|
OWASP Dependency Track
Provides real-time vulnerability prioritization and integrates with issue tracking systems.
|
|
Ortelius
Enables environment-specific remediation prioritization and impact assessment.
|
|
Jenkins + OPA (Open Policy Agent)
Enforce remediation SLAs and automate rollouts of fixed versions.
|
|
Trivy + Grype
Continuous scanning plus integration with CI/CD to push patched artifacts.
|
|
GitHub/GitLab Issues + Automation Bots
Ensures no vulnerability is left without a tracked remediation action.
|
|
Kubebench + Falco (Runtime Security)
Provides real-time signals to prioritize operational security fixes.
|
RV.3
Analyze Vulnerabilities to Identify Their Root Causes: Help reduce the frequency of vulnerabilities in the future.
To satisfy SSDF RV.3 in a post-deployment context using open-source tools, the focus shifts to:
-
Determining whether it originated in coding, dependencies, build processes, or deployment configurations
-
Documenting lessons learned to prevent recurrence
-
Feeding analysis results back into security requirements, pipelines, and developer training
| Tasks |
Tools |
RV.3.1:
Analyze identified vulnerabilities to determine their root causes.
RV.3.2:
Analyze the root causes over time to identify patterns, such as a particular secure coding practice not being followed consistently.
RV.3.3:
Review the software for similar vulnerabilities to eradicate a class of vulnerabilities, and proactively fix them rather than waiting for external reports.
RV.3.4:
Review the SDLC process, and update it if appropriate to prevent (or reduce the likelihood of) the root cause recurring in updates to the software or in new software that is created.
|
|
Ortelius
Supports forensic analysis by tracking when and where a vulnerable component entered the system.
|
|
DefectDojo
Maintains historical data to identify trends in vulnerability origins.
|
|
GitHub
Supports forensic traceability and accountability in root cause analysis.
|
|
Syft + Dependency Track
Enables version-diff SBOM analysis for root cause investigations.
|
|
Semgrep
Assists in determining whether vulnerabilities stem from code-level issues.
|
|
OpenSCAP
Enables root cause mapping to configuration weaknesses.
|
|
Trivy + Grype
Provides temporal context for root cause timelines.
|
|
OSQuery
Supports deep inspection during vulnerability forensics.
|
2 -
The Cyber Reslience Act (CRA) - Overview
The European Union Cyber Resilience Act (CRA) is a regulation designed to strengthen the cybersecurity of products with digital elements throughout their entire lifecycle. It establishes mandatory cybersecurity requirements for manufacturers, including secure-by-design development, cybersecurity risk assessments, software component transparency, vulnerability management, security updates, and coordinated vulnerability disclosure. Unlike traditional security practices that focus primarily on development and release, the CRA emphasizes continuous security after deployment, requiring manufacturers to identify, assess, and remediate vulnerabilities throughout a product’s support period. The regulation also establishes requirements for reporting actively exploited vulnerabilities and severe security incidents. For DevOps and platform engineering teams, the CRA reinforces the need to integrate cybersecurity practices across the entire CI/CD lifecycle—from Code and Prebuild through Build and Deploy to Post Deployment—while maintaining the evidence necessary to demonstrate compliance.
The CRA requirements which are addressed by this guide are principally found in Article 13, Article 14, Annex I Part I, Annex I Part II, and Annex VII. These requirements span several phases, so the mapping below assigns each activity to its primary implementation point.
Phase 1 — Code and Prebuild
Objective: Prevent cybersecurity risks from being introduced during product planning, design, coding, and dependency selection. The CRA requires manufacturers to assess cybersecurity risks throughout the product lifecycle and design products with security appropriate to those risks. For DevOps teams, Phase 1 converts these requirements into development policies, threat modeling, dependency governance, secure coding practices, and vulnerability disclosure procedures.
Phase 2 - Build and Deploy
Objective: Produce, validate, and distribute software releases that meet the product’s applicable cybersecurity requirements. Phase 2 ensures that security requirements established during development are verified before a software release is made available. The CRA requires products to meet applicable security requirements, including the absence of known exploitable vulnerabilities when placed on the market, subject to the product risk assessment and regulatory provisions.
Post Deployment
Objective: Continuously identify and address vulnerabilities, maintain security throughout the support period, and provide required disclosures and incident notifications. This phase deserves particular attention. The CRA does not treat security as complete when a software release passes its build-time checks. Manufacturers must operate vulnerability handling processes throughout the applicable support period, including handling vulnerabilities in third-party components and making security updates available.
2.1 - Code and Prebuild Tasks
The Cyber Reslience Act Tasks related to Code and Prebuild: Phase 1
Achieving Code and Prebuild Tasks of the Cyber Resilence Act
The European Union Cyber Resilience Act (CRA) establishes cybersecurity requirements for products with digital elements throughout their lifecycle. During Code and Prebuild, organizations should incorporate cybersecurity risk assessments, secure-by-design principles, third-party dependency reviews, and vulnerability disclosure planning into their software development practices.
This phase focuses on preventing security vulnerabilities before software enters the build pipeline. By integrating CRA-aligned practices into developer workflows, organizations can identify risks earlier, reduce dependency exposure, and establish the processes needed to maintain product security after deployment.
The following activities map CRA requirements to actionable CI/CD practices and suggested open-source tools. The tools are illustrative and are not mandated by the regulation.
2.1.1 - Security Risk Assessment - Code and Prebuild
Security Risk Assessment for Code and Prebuild Activities
CRA Security Risk Assessment - Phase 1: Code and Prebuild
The European Union Cyber Resilience Act (CRA) establishes cybersecurity requirements for products with digital elements throughout their lifecycle. During Code and Prebuild, organizations should incorporate cybersecurity risk assessments, secure-by-design principles, third-party dependency reviews, and vulnerability disclosure planning into their software development practices.
This phase focuses on preventing security vulnerabilities before software enters the build pipeline. By integrating CRA-aligned practices into developer workflows, organizations can identify risks earlier, reduce dependency exposure, and establish the processes needed to maintain product security after deployment.
The following activities map CRA requirements to actionable CI/CD practices and suggested open-source tools. The tools are illustrative and are not mandated by the regulation.
CRA Security Risk Assessment
Objective: Identify, evaluate, and document cybersecurity risks before software development and throughout the product lifecycle.
Article 13 requires manufacturers to perform cybersecurity risk assessments that consider the intended purpose, reasonably foreseeable use, operational environment, and expected lifetime of products with digital elements. These assessments inform the selection of appropriate cybersecurity controls and must be documented and updated as appropriate during the product’s support period.
For DevOps teams, risk assessments should be integrated into application planning, architecture reviews, and development workflows. Threat modeling can help identify potential attack vectors, vulnerable components, insecure configurations, and risks introduced by software dependencies. Identified risks should be tracked as development tasks, with appropriate mitigation strategies and documented decisions.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Article 13(2)–(3) |
Cybersecurity risk assessment |
Identify and assess security risks during planning and design; reassess when product functionality or threats change. |
OWASP Threat Dragon |
| Article 13(3) |
Threat identification and analysis |
Evaluate potential attack vectors, operational environments, and assets requiring protection. |
OWASP Threat Dragon, OWASP pytm |
| Article 13(4), Article 31, Annex VII |
Risk assessment documentation |
Record identified risks, mitigation decisions, and applicable security requirements as part of product technical documentation. |
OWASP Threat Dragon, DefectDojo |
| Annex I, Part I(1) |
Risk-based security controls |
Define appropriate security controls based on product risks and expected operational conditions. |
Open Policy Agent, Semgrep |
Expected Compliance Evidence
- Documented cybersecurity risk assessments.
- Threat models and architectural security reviews.
- Security requirements derived from identified risks.
- Risk mitigation decisions and assigned responsibilities.
- Records of risk assessment updates.
2.1.2 - Secure-by-Design Requirements - Code and Prebuild
Secure-by-Design Requirements for Code and Prebuild Activities
Secure-by-Design Requirements - Phase 1: Code and Prebuild
Objective: Integrate security requirements directly into software architecture, coding practices, and configuration management.
The CRA establishes essential cybersecurity requirements designed to reduce vulnerabilities and ensure products provide an appropriate level of security. These include secure default configurations, protection against unauthorized access, data confidentiality and integrity, minimization of attack surfaces, and mechanisms for addressing vulnerabilities through security updates.
During Code and Prebuild, development teams should define security requirements before implementation and incorporate automated security checks into developer workflows. Secure coding practices, static application security testing (SAST), secret detection, and policy validation help identify potential weaknesses before software is committed or promoted to the build pipeline.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part I(1) |
Secure-by-design development |
Incorporate security requirements into application architecture, coding standards, and development workflows. |
Semgrep, OWASP Threat Dragon |
| Annex I, Part I(2)(b) |
Secure default configurations |
Establish secure configuration baselines and validate configuration policies before release. |
Open Policy Agent, Checkov |
| Annex I, Part I(2)(d)–(f) |
Access control and data protection |
Define requirements for authentication, authorization, encryption, confidentiality, and data integrity. |
Semgrep, Gitleaks |
| Annex I, Part I(2)(g) |
Data minimization |
Identify unnecessary data collection and define controls to limit data processing. |
Semgrep, Open Policy Agent |
| Annex I, Part I(2)(j)–(k) |
Attack surface reduction and exploit mitigation |
Identify unnecessary services, exposed interfaces, and potential exploit paths. |
OWASP Threat Dragon, Semgrep |
| Annex I, Part I(2)(c) |
Security update readiness |
Design software components and configurations to support secure vulnerability remediation and updates. |
Open Policy Agent, Renovate |
Expected Compliance Evidence
- Secure coding standards and development policies.
- Application security architecture documentation.
- Static analysis and secrets scanning results.
- Configuration policy definitions and validation results.
- Security-focused code review records.
- Documented security update design requirements.
2.1.3 - Third-Party Dependency Due Diligence - Code and Prebuild
Third-Party Dependency Due Diligence for Code and Prebuild Activities
Third-Party Dependency Due Diligence - Phase 1: Code and Prebuild
Objective: Reduce software supply chain risks by evaluating open-source and commercial dependencies before they are incorporated into products.
Article 13(5) requires manufacturers to exercise due diligence when integrating third-party components, including free and open-source software, to ensure those components do not compromise product cybersecurity.
For DevOps teams, this means establishing dependency governance practices that evaluate known vulnerabilities, project maintenance, security practices, and dependency provenance before adding new libraries, frameworks, or packages.
Dependency inventories should be maintained throughout development and should provide the foundation for generating a machine-readable Software Bill of Materials (SBOM) during the build process. Automated scanning can identify known vulnerabilities, while project security assessments can help teams understand risks associated with open-source components.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Article 13(5) |
Third-party dependency due diligence |
Evaluate security risks associated with open-source and commercial dependencies before adoption. |
OpenSSF Scorecard, OSV-Scanner |
| Article 13(5) |
Open-source project security assessment |
Review project maintenance, security policies, vulnerability history, and development practices. |
OpenSSF Scorecard |
| Annex I, Part II(1) |
Dependency identification and inventory |
Track direct and transitive dependencies and prepare component information for SBOM generation. |
Syft, CycloneDX |
| Annex I, Part II(1)–(2) |
Known vulnerability identification |
Identify known vulnerabilities in dependencies and initiate risk-based remediation. |
OSV-Scanner, OWASP Dependency-Check |
| Article 13(5)–(6) |
Dependency vulnerability response |
Establish processes for reviewing, updating, replacing, and reporting vulnerabilities in third-party components. |
Renovate, OSV-Scanner |
Expected Compliance Evidence
- Approved dependency inventories.
- Third-party component security assessments.
- Open-source project risk evaluations.
- Dependency vulnerability scanning results.
- Dependency upgrade and remediation records.
- Documented component selection and exception decisions.
2.1.4 - Vulnerability Disclousres Preperation - Code and Prebuild
Vulnerability Disclousres Preperation for Code and Prebuild Activities
Vulnerability Disclosure Preparation - Phase 1: Code and Prebuild
Objective: Establish processes for receiving, evaluating, coordinating, and responding to vulnerability reports before a product is released.
The CRA requires manufacturers to establish and enforce coordinated vulnerability disclosure policies and provide mechanisms for reporting potential vulnerabilities in their products and included third-party components.
During Code and Prebuild, organizations should define how security researchers, customers, developers, and external contributors can report vulnerabilities. These processes should include a published security contact, confidential reporting channels, vulnerability triage procedures, and clear responsibilities for investigation and remediation.
For DevOps teams, disclosure preparation should integrate with development issue tracking, dependency management, and security response workflows. Establishing these processes early ensures that vulnerabilities discovered after deployment can be evaluated, assigned, and addressed efficiently.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part II(5) |
Coordinated vulnerability disclosure policy |
Publish and maintain procedures for vulnerability reporting, evaluation, coordination, and disclosure. |
GitHub Security Advisories, DefectDojo |
| Annex I, Part II(6) |
Vulnerability reporting contact |
Establish a security contact and confidential reporting mechanism for product and third-party component vulnerabilities. |
GitHub Private Vulnerability Reporting |
| Annex I, Part II(2), Article 13(6) |
Vulnerability triage and remediation planning |
Define processes for assessing reported vulnerabilities, assigning ownership, and coordinating fixes with component maintainers. |
DefectDojo, OSV |
| Annex I, Part II(4) |
Security advisory preparation |
Establish procedures for documenting affected products, vulnerability severity, fixes, and public security advisories. |
GitHub Security Advisories, OSV |
| Article 14 |
Regulatory reporting readiness |
Define escalation and notification procedures for actively exploited vulnerabilities and severe security incidents that meet CRA reporting criteria. |
DefectDojo, TheHive |
Expected Compliance Evidence
- Published coordinated vulnerability disclosure policy.
- Documented vulnerability reporting contact and channels.
- Vulnerability triage and response procedures.
- Defined vulnerability remediation responsibilities.
- Security advisory templates and disclosure workflows.
- Regulatory incident escalation and reporting procedures.
2.1.5 - Compliance Evidence Summary - Code and Prebuild
Compliance Evidence Summary for Code and Prebuild Activities
Compliance Evidence Summary - Phase 1: Code and Prebuild
Code and Prebuild activities should establish a documented foundation for cybersecurity risk management and secure software development.
Organizations should retain evidence demonstrating that product risks, security requirements, third-party dependencies, and vulnerability disclosure processes were addressed before software entered the build pipeline.
These records should be maintained and updated as appropriate throughout the product lifecycle and should support the technical documentation and vulnerability handling obligations established by the CRA.
References
Implementation Note: The CRA establishes legal obligations for covered products and economic operators. The open-source tools listed above are examples of possible engineering implementations. Their use does not independently demonstrate CRA compliance, and individual security controls should be selected according to the documented product cybersecurity risk assessment.
2.2 - Build and Deploy Tasks
The Cyber Reslience Act for Build/Deploy CI/CD Steps: Phase 2
Achieving Build and Deploy Tasks of the The Cyber Reslience Act
The European Union Cyber Resilience Act (CRA) establishes cybersecurity requirements for products with digital elements throughout their lifecycle. During Build and Deploy, organizations should validate product security, generate and maintain Software Bills of Materials (SBOMs), protect software artifact integrity, and collect the technical evidence necessary to demonstrate compliance.
This phase focuses on ensuring that software releases satisfy applicable cybersecurity requirements before they are distributed or placed on the market. By integrating security testing, vulnerability scanning, SBOM generation, artifact verification, and evidence collection into CI/CD workflows, organizations can identify security weaknesses, prevent the release of insecure artifacts, and establish traceability between source code, builds, releases, and deployed products.
The following activities map CRA requirements to actionable CI/CD practices and suggested open-source tools. The tools are illustrative and are not mandated by the regulation.
2.2.1 - Artifact Integrity and Secure Distribution - Build and Deploy
Artifact Integrity and Secure Distribution for Build and Deploy Activities.
Artifact Integrity and Secure Distribution - Phase 2: Build and Deploy
Objective: Protect software artifacts against unauthorized modification and establish secure mechanisms for distributing products and security updates.
The CRA requires manufacturers to protect the integrity of products with digital elements and provide mechanisms for securely distributing security updates. These requirements help ensure that software received by users has not been tampered with and that product updates can be delivered securely.
During Build and Deploy, DevOps teams should establish controls that verify the authenticity and integrity of software artifacts as they move through build pipelines, artifact repositories, distribution channels, and deployment environments.
Artifact signing, cryptographic verification, software supply chain attestations, and deployment policy enforcement can support these objectives. Organizations should also validate that security updates can be delivered reliably and that update mechanisms protect against unauthorized modifications.
Although the CRA does not mandate specific artifact signing or provenance technologies, these practices can provide supporting evidence of software integrity and secure distribution controls.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part I(2)(f) |
Software integrity protection |
Protect software artifacts, configurations, and release packages against unauthorized modification. |
Sigstore Cosign, Harbor |
| Annex I, Part I(2)(c) |
Secure update capability |
Validate that products support appropriate mechanisms for receiving and applying security updates. |
TUF, Sigstore Cosign |
| Annex I, Part II(7) |
Secure update distribution |
Establish mechanisms for securely distributing security updates and protecting update integrity. |
TUF, Sigstore Cosign, Harbor |
| Annex I, Part II(8) |
Security update delivery and user information |
Validate update availability and delivery workflows, including appropriate user notifications and update instructions. |
Harbor, Flux, Argo CD |
| Article 13(4), Annex VII(2)(c) |
Build and release traceability |
Record build provenance, artifact metadata, and release validation evidence to support the documented security processes. |
in-toto, SLSA, Tekton Chains |
| Annex I, Part I(2)(f) |
Deployment integrity verification |
Validate approved software artifacts and enforce deployment policies before promotion. |
Kyverno, OPA Gatekeeper, Sigstore Cosign |
Expected Compliance Evidence
- Signed software artifacts and verification records.
- Build provenance and software supply chain attestations.
- Artifact repository access and integrity records.
- Secure update validation and distribution test results.
- Deployment policy enforcement logs.
- Release version and artifact traceability information.
- Documented software update and rollback procedures.
2.2.2 - Release Security Validation - Build and Deploy
Release Security Validation for Build and Deploy Activities
CRA Release Security Validation - Phase 2: Build and Deploy
Objective: Verify that software releases satisfy applicable cybersecurity requirements and that known exploitable vulnerabilities are addressed before release.
The CRA requires manufacturers to ensure that products with digital elements meet essential cybersecurity requirements appropriate to their intended purpose and documented cybersecurity risk assessment. These requirements include making products available without known exploitable vulnerabilities, providing secure default configurations, protecting against unauthorized access, and maintaining product integrity and availability.
During Build and Deploy, DevOps teams should integrate automated security testing and vulnerability scanning into CI/CD pipelines. Release security gates should evaluate identified vulnerabilities, validate security configurations, and verify that software meets established security requirements before artifacts are promoted to production or distribution environments.
Security validation should include documented decisions regarding identified vulnerabilities, remediation outcomes, and any remaining risks requiring further evaluation.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part I(2)(a) |
Known exploitable vulnerability checks |
Scan release dependencies and software artifacts for known vulnerabilities; assess exploitability and resolve identified risks before release. |
Trivy, Grype, OSV-Scanner |
| Annex I, Part II(3) |
Security testing and validation |
Execute automated security tests, vulnerability scans, and security reviews as part of build pipelines. |
OWASP ZAP, Trivy, Semgrep |
| Annex I, Part I(2)(b), (d)–(g) |
Secure configuration and data protection |
Validate secure defaults, authentication, authorization, confidentiality, integrity, and data minimization controls. |
Kyverno, Open Policy Agent, OWASP ZAP |
| Annex I, Part I(2)(h)–(l) |
Product security and resilience |
Test availability, attack surface reduction, exploit mitigations, and other applicable security requirements. |
OWASP ZAP, Trivy, Checkov |
| Article 13(2)–(4) |
Risk-based release approval |
Evaluate security findings against the documented product risk assessment and record release decisions. |
DefectDojo, Open Policy Agent |
Expected Compliance Evidence
- Software vulnerability scanning reports.
- Static and dynamic application security testing results.
- Security configuration validation results.
- Identified vulnerability remediation records.
- Release security approval decisions.
- Documented security exceptions and supporting risk assessments.
- CI/CD security gate execution logs.
2.2.3 - SBOM Genearation and Management - Build and Deploy
SBOM Genearation and Management for Build and Deploy Activities.
SBOM Genearation and Management - Phase 2: Build and Deploy
Objective: Establish software component transparency by generating, validating, and maintaining machine-readable Software Bills of Materials.
The CRA requires manufacturers to identify and document vulnerabilities and components contained in their products, including by creating a Software Bill of Materials (SBOM) in a commonly used, machine-readable format covering at least the product’s top-level dependencies.
For DevOps teams, SBOM generation should be integrated into automated build processes. SBOMs should identify software components and dependencies associated with each release and provide a foundation for vulnerability assessment, dependency tracking, and future security updates.
Organizations should maintain version-specific SBOMs and associate them with corresponding build artifacts, release identifiers, and product versions. While the CRA establishes minimum SBOM requirements, including transitive dependencies and retaining deployment associations can improve vulnerability impact analysis and remediation efficiency.
SBOMs should be stored securely, maintained as appropriate throughout the product support period, and made available to competent authorities when legally required.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part II(1) |
SBOM generation |
Automatically generate machine-readable SBOMs covering at least top-level software dependencies. |
Syft, CycloneDX, SPDX |
| Annex I, Part II(1) |
Software component identification |
Identify and document software components, versions, and dependency relationships associated with each product release. |
Syft, OWASP Dependency-Track |
| Annex I, Part II(1)–(2) |
SBOM-based vulnerability analysis |
Correlate SBOM components with known vulnerabilities and initiate remediation workflows. |
OWASP Dependency-Track, OSV-Scanner, Grype |
| Article 13(5), Annex I, Part II(1) |
Third-party dependency traceability |
Track third-party dependencies and associate component information with specific product versions. |
CycloneDX, Syft |
| Article 31, Annex VII(2)(b), (8) |
SBOM retention and documentation |
Maintain SBOM records as part of product technical documentation and support legally required access by market surveillance authorities. |
OWASP Dependency-Track, CycloneDX, SPDX |
Expected Compliance Evidence
- Machine-readable SBOMs associated with product releases.
- Software component and dependency inventories.
- SBOM generation and validation records.
- Component vulnerability assessment reports.
- Product version and SBOM traceability records.
- Documented SBOM retention and access procedures.
- Third-party component identification records.
2.2.4 - Technical Documenatation and Evidence - Build and Deploy
Technical Documenatation and Evidence for Build and Deploy Activities.
Technical Documenatation and Evidence - Phase 2: Build and Deploy
Objective: Maintain the technical records and supporting security evidence needed to demonstrate conformity with applicable CRA requirements.
The CRA requires manufacturers to prepare technical documentation before placing covered products with digital elements on the EU market. This documentation must demonstrate how the product and its associated vulnerability handling processes satisfy applicable essential cybersecurity requirements.
Article 31 and Annex VII establish requirements for technical documentation, including product descriptions, software architecture, cybersecurity risk assessments, vulnerability handling procedures, security testing results, and relevant conformity information.
During Build and Deploy, CI/CD pipelines can automate the collection of evidence generated throughout development and release processes. Security scan results, SBOMs, build attestations, test reports, and release metadata can be associated with specific product versions to establish an auditable record of security activities.
This evidence supports the manufacturer’s conformity assessment obligations, but automated evidence generation does not independently establish CRA conformity. Manufacturers must complete the applicable assessment procedures, prepare the EU declaration of conformity, and affix CE marking when required.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Article 13(12), Article 31 |
Technical documentation preparation |
Assemble technical records demonstrating compliance with applicable product and vulnerability handling requirements before market placement. |
CycloneDX, Syft, Tekton Chains |
| Annex VII(1)–(2) |
Product and release documentation |
Maintain product descriptions, software versions, architecture information, and vulnerability handling procedures. |
CycloneDX, SPDX |
| Annex VII(3)–(4) |
Cybersecurity risk and support-period documentation |
Link documented cybersecurity risk assessments and support-period decisions to product releases. |
DefectDojo, Open Policy Agent |
| Annex VII(6) |
Security test evidence |
Preserve results of security testing and conformity verification activities for each applicable product release. |
OWASP ZAP, Trivy, Tekton Chains |
| Annex VII(2)(b), (8) |
SBOM and vulnerability handling evidence |
Maintain SBOMs, vulnerability disclosure procedures, security contacts, and documentation of secure update mechanisms. |
OWASP Dependency-Track, CycloneDX |
| Article 13(12)–(13), Article 31 |
Documentation maintenance and retention |
Maintain technical documentation and the EU declaration of conformity for the legally required retention period, updating documentation as appropriate. |
Harbor, in-toto |
| Articles 28–30, Article 32 |
Conformity assessment evidence |
Organize release evidence and supporting technical records for the applicable conformity assessment, declaration, and CE marking processes. |
SLSA, Tekton Chains, Sigstore Cosign |
Expected Compliance Evidence
- Product technical documentation and architecture descriptions.
- Version-specific SBOMs and software inventories.
- Cybersecurity risk assessment documentation.
- Security testing and vulnerability scanning reports.
- Artifact integrity and build provenance records.
- Vulnerability handling and secure update procedures.
- Records of applied cybersecurity standards and specifications.
- EU declaration of conformity and applicable conformity assessment records.
- Documentation maintenance and retention policies.
Compliance Evidence Summary
Build and Deploy activities should establish a verifiable record demonstrating that cybersecurity requirements were evaluated and appropriate security controls were applied before a product was distributed or placed on the market.
Organizations should integrate evidence generation into their CI/CD pipelines wherever practical, linking security validation results, SBOMs, signed artifacts, and technical documentation to specific product versions and releases.
These records should support vulnerability management throughout the product support period, enable investigation of newly discovered security issues, and provide traceable documentation for applicable CRA conformity assessment requirements.
References
Implementation Note: The CRA establishes legal obligations for manufacturers and other covered economic operators. The suggested tools represent possible technical implementations and supporting evidence-generation mechanisms. They are not individually mandated by the CRA, and their use alone does not establish regulatory conformity.
2.3 - Post Deployment Tasks
The Cyber Reslience Act for Post Deploy CI/CD Steps: Phase 3
Achieving Post Deploy Tasks of the Secure Software Development Framework
The European Union Cyber Resilience Act (CRA) establishes cybersecurity obligations that extend beyond software development and initial release. Manufacturers of covered products with digital elements must maintain processes for identifying, evaluating, and addressing vulnerabilities throughout the applicable product support period. These responsibilities include monitoring software components for newly disclosed vulnerabilities, determining which products are affected, distributing security updates, and coordinating vulnerability disclosures.
During Post Deployment, organizations must be prepared to respond to vulnerabilities discovered after software has been released. A software component that was considered secure during development may become vulnerable when a new Common Vulnerabilities and Exposures (CVE) record is published. Build-time scanning alone cannot identify every future vulnerability.
For DevOps and platform engineering teams, continuous vulnerability management should extend the CI/CD pipeline into operational environments. By correlating software component inventories, SBOMs, product versions, and deployment records with emerging vulnerability intelligence, organizations can identify affected products, prioritize remediation, and maintain evidence demonstrating ongoing security activities.
The following sections map CRA requirements to actionable Post Deployment practices and suggested open-source tooling. The tools are illustrative and are not mandated by the regulation.
2.3.1 - Affected-Product Identification - Post Deployment
Affected-Product Identification for Post Deployment Activities.
Affected-Product Identification - Phase 3: Post Deployment
Objective: Identify which released products, software versions, and operational deployments are affected when new vulnerabilities are disclosed.
The CRA requires manufacturers to identify and document vulnerabilities and components contained in their products and to assess vulnerabilities according to the risks they pose. Effective vulnerability handling depends on understanding which products contain affected components and whether those components introduce exploitable security risks.
For DevOps teams, this requires establishing traceability between software components, SBOMs, product versions, release artifacts, and the environments where software is deployed.
An SBOM identifies the components contained in a software product or release, but an SBOM alone does not necessarily identify where affected software is currently running. Correlating component inventories with release and deployment metadata provides additional visibility into the operational impact of newly disclosed vulnerabilities.
This process, commonly referred to as vulnerability impact analysis or blast-radius assessment, helps organizations distinguish vulnerabilities affecting actively deployed products from vulnerabilities associated with obsolete or unused releases.
Where deployment information is available, teams can associate affected products with specific environments, endpoints, applications, and responsible owners. This supports faster investigation, targeted remediation, and improved communication with affected users.
While the CRA does not explicitly mandate endpoint-level deployment mapping, this capability can strengthen vulnerability handling and provide supporting evidence of product-specific risk assessment.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part II(1) |
Affected-component identification |
Correlate disclosed vulnerabilities with SBOM components, software versions, and supported products. |
OWASP Dependency-Track, OSV.dev, Ortelius |
| Article 13(8), Annex I, Part II(2) |
Product vulnerability impact assessment |
Determine which product versions are affected and evaluate the risks associated with identified vulnerabilities. |
Ortelius, DefectDojo, OWASP Dependency-Track |
| Annex I, Part II(1)–(2) |
Release and deployment traceability |
Associate software components and SBOMs with release artifacts and available deployment records. |
Ortelius, Argo CD, Flux |
| Annex I, Part II(2) |
Vulnerability blast-radius assessment |
Identify affected product versions and, where supported, deployed applications, environments, and endpoints. |
Ortelius, OWASP Dependency-Track |
| Annex I, Part II(2), (4) |
Remediation ownership and affected-product communication |
Identify responsible teams and maintain records of affected products for remediation and security advisories. |
Ortelius, DefectDojo |
| Annex I, Part II(1)–(2) |
Vulnerability status and exploitability documentation |
Document product-specific vulnerability assessments, including whether vulnerabilities are affected, not affected, fixed, or under investigation. |
OpenVEX, CycloneDX, Ortelius |
Expected Compliance Evidence
- Component-to-product vulnerability mappings.
- Product and release version inventories.
- SBOM-to-release associations.
- Available deployment and endpoint inventory records.
- Affected-product and vulnerability impact assessments.
- Product-specific vulnerability status statements.
- Assigned remediation ownership and tracking records.
- Documented decisions concerning product exposure and exploitability.
2.3.2 - Remediation and Security Update - Post Deployment
Remediation and Security Update for Post Deployment Activities.
Remediation and Security Update - Phase 3: Post Deployment
Objective: Address identified vulnerabilities without delay and securely distribute appropriate security updates to affected products.
The CRA requires manufacturers to address and remediate vulnerabilities in relation to the risks they pose to their products. Remediation may involve updating vulnerable dependencies, modifying application code, applying configuration changes, replacing affected components, or implementing other appropriate mitigation measures.
Where technically feasible, security updates must be provided separately from functionality updates. The CRA also establishes requirements for securely distributing security updates and making them available without delay and, subject to specified exceptions, free of charge.
For DevOps teams, vulnerability remediation should connect Post Deployment monitoring with development and build workflows. When a vulnerability is identified, teams should evaluate available fixes, determine compatibility with affected products, create remediation changes, and validate those changes through automated build and security testing.
Remediation workflows should support dependency upgrades, application changes, regression testing, release approval, and controlled deployment of security updates.
Where applicable, organizations should maintain records demonstrating that fixes were developed, tested, released, and communicated to affected users. Deployment verification provides additional operational assurance that updated software has reached the intended environments.
Automating these workflows can reduce remediation delays while maintaining required security reviews and release authorization controls.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part II(2) |
Vulnerability remediation |
Investigate identified vulnerabilities and implement appropriate fixes or mitigating measures without delay, based on product risk. |
Renovate, DefectDojo, Ortelius |
| Article 13(6) |
Third-party vulnerability remediation coordination |
Coordinate identified component vulnerabilities and applicable fixes with upstream maintainers. |
GitHub Security Advisories, Renovate |
| Annex I, Part II(2) |
Dependency and application updates |
Update vulnerable dependencies or application code and validate remediation through automated builds and tests. |
Renovate, Trivy, Grype |
| Annex I, Part II(2) |
Separation of security and functionality updates |
Maintain workflows capable of delivering security fixes independently of unrelated functionality changes where technically feasible. |
Renovate, Argo CD, Flux |
| Annex I, Part I(2)(c) |
Security update capability |
Support product mechanisms for receiving and applying appropriate security updates. |
The Update Framework (TUF), Sigstore Cosign |
| Annex I, Part II(7) |
Secure update distribution |
Verify the authenticity and integrity of security updates before delivery or installation. |
The Update Framework (TUF), Sigstore Cosign, Harbor |
| Annex I, Part II(8) |
Timely update availability and user advisories |
Distribute available security fixes without delay, subject to CRA requirements, and communicate relevant user actions. |
Argo CD, Flux, GitHub Security Advisories |
| Article 13(8)–(9) |
Support-period security maintenance |
Maintain vulnerability handling capabilities and ensure security updates remain available for the applicable period. |
Harbor, Ortelius |
| Annex I, Part II(2)–(3) |
Remediation validation |
Reassess vulnerability status after remediation and verify that updated software addresses the identified security issue. |
Trivy, Grype, OWASP Dependency-Track |
Expected Compliance Evidence
- Vulnerability remediation records and assigned responsibilities.
- Dependency upgrade and application modification history.
- Security update build and test results.
- Documented remediation risk assessments.
- Security update release and distribution records.
- Signed update artifacts and integrity verification results.
- User notification and security advisory records.
- Product version and deployment verification records.
- Security update availability and retention records.
- Documented mitigation decisions for vulnerabilities that cannot be immediately patched.
2.3.3 - Continuous Vulernability Management - Post Deployment
Continuous Vulernability Management for Post Deployment Activities.
Continuous Vulernability Management - Phase 3: Post Deployment
Objective: Continuously identify, assess, and track newly discovered vulnerabilities affecting released software throughout the product support period.
The CRA requires manufacturers to maintain effective vulnerability handling processes and address cybersecurity risks associated with their products and integrated components. These responsibilities extend throughout the applicable product support period and include regularly reviewing product security, identifying newly disclosed vulnerabilities, and taking appropriate remediation measures.
For DevOps teams, continuous vulnerability management requires maintaining visibility into software components after release. SBOMs generated during Build and Deploy should be retained and monitored against evolving vulnerability intelligence from sources such as the National Vulnerability Database (NVD), OSV, and other security advisory databases.
When new vulnerabilities are identified, organizations should determine whether affected components are included in supported product versions, evaluate their potential exploitability and impact, and assign remediation activities to responsible teams.
Automated vulnerability correlation, risk-based prioritization, and integration with development issue tracking can help reduce the time between vulnerability disclosure and remediation.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Article 13(8) |
Ongoing vulnerability management |
Maintain effective vulnerability handling processes throughout the applicable product support period. |
OWASP Dependency-Track, Ortelius |
| Annex I, Part II(1) |
Continuous component vulnerability identification |
Monitor SBOM components against newly disclosed vulnerabilities and maintain product component inventories. |
OWASP Dependency-Track, OSV.dev, Grype |
| Annex I, Part II(2) |
Vulnerability risk assessment and prioritization |
Evaluate newly discovered vulnerabilities for product relevance, exploitability, impact, and required remediation. |
DefectDojo, Ortelius, OSV-Scanner |
| Annex I, Part II(3) |
Continuous security testing |
Conduct effective and regular security tests and reviews of supported product versions. |
Trivy, OWASP ZAP, Wazuh |
| Article 13(5), Annex I, Part II(1)–(2) |
Third-party component vulnerability monitoring |
Identify newly disclosed vulnerabilities in integrated open-source and commercial dependencies and assess product impact. |
OSV-Scanner, OWASP Dependency-Track, OpenSSF Scorecard |
| Article 13(8), Annex I, Part II(2) |
Vulnerability lifecycle tracking |
Track identified vulnerabilities through investigation, remediation, validation, and closure. |
DefectDojo, Ortelius |
Expected Compliance Evidence
- Maintained product SBOMs and component inventories.
- Continuous vulnerability monitoring records.
- Newly identified vulnerability assessment reports.
- Product-specific vulnerability risk and exploitability determinations.
- Vulnerability remediation assignments and tracking history.
- Periodic security test and review results.
- Evidence of vulnerability handling activities throughout the product support period.
2.3.4 - Vulnerability Disclosure and Regulatory Reporting - Post Deployment
Vulnerability Disclosure and Regulatory Reporting for Post Deployment Activities.
Vulnerability Disclosure and Regulatory Reporting - Phase 3: Post Deployment
Objective: Establish processes for coordinated vulnerability disclosure, communicate security information to affected users, and satisfy applicable CRA regulatory reporting obligations.
The CRA requires manufacturers to maintain coordinated vulnerability disclosure processes and provide mechanisms through which security researchers, customers, and other parties can report potential product vulnerabilities.
Manufacturers must also disclose appropriate information about fixed vulnerabilities once a security update becomes available, subject to the regulation’s provisions concerning disclosure timing and security risks. Such information includes affected products, vulnerability impact and severity, and actions users can take to remediate the issue.
In addition, Article 14 establishes mandatory regulatory reporting obligations for qualifying actively exploited vulnerabilities and severe incidents affecting the security of products with digital elements.
These reporting requirements have applied to manufacturers since September 11, 2026. They require early warning notifications within 24 hours of awareness, followed by more detailed notifications within 72 hours. Final reporting deadlines vary depending on whether the report concerns an actively exploited vulnerability or a severe security incident.
For DevOps and security operations teams, disclosure and reporting processes should integrate vulnerability intelligence, incident investigation, affected-product identification, remediation tracking, and communication workflows.
Organizations should establish procedures for determining whether a vulnerability meets the CRA’s regulatory reporting criteria, collecting required information, and submitting notifications through the designated reporting mechanisms.
Not every newly disclosed CVE triggers regulatory reporting. Article 14 applies to the specific categories of reportable vulnerabilities and incidents defined by the regulation.
| CRA Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| Annex I, Part II(5) |
Coordinated vulnerability disclosure |
Maintain and enforce a documented coordinated vulnerability disclosure policy. |
GitHub Security Advisories, DefectDojo |
| Annex I, Part II(6) |
Vulnerability reporting channels |
Provide mechanisms and security contacts for reporting vulnerabilities in products and third-party components. |
GitHub Private Vulnerability Reporting, security.txt |
| Annex I, Part II(4) |
Public disclosure of fixed vulnerabilities |
Publish appropriate information about fixed vulnerabilities, affected products, severity, impacts, and remediation actions, subject to CRA disclosure provisions. |
GitHub Security Advisories, OSV, CSAF |
| Article 14(1)–(2) |
Actively exploited vulnerability reporting |
Establish procedures for identifying and reporting qualifying actively exploited vulnerabilities. |
TheHive, DefectDojo, Ortelius |
| Article 14(3)–(5) |
Severe security incident reporting |
Identify, investigate, and escalate qualifying severe incidents affecting product security. |
Wazuh, Falco, TheHive |
| Article 14(2), (4) |
Regulatory notification timelines |
Establish escalation workflows to meet applicable 24-hour, 72-hour, and final reporting deadlines. |
TheHive, DefectDojo |
| Articles 14 and 16 |
Regulatory notification submission |
Collect required incident and vulnerability details and submit mandatory notifications through the ENISA CRA Single Reporting Platform. |
TheHive, DefectDojo |
| Annex I, Part II(4), (8) |
User security advisories |
Communicate affected-product information, available security updates, and recommended remediation actions to users. |
GitHub Security Advisories, CSAF |
| Article 13(6) |
Upstream vulnerability coordination |
Notify relevant third-party component maintainers of identified vulnerabilities and share applicable fixes as required. |
GitHub Security Advisories, OSV |
CRA Regulatory Reporting Deadlines
The following timelines apply to qualifying actively exploited vulnerabilities and severe security incidents under Article 14.
| Reporting Requirement |
Deadline |
Required Action |
| Early warning notification |
Within 24 hours of awareness |
Submit an initial notification concerning a qualifying actively exploited vulnerability or severe security incident. |
| Vulnerability or incident notification |
Within 72 hours of awareness |
Submit a more detailed notification with available product, vulnerability or incident, and mitigation information. |
| Final report — actively exploited vulnerability |
No later than 14 days after a corrective or mitigating measure becomes available |
Provide the required final vulnerability information, including severity, impact, and corrective measures. |
| Final report — severe security incident |
Within one month after submission of the 72-hour incident notification |
Provide the required final incident analysis and corrective or mitigating measures. |
Mandatory notifications are submitted through the ENISA CRA Single Reporting Platform.
Reporting deadlines are triggered by awareness of qualifying events, rather than the publication of every CVE.
Expected Compliance Evidence
- Published coordinated vulnerability disclosure policy.
- Documented vulnerability reporting contacts and channels.
- Vulnerability reports and investigation records.
- Published security advisories and disclosure history.
- Affected-product identification and impact assessments.
- Reportability assessments for actively exploited vulnerabilities and severe incidents.
- Regulatory notification timestamps and submission records.
- Security incident investigation and root-cause analysis records.
- Remediation decisions and corrective action records.
- User notification and security update communication records.
Phase 3 Compliance Evidence Summary
Post Deployment activities should establish a continuous and traceable process for identifying vulnerabilities, determining affected products, implementing remediation, and communicating security information throughout the product support period.
Organizations should integrate SBOM monitoring, vulnerability intelligence, release inventories, and available deployment records to maintain visibility into software security after release.
When vulnerabilities are discovered, teams should document their relevance to supported products, assess exploitability and impact, assign remediation responsibilities, and preserve records of corrective actions.
Where practical, correlating vulnerable components with deployed product versions and operational endpoints can improve remediation prioritization and reduce the time required to identify affected environments.
For qualifying actively exploited vulnerabilities and severe security incidents, organizations must also maintain procedures capable of supporting statutory CRA reporting deadlines.
The resulting evidence should demonstrate that vulnerability handling is an ongoing operational process rather than a one-time activity performed during software development or release.
References
Implementation Note: The CRA establishes obligations for covered manufacturers and, where applicable, other economic operators and open-source software stewards. The open-source tools listed are illustrative technica
3 -
AI Security in the CI/CD Pipeline - Overview
Artificial intelligence (AI) is transforming how software is designed, developed, tested, deployed, and maintained. AI coding assistants generate application code, autonomous agents modify repositories and dependencies, and AI models are increasingly integrated into production applications. While these capabilities accelerate software delivery, they introduce new cybersecurity risks that traditional CI/CD security practices may not fully address. These include vulnerable AI-generated code, excessive agent permissions, prompt injection, compromised AI models, sensitive information exposure, and unauthorized automated actions.
Securing AI requires extending established DevSecOps practices to address both software developed using AI and AI-powered applications deployed into production. AI-generated code must be validated, autonomous agents must operate within controlled security boundaries, AI models and dependencies must be verified, and deployed AI applications must be continuously monitored for emerging threats. For DevOps and platform engineering teams, AI security reinforces the need to integrate cybersecurity controls across the entire CI/CD lifecycle—from Code and Prebuild through Build and Deploy to Post Deployment—while maintaining security evidence, traceability, and appropriate human oversight.
The following frameworks provide guidance relevant to AI security activities.
| Framework |
Relevant Guidance |
| NIST SP 800-218 – Secure Software Development Framework |
Secure development practices, software protection, vulnerability prevention, and secure development environments. |
| NIST SP 800-218A – AI SSDF Profile |
AI-specific considerations extending secure software development practices. |
| NIST AI Risk Management Framework |
AI risk identification, governance, measurement, and management. |
| OWASP Top 10 for LLM Applications |
AI application risks including prompt injection, sensitive information disclosure, supply chain vulnerabilities, and excessive agency. |
| OpenSSF |
Open-source software supply chain security, project integrity, and secure development practices. |
These references provide security guidance for AI-assisted development and AI applications. They do not all establish mandatory compliance requirements.
This guide maps AI security activities to three primary phases of the CI/CD pipeline, identifying practical security controls and open-source tooling that can support their implementation. These phases are:
3.1 - Code and Prebuild
Securing AI-assisted software development, autonomous agents, AI models, and application design before entering the CI/CD pipeline.
Securing AI-Assisted Development and AI Application Design
Artificial intelligence is changing how software is designed and developed. AI coding assistants generate application code, autonomous agents modify repositories and dependencies, and AI models are increasingly incorporated into software applications. While these capabilities accelerate development, they introduce security risks that traditional development practices may not fully address.
Phase 1: Code and Prebuild focuses on establishing security controls before code, AI models, prompts, datasets, or autonomous agents enter the CI/CD delivery pipeline.
This phase extends established secure development practices to address AI-generated code, agent permissions, AI application threat modeling, model and data supply chain security, and the protection of AI configurations.
The objective is to identify and reduce security risks early in the software development lifecycle, before vulnerabilities or unsafe configurations are introduced into build and deployment processes.
Code and Prebuild Outcomes
By implementing these practices, development teams establish a security foundation for AI-assisted software development and AI application design.
Expected outcomes include:
- AI-generated code is subject to established secure development practices.
- Autonomous development agents operate with controlled identities and permissions.
- AI-specific application threats are identified before implementation.
- AI models, datasets, and dependencies are evaluated for security and provenance.
- Prompts, agent instructions, and configurations are protected through version control and review.
- Security requirements are documented for validation during build and deployment.
These outcomes prepare development artifacts for the automated security validation activities described in Phase 2: Build and Deploy.
Why AI Security Begins Before the Build
Traditional secure development practices focus on source code quality, dependency management, secrets protection, and secure application design. AI-assisted development introduces additional considerations. This phase will cover:
3.1.1 - AI-Assisted Code Development
Securing AI-generated code through secure development practices, automated security scanning, dependency validation, and human review.
AI-Assisted Code Development - Code and Prebuild
Securing AI-Generated Code During Software Development
Artificial intelligence is increasingly used to generate application code, recommend dependencies, create configuration files, and automate software development tasks. While AI-assisted development can accelerate delivery, generated code may introduce security vulnerabilities, insecure coding patterns, outdated dependencies, exposed credentials, or licensing concerns.
During Code and Prebuild, organizations should apply established secure development practices to all AI-generated code and changes. AI coding assistants and autonomous development agents should operate within defined security boundaries, and their output should be subject to the same security requirements as human-written code.
This activity focuses on identifying and preventing security vulnerabilities before AI-generated changes enter trusted source code repositories or proceed through the CI/CD build pipeline.
The following activities map NIST Secure Software Development Framework (SSDF), the AI SSDF Profile (NIST SP 800-218A), and OWASP security guidance to actionable CI/CD practices and suggested open-source tools. The tools are illustrative and are not mandated by these frameworks.
AI-Assisted Code Development
Objective: Ensure AI-generated code is reviewed, tested, and validated for security vulnerabilities, unsafe dependencies, exposed secrets, and licensing risks before being incorporated into the software delivery pipeline.
The NIST Secure Software Development Framework (SSDF) establishes secure coding, code review, vulnerability analysis, and software verification practices that apply to both human-written and AI-generated software.
NIST SP 800-218A, the AI SSDF Profile, extends these practices to address additional security considerations associated with AI development.
AI-generated code should not be treated as inherently secure or trusted simply because it was produced by an automated system. Development teams remain responsible for verifying that generated code meets their security requirements.
For DevOps teams, AI-generated changes should be incorporated into existing source code management, peer review, static analysis, dependency scanning, and vulnerability management workflows. Automated security checks should identify potential weaknesses before code is merged, while policies should prevent AI agents from bypassing required reviews or security gates.
Particular attention should be given to generated dependencies, insecure API usage, authentication and authorization logic, secrets handling, and changes to security-sensitive configurations.
AI-assisted development should accelerate coding activities without weakening established secure software development controls.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PW.5 |
Secure coding practices |
Apply secure coding standards to AI-generated code and identify insecure coding patterns before changes are accepted. |
Semgrep, Bandit |
| NIST SSDF PW.7 |
Code review and analysis |
Require peer review and automated security analysis of AI-generated code before merging changes into protected branches. |
Semgrep, SonarQube Community Build |
| NIST SSDF PW.8 |
Security testing |
Execute automated security tests and validate generated functionality against defined security requirements. |
OWASP ZAP, pytest |
| NIST SSDF PW.4, PW.7 |
Third-party dependency review |
Identify newly introduced dependencies, scan for known vulnerabilities, and review unapproved or outdated packages. |
OSV-Scanner, Trivy |
| NIST SSDF PW.5, PW.7 |
Secrets detection |
Detect hardcoded credentials, API keys, tokens, and sensitive information introduced by AI-generated code or configurations. |
Gitleaks, detect-secrets |
| NIST SSDF PO.1, PO.4 |
Development security policies |
Establish policies requiring security review, approval, and validation of AI-generated changes before integration. |
Open Policy Agent, Conftest |
| NIST SSDF PS.3 |
Software component inventory |
Track dependencies introduced by AI-generated code and maintain component records for vulnerability analysis. |
Syft, CycloneDX |
| NIST SSDF PW.4 |
Licensing and dependency due diligence |
Review third-party packages and license obligations associated with generated code and newly introduced dependencies. |
ScanCode Toolkit, ORT |
| NIST SP 800-218A; NIST SSDF PO.3, PW.7 |
AI development accountability |
Define responsibility for AI-generated changes and ensure automated contributions remain subject to established repository review and authorization policies. |
Open Policy Agent, Semgrep |
Framework references identify relevant security practices. Tool selection and implementation depend on the organization’s development environment and security requirements.
Expected Security Evidence
- Documented secure coding requirements applicable to AI-generated code.
- Records of code reviews and approvals for AI-generated changes.
- Static application security testing results.
- Dependency vulnerability scanning reports.
- Secrets detection results and remediation records.
- Automated test execution and validation results.
- Software component inventories identifying introduced dependencies.
- License analysis reports for applicable third-party software.
- Records of security policy enforcement and rejected changes.
- Traceable pull requests linking generated changes to review and validation outcomes.
These artifacts provide evidence that AI-assisted development follows established secure software development practices and that generated code is evaluated before entering the build and deployment process.
Security findings identified during Phase 1 should be resolved or appropriately documented before the affected changes proceed to Phase 2: Build and Deploy.
Additional Resources
3.1.2 - AI Agent Identity and Permissions
Securing autonomous AI development agents through identity management, least-privilege access, credential protection, and authorization controls.
AI Agent Identity and Permissions - Phase 1: Code and Prebuild
Artificial intelligence agents are increasingly used to generate code, modify repositories, update dependencies, execute commands, and automate software development activities. Unlike traditional coding assistants, autonomous agents may perform actions directly within development environments and interact with external tools and services.
These capabilities introduce security risks when agents are granted excessive permissions, unrestricted tool access, or credentials that provide access to sensitive resources.
During Code and Prebuild, organizations should establish identity, authentication, authorization, and access control requirements for AI agents before they are integrated into development workflows.
This phase focuses on preventing unauthorized agent activity, protecting credentials, and ensuring that AI agents operate within explicitly defined security boundaries.
The following activities map NIST Secure Software Development Framework (SSDF) practices and OWASP AI security guidance to actionable CI/CD practices and suggested open-source tools. The tools are illustrative and are not mandated by these frameworks.
AI Agent Identity and Permissions
Objective: Ensure autonomous AI agents operate with verified identities, least-privilege permissions, controlled access to development resources, and appropriate authorization for security-sensitive actions.
The NIST Secure Software Development Framework (SSDF) emphasizes protecting development environments, securing software development processes, and preventing unauthorized changes to software artifacts.
The OWASP Top 10 for LLM Applications identifies excessive agency as a risk when AI systems are granted unnecessary functionality, permissions, or autonomy.
For DevOps teams, AI agent access should be treated similarly to other automated service identities. Agents should use dedicated identities where supported, receive only the permissions required for their assigned tasks, and operate within controlled execution environments.
Agent-generated instructions should never replace independent access control decisions. Permissions must be enforced by repository platforms, identity services, execution environments, and other trusted systems.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PO.2, PO.5 |
Agent identity management |
Assign controlled identities to development agents and establish authentication requirements for accessing repositories, tools, and services. |
Keycloak, SPIRE |
| NIST SSDF PO.5; OWASP LLM06 |
Least-privilege access |
Restrict agent permissions to approved repositories, APIs, directories, and development resources. |
Open Policy Agent, Casbin |
| NIST SSDF PO.5, PS.1 |
Credential and secrets protection |
Prevent agents from accessing unnecessary credentials and use controlled secret distribution mechanisms. |
SOPS, External Secrets Operator |
| OWASP LLM06 |
Tool authorization |
Restrict which tools, commands, and external services agents may invoke; enforce authorization independently of model-generated instructions. |
Open Policy Agent, Conftest |
| NIST SSDF PO.5; OWASP LLM06 |
Agent execution isolation |
Execute agents within restricted containers or sandboxed development environments. |
Podman, gVisor |
| NIST SSDF PS.1, PS.2 |
Change authorization |
Require review and approval for security-sensitive repository modifications and prevent agents from bypassing protected development workflows. |
Gitea, Open Policy Agent |
| NIST SSDF PO.3; OWASP LLM06 |
Agent activity auditing |
Record agent actions, tool execution, authentication events, and changes to development artifacts. |
OpenTelemetry, Falco |
Framework references identify relevant security practices and risk categories. Specific agent access controls are implementation recommendations rather than requirements explicitly prescribed for agents by every referenced framework.
Expected Security Evidence
- Documented AI agent identities and assigned responsibilities.
- Defined access control policies for repositories, tools, and services.
- Records demonstrating least-privilege permissions.
- Credential management and secrets protection configurations.
- Approved agent tool and command allowlists.
- Security policies for agent execution environments.
- Records of required reviews and approvals for agent-generated changes.
- Agent activity logs and security-relevant execution records.
- Evidence of authentication and authorization policy enforcement.
These artifacts provide evidence that autonomous AI agents are operating within controlled security boundaries and that development teams retain accountability for agent-initiated actions.
Agent security requirements established during Phase 1 should be validated during Phase 2: Build and Deploy and monitored throughout Phase 3: Post Deploy.
Additional Resources
3.1.3 - AI Application Threat Modeling
Identifying AI application security risks including prompt injection, excessive agency, data exposure, insecure tool integrations, and trust boundary violations.
AI Application Threat Modeling - Phase 1: Code and Prebuild
Artificial intelligence applications introduce security risks that extend beyond those found in traditional software architectures. Applications incorporating large language models (LLMs), retrieval-augmented generation (RAG), autonomous agents, external data sources, and tool integrations create new attack surfaces and trust relationships.
These systems may process untrusted prompts, retrieve external content, invoke privileged tools, and generate outputs that influence application behavior.
During Code and Prebuild, organizations should perform AI-specific threat modeling to identify potential vulnerabilities before application components are implemented or integrated into the CI/CD pipeline.
This phase focuses on identifying attack paths, evaluating security boundaries, and establishing controls to prevent unauthorized model behavior, sensitive information disclosure, and unsafe agent actions.
The following activities map NIST security guidance and OWASP AI risk categories to actionable threat modeling practices and suggested open-source tools.
AI Application Threat Modeling
Objective: Identify and document AI-specific attack surfaces, trust boundaries, potential threats, and appropriate security controls before developing or deploying AI-enabled applications.
The NIST Secure Software Development Framework (SSDF) emphasizes integrating security requirements and risk analysis into software design and development activities.
The NIST AI Risk Management Framework provides guidance for identifying, measuring, and managing risks associated with AI systems.
The OWASP Top 10 for LLM Applications identifies risks including prompt injection, sensitive information disclosure, supply chain vulnerabilities, improper output handling, and excessive agency.
For DevOps teams, threat modeling should be integrated into application architecture reviews, development planning, and security requirements definition.
AI components should be evaluated as part of the complete application architecture rather than as isolated models.
Threat models should identify how users, models, agents, retrieved information, and external services interact and where trust boundaries must be enforced.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PW.1, PW.2 |
AI application threat modeling |
Create architectural threat models identifying AI components, external services, data flows, and security boundaries. |
OWASP Threat Dragon, OWASP pytm |
| OWASP LLM01 |
Prompt injection risk assessment |
Identify direct and indirect prompt injection paths through user input, retrieved documents, tool results, and external content. |
OWASP Threat Dragon, Promptfoo |
| OWASP LLM06 |
Excessive agency assessment |
Identify tools and actions that could allow AI agents to exceed authorized permissions or perform unsafe operations. |
OWASP Threat Dragon, Open Policy Agent |
| OWASP LLM02 |
Sensitive information exposure |
Document sensitive data flows and identify potential disclosure through prompts, model outputs, logs, and external integrations. |
Microsoft Presidio, OWASP Threat Dragon |
| OWASP LLM05 |
Unsafe output handling |
Identify where model-generated output is executed, rendered, parsed, or passed to downstream systems without sufficient validation. |
OWASP pytm, Semgrep |
| OWASP LLM08 |
Retrieval and vector security |
Assess unauthorized retrieval, malicious content injection, access control weaknesses, and exposure through vector databases. |
OWASP Threat Dragon, Garak |
| NIST AI RMF MAP, MEASURE |
AI risk assessment |
Evaluate likelihood, potential impact, system context, and appropriate mitigations for identified AI threats. |
OWASP Threat Dragon, DefectDojo |
| NIST SSDF PW.1, PW.2 |
Security requirements definition |
Convert identified threats into design requirements, acceptance criteria, and security testing tasks. |
OWASP pytm, Open Policy Agent |
Threat modeling tools support risk identification and documentation. Testing tools such as Promptfoo and Garak can help validate selected threats but do not replace architectural threat modeling.
Expected Security Evidence
- Documented AI application threat models.
- Architecture diagrams identifying AI components and external services.
- Data flow diagrams showing model inputs, outputs, and tool interactions.
- Identified trust boundaries and security-sensitive integration points.
- Prompt injection and agent misuse risk assessments.
- Sensitive information exposure assessments.
- Documented AI security risks and assigned risk owners.
- Security requirements and mitigation plans derived from identified threats.
- Records of architecture reviews and threat model updates.
These artifacts provide evidence that AI-specific security risks were considered during application planning and design.
Threat models developed during Phase 1 should inform the automated AI security testing and release validation activities performed during Phase 2: Build and Deploy.
Additional Resources
3.1.4 - AI Model and Data Supply Chain
Securing AI model provenance, training datasets, third-party dependencies, licensing, and AI software supply chain integrity.
AI Model and Data Supply Chain - Phase 1: Code and Prebuild
AI-enabled applications increasingly depend on externally sourced models, training datasets, machine learning frameworks, model repositories, and third-party software components.
These dependencies introduce security risks beyond traditional software package management. AI models may originate from untrusted sources, datasets may contain malicious or manipulated content, and model files may include unsafe serialization formats or dependencies.
During Code and Prebuild, organizations should establish processes for evaluating the provenance, integrity, licensing, and security of AI models and data before incorporating them into applications.
This phase focuses on identifying supply chain risks early, maintaining visibility into AI dependencies, and establishing trusted sources for AI components.
The following activities map NIST Secure Software Development Framework (SSDF), the AI SSDF Profile, and OWASP AI security guidance to actionable CI/CD practices and suggested open-source tools.
AI Model and Data Supply Chain
Objective: Ensure AI models, datasets, frameworks, and third-party dependencies are evaluated for provenance, integrity, vulnerabilities, licensing, and supply chain risks before entering the software delivery pipeline.
The NIST Secure Software Development Framework (SSDF) establishes practices for identifying, evaluating, and securing third-party software components.
The NIST AI SSDF Profile (SP 800-218A) extends secure development guidance to address additional security considerations associated with AI model development and integration.
The OWASP Top 10 for LLM Applications identifies AI supply chain vulnerabilities and data and model poisoning as significant risks.
For DevOps teams, AI model and data dependencies should be evaluated before being introduced into trusted development environments.
This includes verifying component sources, reviewing applicable licenses, identifying known vulnerabilities, and documenting dependencies between models, datasets, frameworks, and application components.
Organizations should also establish requirements for maintaining accurate inventories of AI assets so they can be tracked throughout the build, deployment, and operational lifecycle.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PW.4; OWASP LLM03 |
Third-party AI dependency review |
Evaluate AI frameworks, libraries, and externally sourced model dependencies before approving them for development use. |
OSV-Scanner, Trivy |
| NIST SP 800-218A; OWASP LLM03 |
AI model provenance |
Record model sources, versions, identifiers, and available integrity information for externally obtained AI models. |
Git LFS, DVC |
| NIST SSDF PS.2, PS.3 |
Model integrity verification |
Validate available checksums and signatures and preserve traceable records of approved AI artifacts. |
Sigstore Cosign, OpenSSF Model Signing |
| NIST SP 800-218A; OWASP LLM04 |
Dataset integrity and poisoning risk |
Track dataset sources, assess untrusted content, validate data integrity, and document potential poisoning risks. |
DVC, Great Expectations |
| NIST SSDF PW.4; OWASP LLM03 |
AI model file security |
Evaluate externally sourced model files for potentially unsafe serialized content before use. |
ModelScan |
| NIST SSDF PW.4 |
Software dependency vulnerability analysis |
Identify known vulnerabilities in AI frameworks, runtimes, packages, and supporting software components. |
OSV-Scanner, Trivy |
| NIST SSDF PW.4 |
License and usage review |
Review licensing obligations associated with AI frameworks, third-party packages, models, and datasets. |
ScanCode Toolkit, ORT |
| NIST SSDF PS.3 |
AI component inventory |
Maintain inventories of AI models, software dependencies, and supporting artifacts, including relationships where supported. |
Syft, CycloneDX, DVC |
| NIST SSDF PS.3; NIST SP 800-218A |
AI artifact traceability |
Associate approved models, datasets, and dependencies with source control revisions and release records. |
DVC, in-toto |
These tools address different aspects of AI supply chain security. Traditional SBOM tools do not necessarily capture complete model, dataset, or prompt inventories. Model provenance, dataset security, and licensing may require additional records and specialized validation.
Expected Security Evidence
- Inventory of approved AI models and associated versions.
- Records identifying model sources, repositories, and provenance.
- Model integrity verification results and available signatures.
- Dataset source records and integrity assessments.
- Documented assessments of data and model poisoning risks.
- Software dependency vulnerability scanning results.
- Model file security scan results.
- Third-party component license and usage reviews.
- AI component inventories and applicable SBOMs.
- Records of rejected or unapproved AI components.
- Traceable relationships between models, datasets, dependencies, and application development artifacts.
These artifacts provide evidence that AI models and supporting dependencies have been evaluated before entering the software delivery process.
Supply chain records created during Phase 1 should support model verification and artifact integrity controls in Phase 2: Build and Deploy, as well as continuous vulnerability management during Phase 3: Post Deploy.
Additional Resources
3.1.5 - Prompt and Agent Configuration Security
Protecting system prompts, agent instructions, tool definitions, and AI application configurations through version control, access policies, and security review.
Prompt and Agent Configuration Security - Phase 1: Code and Prebuild
AI-enabled applications rely on system prompts, agent instructions, tool definitions, and configuration files to determine how models interact with users, applications, and external services.
These artifacts can directly influence application behavior, data access, tool execution, and security boundaries.
Unlike traditional source code, prompts and agent configurations may be modified independently of application binaries. Unauthorized or poorly reviewed changes can introduce security risks even when the underlying application code remains unchanged.
During Code and Prebuild, organizations should treat security-sensitive prompts, agent instructions, and configurations as managed development artifacts.
This phase focuses on protecting AI configurations against unauthorized modification, establishing secure review processes, and ensuring that agent capabilities remain aligned with approved security policies.
The following activities map NIST security guidance and OWASP AI risk categories to actionable CI/CD practices and suggested open-source tools.
Prompt and Agent Configuration Security
Objective: Ensure system prompts, agent instructions, tool configurations, and AI application settings are version-controlled, reviewed, protected against unauthorized changes, and aligned with established security requirements.
The NIST Secure Software Development Framework (SSDF) establishes practices for protecting software artifacts, controlling changes, and integrating security requirements into development workflows.
The OWASP Top 10 for LLM Applications identifies prompt injection, system prompt leakage, and excessive agency as security concerns affecting AI-enabled applications.
For DevOps teams, prompts and agent configurations should be managed using established source control and change management practices.
Security-sensitive changes should be reviewed before acceptance, and automated policies should prevent unauthorized modifications to agent permissions, tool access, and execution settings.
System prompts should not be treated as a security boundary. Authorization must be enforced by trusted application and infrastructure controls independently of model instructions.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PS.1 |
Prompt and configuration version control |
Maintain approved system prompts, agent instructions, and tool definitions in protected source repositories. |
Git, Gitea |
| NIST SSDF PS.1, PS.2 |
Configuration integrity |
Protect security-sensitive configuration files against unauthorized changes and verify approved versions before use. |
Git, Sigstore Cosign |
| NIST SSDF PW.7 |
Security review of prompt changes |
Review modifications to system prompts, agent instructions, and tool configurations before merging changes. |
Gitea, Open Policy Agent |
| OWASP LLM01 |
Prompt injection risk reduction |
Identify untrusted input paths and test whether external content can alter system instructions or agent behavior. |
Promptfoo, Garak |
| OWASP LLM07 |
System prompt information protection |
Prevent secrets and credentials from being embedded in prompts and assess unintended disclosure of sensitive instructions or information. |
Gitleaks, detect-secrets |
| OWASP LLM06 |
Agent tool configuration security |
Restrict approved tools, commands, API operations, and agent permissions through enforceable security policies. |
Open Policy Agent, Conftest |
| NIST SSDF PO.5; OWASP LLM06 |
Configuration access control |
Limit modification of agent permissions, prompt templates, and tool definitions to authorized identities. |
Keycloak, Casbin |
| NIST SSDF PS.1; OWASP LLM01 |
Configuration validation |
Validate structured agent configurations against approved schemas and security policy requirements. |
JSON Schema, Conftest |
| NIST SSDF PO.3, PS.1 |
Configuration change traceability |
Record changes, approvals, and versions of security-sensitive AI configuration artifacts. |
Git, Gitea |
The referenced frameworks provide relevant software security practices and AI risk categories. The implementation recommendations translate those practices into CI/CD controls for prompts, agent instructions, and configuration artifacts.
Expected Security Evidence
- Version-controlled system prompts and agent instructions.
- Approved tool definitions and agent configuration records.
- Security review and approval records for configuration changes.
- Documented policies restricting agent permissions and tool access.
- Configuration validation and policy enforcement results.
- Secrets scanning results for prompts and configuration files.
- Prompt injection testing results and identified security findings.
- Records of unauthorized or rejected configuration modifications.
- Traceable configuration versions associated with application changes.
- Documented procedures for updating and restoring approved AI configurations.
These artifacts provide evidence that AI instructions and configurations are managed through controlled development processes.
Configuration controls established during Phase 1 should support security testing and release verification during Phase 2: Build and Deploy.
After deployment, changes to AI instructions, tools, and permissions should remain subject to authorization, monitoring, and audit requirements.
Additional Resources
3.2 - Build and Deploy
Securing AI-generated code, validating AI models, testing AI applications, and enforcing secure build and deployment controls.
Validating AI Artifacts and Securing AI-Enabled Software Delivery
Artificial intelligence introduces new security considerations into the build and deployment process. AI-generated code, machine learning models, prompts, agent configurations, and supporting dependencies must be validated before they are incorporated into production software.
Phase 2: Build and Deploy focuses on ensuring that AI-generated code and AI application components are securely built, tested, verified, and authorized for deployment.
This phase extends traditional CI/CD security practices to address AI-specific vulnerabilities, model integrity, adversarial testing, agent permissions, and the traceability of AI-related software artifacts.
The objective is to establish automated security controls that verify the integrity and security of AI-enabled software before it reaches production.
Phase 2 Outcomes
By implementing these practices, DevOps teams establish automated security controls for validating and deploying AI-enabled software.
Expected outcomes include:
- AI-generated code is validated using established secure development and testing practices.
- AI models and supporting artifacts are verified for integrity and provenance.
- AI applications are tested for prompt injection, unsafe behavior, and unauthorized tool execution.
- Autonomous agents and AI services operate within defined deployment permissions.
- Software releases include traceable AI artifacts, dependencies, and security evaluation results.
- Deployment authorization and security policies are consistently enforced.
- Security evidence is available for ongoing vulnerability management and compliance assessments.
These outcomes help ensure that AI-enabled applications enter production with verified artifacts, tested security controls, and traceable release information.
The following frameworks provide guidance relevant to Phase 2 AI security activities.
| Framework |
Relevant Guidance |
| NIST SP 800-218 – Secure Software Development Framework |
Secure software production, security testing, artifact protection, and vulnerability identification. |
| NIST SP 800-218A – AI SSDF Profile |
AI-specific secure development practices, including AI model security and lifecycle considerations. |
| NIST AI Risk Management Framework |
AI risk measurement, evaluation, validation, and risk management. |
| OWASP Top 10 for LLM Applications |
Prompt injection, sensitive information disclosure, supply chain vulnerabilities, excessive agency, and other AI application risks. |
| OpenSSF Model Signing |
Signing and verification of AI model artifacts to support integrity and provenance. |
| SLSA |
Software supply chain integrity, build provenance, and protection against artifact tampering. |
These frameworks and projects provide guidance and technical capabilities that can support AI security controls. They do not all establish mandatory regulatory compliance requirements.
Integrating AI Security into the CI/CD Pipeline
AI security controls should be incorporated into existing CI/CD automation rather than implemented as disconnected manual processes.
This section will cover a typical AI-enabled software delivery workflow to include:
3.2.1 - AI-Generated Code Validation
Validating AI-generated code through automated security testing, dependency analysis, regression testing, and controlled CI/CD release gates.
AI-Generated Code Validation - Phase 2: Build and Deploy
Artificial intelligence is increasingly used to generate source code, update dependencies, modify configurations, and create pull requests. These changes can accelerate software delivery but may introduce vulnerabilities, insecure coding patterns, compatibility problems, and unintended functionality.
During Build and Deploy, organizations should independently validate AI-generated changes using established security testing and software quality controls.
AI-generated code should not be trusted solely because an AI assistant or autonomous agent reports that its changes are secure or functional.
This activity focuses on incorporating automated scanning, testing, and release authorization into CI/CD workflows to ensure AI-generated code meets established security requirements before deployment.
AI-Generated Code Validation
Objective: Ensure AI-generated code and configuration changes are independently tested, reviewed, and validated for security vulnerabilities, vulnerable dependencies, exposed secrets, and unintended functionality before software is released.
The NIST Secure Software Development Framework (SSDF) establishes practices for reviewing, analyzing, and testing software to identify vulnerabilities before release.
The NIST AI SSDF Profile (SP 800-218A) extends secure development guidance to address AI-related development considerations.
For DevOps teams, automated CI/CD validation provides an independent security control between AI-generated changes and production deployment.
Security gates should prevent code from progressing when required validation fails. Human review or authorized policy decisions should determine whether changes are accepted, rejected, or returned for remediation.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PW.7 |
Static code security analysis |
Run SAST against AI-generated code to identify insecure coding patterns and potential vulnerabilities. |
Semgrep, Bandit |
| NIST SSDF PW.4, PW.7 |
Dependency vulnerability scanning |
Evaluate dependencies introduced or modified by AI-generated code against known vulnerability databases. |
OSV-Scanner, Trivy |
| NIST SSDF PW.5, PW.7 |
Secrets detection |
Scan AI-generated source code and configuration files for exposed credentials, tokens, and API keys. |
Gitleaks, detect-secrets |
| NIST SSDF PW.8 |
Automated security and regression testing |
Execute unit, integration, regression, and applicable security tests against AI-generated changes. |
pytest, OWASP ZAP |
| NIST SSDF PW.8 |
Dependency compatibility validation |
Build and test applications after AI-generated dependency upgrades to detect compatibility failures and regressions. |
Jenkins, Tekton |
| NIST SSDF PO.1, PW.7 |
Security policy enforcement |
Apply automated acceptance criteria and prevent changes from proceeding when required security checks fail. |
Open Policy Agent, Conftest |
| NIST SSDF PS.2 |
Artifact integrity |
Ensure release artifacts are produced from approved changes and verify applicable artifact signatures. |
Sigstore Cosign, in-toto |
| NIST SSDF PW.7, RV.2 |
Failed validation and remediation tracking |
Record failed security checks, rejected changes, and remediation activities for review and resolution. |
DefectDojo, Jenkins |
These mappings apply established secure software development practices to AI-generated changes. AI-generated code remains subject to the same security requirements as human-written code.
Expected Security Evidence
- Automated static application security testing reports.
- Dependency vulnerability scanning results.
- Secrets detection and remediation records.
- Unit, integration, and regression test results.
- Build and dependency compatibility validation logs.
- Records of rejected or failed AI-generated changes.
- Code review and release approval records.
- Security policy enforcement results.
- Artifact verification and provenance records.
- Traceable pull requests linking AI-generated changes to validation results.
These artifacts demonstrate that AI-generated changes have been independently validated before entering production.
Security findings should be resolved, rejected, or formally accepted through an authorized risk management process before deployment.
Additional Resources
3.2.2 - AI Model and Artifact Integrity
Verifying AI model provenance, signatures, artifact integrity, and trusted model distribution throughout the CI/CD pipeline.
AI Model and Artifact Integrity - Phase 2: Build and Deploy
AI-enabled applications increasingly incorporate pretrained models, fine-tuned models, embeddings, model adapters, and supporting software artifacts obtained from external repositories.
These artifacts introduce supply chain security risks, including compromised models, unauthorized modifications, unsafe serialization formats, and untrusted dependencies.
During Build and Deploy, organizations should verify that AI models and supporting artifacts originate from approved sources and have not been modified unexpectedly.
This activity extends established software supply chain security practices to AI models, associated dependencies, and release artifacts.
AI Model and Artifact Integrity
Objective: Ensure AI models and supporting software artifacts are verified for provenance, integrity, authenticity, and known security risks before packaging or deployment.
The NIST Secure Software Development Framework (SSDF) establishes practices for protecting software artifacts and verifying software integrity.
The NIST AI SSDF Profile (SP 800-218A) addresses additional security considerations associated with AI model development and integration.
The OpenSSF Model Signing project provides open-source capabilities for signing and verifying AI model artifacts.
For DevOps teams, model verification should become an automated CI/CD activity similar to container signature verification, dependency scanning, and software artifact validation.
Model signatures and checksums help establish artifact integrity, but do not independently prove that a model is free of malicious behavior or vulnerabilities. Additional security assessments remain necessary.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PS.2; OWASP LLM03 |
Model provenance verification |
Verify model origin, approved distribution source, version, and associated provenance records before use. |
OpenSSF Model Signing, in-toto |
| NIST SSDF PS.2 |
Cryptographic model integrity |
Validate cryptographic hashes or signatures to detect unauthorized modifications to model artifacts. |
OpenSSF Model Signing, Sigstore Cosign |
| NIST SSDF PW.4; OWASP LLM03 |
Model file security |
Scan supported AI model formats for potentially malicious serialized content and unsafe loading mechanisms. |
ModelScan |
| NIST SSDF PW.4, PW.7 |
Model dependency vulnerability analysis |
Scan frameworks, libraries, containers, and supporting software components for known vulnerabilities. |
Trivy, OSV-Scanner |
| NIST SSDF PS.3 |
Model and dependency inventory |
Record model identifiers, versions, approved sources, and supporting software dependencies. |
Syft, CycloneDX |
| NIST SSDF PS.2, PS.3 |
Model version traceability |
Associate model versions and approved artifacts with application release records. |
DVC, Git LFS |
| NIST SSDF PS.2 |
Build provenance and attestations |
Generate and preserve provenance records identifying how artifacts were built and verified. |
SLSA, in-toto |
| NIST SSDF PO.1, PS.2 |
Artifact admission policies |
Prevent unapproved or unverified model and software artifacts from proceeding to deployment. |
Kyverno, Open Policy Agent |
Artifact integrity and model security are related but distinct. Signature verification establishes properties of the artifact and its origin, while behavioral evaluations and vulnerability scanning assess different security risks.
Expected Security Evidence
- Inventory of approved AI models and artifact versions.
- Model provenance and source verification records.
- Model checksum and signature verification results.
- Model file security scanning reports.
- Software dependency vulnerability reports.
- Model and software component inventories.
- Build provenance and release attestations.
- Records of approved and rejected model artifacts.
- Deployment policy enforcement results.
- Traceable relationships between model artifacts and application releases.
These artifacts provide evidence that AI model integrity and provenance are evaluated before deployment.
Verified model records should be retained for post-deployment inventory management, vulnerability analysis, and incident investigation.
Additional Resources
3.2.3 - AI Security Testing and Red Teaming
Evaluating AI applications for prompt injection, sensitive data disclosure, excessive agency, unsafe outputs, and adversarial security risks.
AI Security Testing and Red Teaming - Phase 2: Build and Deploy
AI-enabled applications introduce security risks that traditional application security testing may not fully identify.
Large language models (LLMs), retrieval-augmented generation (RAG) systems, and autonomous AI agents process dynamic inputs, interact with external information, and may invoke tools or execute actions.
These capabilities create attack surfaces involving prompt injection, sensitive information disclosure, unauthorized tool execution, insecure output handling, and excessive agency.
During Build and Deploy, organizations should incorporate AI-specific security evaluations and adversarial testing into CI/CD workflows.
This activity focuses on identifying unsafe AI application behavior before production deployment and establishing repeatable security testing practices.
AI Security Testing and Red Teaming
Objective: Identify AI-specific vulnerabilities and unsafe behavior through automated security evaluations, adversarial testing, and independently enforced release acceptance criteria.
The NIST Secure Software Development Framework (SSDF) establishes security testing and vulnerability identification practices for software releases.
The NIST AI Risk Management Framework emphasizes evaluating and managing risks throughout the AI system lifecycle.
The OWASP Top 10 for LLM Applications identifies common AI application security risks, including prompt injection, sensitive information disclosure, improper output handling, and excessive agency.
For DevOps teams, AI security evaluations should be automated wherever practical and incorporated into existing build and release validation processes.
Security testing should evaluate not only the model’s responses but also whether the application enforces access controls, protects sensitive information, and prevents unauthorized tool actions.
Because AI behavior may be nondeterministic, teams should define repeatable test scenarios, execution parameters, evaluation criteria, and acceptable failure thresholds.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| OWASP LLM01 |
Prompt injection testing |
Test whether malicious direct or indirect prompts can override instructions or cause unauthorized application behavior. |
Promptfoo, Garak |
| OWASP LLM02 |
Sensitive information disclosure testing |
Evaluate whether AI responses expose confidential data, credentials, personal information, or restricted context. |
Promptfoo, Microsoft Presidio |
| OWASP LLM05 |
Improper output handling |
Test whether AI-generated content can trigger unsafe downstream operations, including injection or command execution. |
OWASP ZAP, Semgrep |
| OWASP LLM06 |
Excessive agency testing |
Evaluate whether AI agents can invoke unauthorized tools, exceed assigned permissions, or perform unapproved actions. |
Inspect AI, Promptfoo |
| OWASP LLM08 |
RAG and retrieval security testing |
Test retrieval workflows for untrusted content injection, unauthorized access, and manipulation of retrieved information. |
Garak, Promptfoo |
| OWASP LLM10 |
Resource consumption testing |
Assess whether requests can cause excessive model execution, resource exhaustion, or uncontrolled service usage. |
k6, Locust |
| NIST SSDF PW.8; NIST AI RMF MEASURE |
Automated security evaluation |
Execute predefined adversarial evaluations and retain measurable security testing results. |
Inspect AI, Promptfoo |
| NIST SSDF PW.8, RV.2 |
Security regression testing |
Reexecute security evaluations after changes to models, prompts, tools, dependencies, or application logic. |
Jenkins, Tekton |
| NIST SSDF PO.1, PW.8 |
Security release gates |
Apply measurable security acceptance criteria and prevent releases when required AI security evaluations fail. |
Open Policy Agent, Conftest |
AI security testing tools have different capabilities and coverage. No single testing tool can establish that an AI application is free of vulnerabilities or unsafe behaviors.
Expected Security Evidence
- AI application security test plans and acceptance criteria.
- Prompt injection testing results.
- Sensitive information disclosure evaluation reports.
- Agent permission and tool execution test results.
- RAG and retrieval security testing records.
- Resource consumption and abuse testing results.
- Security regression test results.
- Records of identified vulnerabilities and remediation activities.
- Automated security gate results.
- Approved exceptions and documented residual risks.
- Traceable AI evaluation results associated with application releases.
These artifacts demonstrate that AI applications have undergone defined security evaluations before deployment.
Security testing should be repeated when significant changes occur to models, prompts, agent permissions, retrieval sources, or connected tools.
Additional Resources
3.2.4 - Secure AI Deployment
Deploying AI applications and agents with least-privilege access, secure configurations, secrets protection, workload isolation, and release authorization.
Secure AI Deployment - Phase 2: Build and Deploy
AI-enabled applications often depend on models, external APIs, vector databases, retrieval services, and autonomous agents that interact with other applications and infrastructure.
These integrations introduce security risks when deployed applications or agents receive excessive permissions, unrestricted network access, sensitive credentials, or unauthorized tool capabilities.
During Build and Deploy, organizations should ensure AI applications and autonomous agents are deployed within controlled environments that enforce access policies, workload isolation, secure configuration, and release authorization.
This activity extends established CI/CD deployment security practices to address the operational capabilities and security requirements of AI-enabled applications.
Secure AI Deployment
Objective: Ensure AI applications, models, and autonomous agents are deployed using verified artifacts, controlled identities, least-privilege permissions, protected credentials, and independently enforced security policies.
The NIST Secure Software Development Framework (SSDF) establishes practices for protecting software development environments and ensuring the integrity of software releases.
The OWASP Top 10 for LLM Applications identifies excessive agency, prompt injection, and improper output handling as risks that can affect deployed AI applications.
For DevOps teams, secure deployment should ensure that AI services and agents operate only within approved access and execution boundaries.
AI-generated instructions must not independently grant permissions or authorize privileged operations. Access decisions should be enforced by trusted application, identity, and infrastructure controls.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PO.5; OWASP LLM06 |
Workload identity and authentication |
Assign controlled workload identities to AI applications and agents and authenticate access to protected services. |
SPIRE, Keycloak |
| NIST SSDF PO.5; OWASP LLM06 |
Least-privilege authorization |
Restrict access to repositories, databases, APIs, tools, and infrastructure based on approved policies. |
Open Policy Agent, Casbin |
| NIST SSDF PO.5 |
Secrets management |
Protect credentials and API keys through secure configuration and controlled secrets distribution. |
SOPS, External Secrets Operator |
| NIST SSDF PO.5 |
Workload isolation |
Deploy AI workloads in controlled environments with restricted execution privileges and resource boundaries. |
Kubernetes, gVisor |
| OWASP LLM06 |
Agent tool authorization |
Enforce restrictions on the tools, commands, and external operations that agents can invoke. |
Open Policy Agent, Kyverno |
| NIST SSDF PS.2 |
Deployment artifact verification |
Verify approved container images and applicable artifact signatures before deployment. |
Sigstore Cosign, Kyverno |
| NIST SSDF PO.5 |
Network access restrictions |
Restrict connections between AI workloads, internal resources, and external services. |
Cilium, Kubernetes NetworkPolicy |
| NIST SSDF PO.1, PS.2 |
Deployment authorization |
Apply release approval policies and prevent deployment of unauthorized or unverified AI components. |
Open Policy Agent, Argo CD |
| NIST SSDF PO.3, PS.1 |
Deployment traceability |
Record deployed versions, configuration changes, approvals, and release history. |
Argo CD, Flux |
These controls apply established software security and infrastructure practices to AI-enabled applications. Deployment authorization and infrastructure security controls should operate independently of model-generated decisions.
Expected Security Evidence
- Approved AI deployment configurations.
- Workload identity and authentication records.
- Agent permission and authorization policies.
- Secrets management and credential access configurations.
- Workload isolation and network security policies.
- Verified container and artifact signatures.
- Deployment policy enforcement records.
- Release approval and change authorization evidence.
- Deployment configuration and version history.
- Records of rejected or unauthorized deployment attempts.
These artifacts provide evidence that AI applications and agents are deployed within controlled environments and operate under defined security restrictions.
Deployment evidence should be retained for continuous security monitoring, vulnerability management, and incident response during Phase 3: Post Deploy.
Additional Resources
3.2.5 - AI Release Evidence and Inventory
Maintaining traceable inventories of AI models, prompts, dependencies, configurations, security evaluations, and deployment evidence.
AI Release Evidence and Inventory - Phase 2: Build and Deploy
AI-enabled software releases may include more than traditional source code, libraries, and container images.
Applications can depend on AI models, prompts, agent configurations, retrieval components, external services, and supporting datasets that influence their behavior.
Without an accurate inventory of these components, organizations may struggle to identify which AI assets are deployed, determine which systems are affected by security findings, or reproduce the configuration of a previous release.
During Build and Deploy, organizations should create and retain inventories and security evidence that associate AI components with their application releases and deployment records.
This activity focuses on establishing traceability across the AI software supply chain and ensuring security evidence remains available after deployment.
AI Release Evidence and Inventory
Objective: Maintain accurate, traceable records of AI models, prompts, agent configurations, software dependencies, security evaluations, and deployment artifacts associated with each software release.
The NIST Secure Software Development Framework (SSDF) establishes practices for preserving software integrity, tracking software components, and generating evidence associated with secure development.
The NIST AI SSDF Profile (SP 800-218A) extends secure development guidance to address AI model development and lifecycle considerations.
For DevOps teams, release inventories should extend beyond traditional Software Bills of Materials (SBOMs) to include relevant AI assets and their relationships to deployed applications.
An SBOM identifies software components and dependencies, but may not fully capture models, datasets, prompts, and agent configurations. Additional AI-specific inventories or metadata may therefore be necessary.
The resulting release evidence should enable teams to determine what was built, what was tested, what was approved, and what was deployed.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PS.3 |
Software component inventory |
Generate SBOMs identifying application packages, libraries, containers, and supporting software dependencies. |
Syft, CycloneDX |
| NIST SP 800-218A; NIST SSDF PS.3 |
AI model inventory |
Record model identifiers, versions, approved sources, artifact hashes, and relationships to application releases. |
DVC, MLflow |
| NIST SSDF PS.1, PS.3 |
Prompt and agent configuration tracking |
Associate approved prompt versions, agent instructions, tool definitions, and configuration revisions with releases. |
Git, DVC |
| NIST SSDF PS.3 |
AI dependency relationships |
Document relationships among AI models, application components, software packages, and supporting artifacts. |
CycloneDX, GUAC |
| NIST SSDF PS.2 |
Artifact integrity evidence |
Record cryptographic verification results and signatures for approved release artifacts. |
Sigstore Cosign, OpenSSF Model Signing |
| NIST SSDF PS.2, PS.3 |
Build provenance |
Generate attestations identifying trusted build processes, source revisions, and resulting release artifacts. |
SLSA, in-toto |
| NIST SSDF PW.8 |
AI security evaluation evidence |
Preserve test cases, AI security evaluation results, identified risks, and release acceptance decisions. |
Promptfoo, Inspect AI |
| NIST SSDF PO.3, PS.3 |
Deployment evidence |
Record approved application versions, deployment configurations, release identifiers, and target environments. |
Argo CD, Flux |
| NIST SSDF RV.1, RV.2 |
Vulnerability traceability |
Associate identified vulnerabilities and remediation records with relevant software components and releases. |
OSV, GUAC, Ortelius |
Release inventories may require multiple complementary formats and tools. SBOMs, model metadata, provenance attestations, security evaluation results, and deployment records serve different purposes and should be linked using stable identifiers wherever practical.
Expected Security Evidence
- Software Bills of Materials for applicable software artifacts.
- AI model inventories identifying model names, versions, and sources.
- Model integrity verification records.
- Approved prompt and agent configuration versions.
- AI dependency and component relationship records.
- Build provenance and artifact attestations.
- AI security testing and evaluation reports.
- Vulnerability scanning and remediation records.
- Release approvals and authorization decisions.
- Deployment records identifying target environments and application versions.
- Traceable links between AI artifacts, application releases, and deployed systems.
- Retained security evidence supporting investigation, audits, and vulnerability management.
These artifacts provide a record of the software and AI components included in each release and the security controls applied before deployment.
Release inventories should remain available after deployment so newly discovered vulnerabilities can be correlated with affected software components, AI models, applications, and environments.
This information provides the foundation for continuous vulnerability management, affected-system identification, and incident response during Phase 3: Post Deploy.
Additional Resources
3.3 - Post Deployment
Continuously monitoring deployed AI applications, managing vulnerabilities, auditing autonomous agents, and supporting secure AI-assisted remediation.
Security does not stop when an AI-enabled application reaches production. New vulnerabilities are discovered, AI models and dependencies change, autonomous agents interact with external systems, and emerging threats can affect applications long after their initial deployment.
Phase 3: Post Deploy focuses on maintaining continuous security visibility into deployed AI applications, models, agents, and their supporting software components.
This phase extends traditional vulnerability management and runtime security practices to address AI-specific threats, including prompt injection, unauthorized agent activity, sensitive information disclosure, model compromise, and unsafe automated actions.
It also explores how artificial intelligence can support vulnerability analysis and remediation while maintaining independent validation, human oversight, and auditable security controls.
The objective is to ensure that deployed AI-enabled software remains secure throughout its operational lifecycle.
Why AI Security Must Continue After Deployment
Traditional post-deployment security activities focus on monitoring applications, identifying vulnerabilities, detecting suspicious behavior, and applying security updates.
AI-enabled applications introduce additional challenges:
- Changing AI Threats: Newly discovered attack techniques can affect deployed AI applications without requiring changes to their underlying source code.
- Autonomous Agent Activity: AI agents may execute commands, access APIs, modify resources, or interact with external systems during production operations.
- Model and Dependency Vulnerabilities: Deployed AI services depend on models, frameworks, libraries, containers, and supporting infrastructure that may develop new security exposures.
- Prompt Injection and Data Exposure: Malicious inputs and untrusted external content can manipulate model behavior or expose sensitive information.
- Limited Deployment Visibility: Organizations may lack an accurate inventory of which AI models, prompts, dependencies, and configurations are running in production.
- AI-Assisted Remediation Risks: AI-generated security fixes may introduce compatibility issues, unintended changes, or new vulnerabilities if applied without validation.
Addressing these challenges requires continuous security monitoring, accurate deployed asset inventories, and controlled remediation workflows.
Phase 3: Post Deployment Outcomes
By implementing these practices, DevOps and security teams establish continuous security oversight for deployed AI-enabled software.
Expected outcomes include:
- Deployed AI applications are monitored for suspicious behavior, unauthorized access, and emerging threats.
- AI agents operate with observable and auditable execution histories.
- Newly disclosed software vulnerabilities are correlated with affected production applications and dependencies.
- AI-specific behavioral risks are assessed alongside traditional software vulnerabilities.
- AI-assisted remediation changes are independently tested and approved before release.
- Compromised models, agents, and applications can be isolated, rolled back, or recovered.
- Security evidence supports incident investigation, vulnerability management, and compliance assessments.
- Production security findings provide feedback into earlier CI/CD security activities.
These outcomes support a continuous security model in which monitoring, vulnerability identification, remediation, and verification extend throughout the operational lifecycle.
The following frameworks provide guidance relevant to Phase 3 AI security activities.
| Framework |
Relevant Guidance |
| NIST SP 800-218 – Secure Software Development Framework |
Vulnerability identification, remediation, root cause analysis, and improvements to secure development practices. |
| NIST SP 800-218A – AI SSDF Profile |
AI-specific secure development and vulnerability management considerations across the AI lifecycle. |
| NIST AI Risk Management Framework |
Monitoring, measurement, governance, and ongoing management of AI-related risks. |
| OWASP Top 10 for LLM Applications |
AI security risks including prompt injection, sensitive information disclosure, improper output handling, excessive agency, and model-related threats. |
| NIST Cybersecurity Framework 2.0 |
Continuous cybersecurity risk management, detection, response, and recovery activities. |
| NIST SP 800-61 – Incident Response |
Incident response planning, detection, analysis, containment, and recovery. |
| OpenSSF |
Open-source software supply chain security, vulnerability management, and secure development practices. |
These frameworks provide guidance for implementing and managing AI security controls. They do not all establish mandatory regulatory compliance requirements.
Integrating AI Security into the CI/CD Pipeline
AI security controls should be incorporated into existing CI/CD automation rather than implemented as disconnected manual processes.
This section will cover a typical AI-enabled software delivery workflow to include:
3.3.1 - AI Runtime Security Monitoring
Continuously monitoring deployed AI applications for prompt injection, sensitive information exposure, suspicious model behavior, and runtime security threats.
AI Runtime Security Monitoring - Phase 3: Post Deploy
Artificial intelligence applications introduce runtime behaviors that traditional application security monitoring may not fully capture. Large language models (LLMs), retrieval-augmented generation (RAG) systems, and autonomous agents interact with users, external data sources, APIs, and supporting services in ways that can create additional security risks.
These risks include prompt injection, sensitive information disclosure, unauthorized tool execution, model manipulation, and resource abuse.
During Post Deploy, organizations should continuously monitor AI applications to identify suspicious activity, detect security policy violations, and respond to emerging threats.
This activity extends established runtime security monitoring practices to include AI-specific behavior, model interactions, and application security events.
AI Runtime Security Monitoring
Objective: Detect and investigate suspicious AI application behavior, unauthorized access, prompt injection attempts, sensitive information exposure, and runtime security policy violations.
The NIST AI Risk Management Framework emphasizes ongoing measurement, monitoring, and management of risks associated with AI systems.
The NIST Cybersecurity Framework 2.0 provides guidance for identifying, detecting, responding to, and recovering from cybersecurity threats.
The OWASP Top 10 for LLM Applications identifies AI-specific threats including prompt injection, sensitive information disclosure, excessive agency, and unbounded consumption.
For DevOps teams, runtime monitoring should combine application telemetry, infrastructure security events, AI interaction traces, and independently enforced security policies.
Monitoring should collect sufficient information to investigate suspicious behavior while protecting confidential prompts, user information, credentials, and sensitive model outputs.
AI-generated explanations of suspicious activity should not replace independently collected security evidence.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST AI RMF MEASURE, MANAGE |
AI application runtime observability |
Collect application traces, metrics, errors, and AI interaction telemetry to establish operational and security baselines. |
OpenTelemetry, Prometheus |
| OWASP LLM01 |
Prompt injection monitoring |
Monitor suspicious input patterns and use security evaluations to investigate potential prompt injection attempts. |
Promptfoo, Garak |
| OWASP LLM02 |
Sensitive information exposure detection |
Detect potentially exposed sensitive information in appropriately authorized and protected application telemetry. |
Microsoft Presidio, OpenTelemetry |
| OWASP LLM05, LLM06 |
Suspicious tool execution |
Detect unexpected commands, process execution, and unauthorized operations initiated by AI-enabled applications. |
Falco, Tetragon |
| OWASP LLM10 |
Resource abuse monitoring |
Monitor inference request rates, resource consumption, service latency, and abnormal usage patterns. |
Prometheus, Grafana |
| NIST CSF DE.CM |
Continuous infrastructure monitoring |
Monitor containers, Kubernetes workloads, and supporting AI application infrastructure for suspicious activity. |
Falco, Wazuh |
| NIST CSF DE.AE |
Security event correlation |
Correlate AI application events with infrastructure logs, authentication records, and security alerts. |
OpenSearch, Wazuh |
| NIST AI RMF MANAGE |
Runtime policy enforcement |
Enforce defined access, network, and execution policies independently of model-generated instructions. |
Open Policy Agent, Kyverno |
| NIST CSF DE.CM, RS.AN |
Security investigation and evidence |
Preserve security-relevant telemetry and records needed to investigate suspected AI incidents. |
OpenTelemetry, OpenSearch |
Observability tools collect and analyze runtime information but do not automatically detect every AI-specific attack. Prompt injection testing tools primarily support security evaluations and require additional integration for continuous monitoring.
Expected Security Evidence
- AI application runtime monitoring configurations.
- AI service traces, metrics, and security event records.
- Records of detected suspicious input or application behavior.
- Unauthorized tool execution and access violation alerts.
- Sensitive information exposure detection results.
- Resource usage and abnormal consumption monitoring reports.
- Infrastructure and container runtime security findings.
- Correlated application and security event records.
- Security incident investigation records.
- Runtime policy enforcement and alert response evidence.
These artifacts demonstrate that deployed AI applications are subject to continuous security monitoring and that security-relevant events can be investigated.
Monitoring findings should feed into vulnerability management, incident response, and the security requirements applied during earlier CI/CD phases.
Additional Resources
3.3.2 - Continuous AI Vulnerability Management
Identifying vulnerabilities in deployed AI applications, correlating vulnerable dependencies with production environments, and managing AI-specific behavioral security risks.
Continuous AI Vulnerability Management - Phase 3: Post Deploy
AI-enabled applications depend on software frameworks, model-serving infrastructure, libraries, containers, APIs, and supporting services that may become vulnerable after deployment.
A software component that passes security testing during development may later be affected by a newly disclosed Common Vulnerabilities and Exposures (CVE) record.
Traditional pre-deployment scanning cannot detect vulnerabilities that become known after software has already been released.
AI applications also introduce behavioral security risks, including prompt injection, excessive agent permissions, sensitive information disclosure, and manipulation of model outputs. These weaknesses may not have CVE identifiers and cannot always be addressed through traditional software patching.
During Post Deploy, organizations should continuously monitor both newly disclosed software vulnerabilities and AI-specific behavioral security risks.
This activity focuses on maintaining deployed software visibility, identifying affected environments, assessing AI-specific threats, prioritizing remediation, and verifying that corrective actions reach affected production systems.
Continuous AI Vulnerability Management
Objective: Continuously identify, assess, prioritize, and remediate software vulnerabilities and AI-specific behavioral security weaknesses affecting deployed AI applications, dependencies, agents, and supporting infrastructure.
The NIST Secure Software Development Framework (SSDF) establishes practices for identifying vulnerabilities in released software, assessing their impact, and implementing appropriate responses.
The NIST AI SSDF Profile (SP 800-218A) extends secure development guidance to address AI model development and integration.
The NIST Cybersecurity Framework 2.0 provides guidance for identifying technology assets, managing vulnerabilities, assessing risks, and implementing appropriate responses.
The NIST AI Risk Management Framework provides guidance for identifying, measuring, monitoring, and managing risks associated with AI systems.
The OWASP Top 10 for LLM Applications identifies AI-specific security risks, including prompt injection, sensitive information disclosure, improper output handling, and excessive agency.
For DevOps teams, continuous AI security requires two complementary practices:
- Software Vulnerability Management: Identify known software vulnerabilities, correlate findings with deployed components, and verify remediation.
- AI Behavioral Risk Management: Identify and mitigate AI-specific weaknesses through adversarial testing, runtime monitoring, access controls, and application security improvements.
These practices should share application inventory, ownership, and deployment information while maintaining distinct methods for assessing and remediating security findings.
Software Vulnerability Management - NIST SSDF
Software vulnerability management focuses on identifying, assessing, and remediating known vulnerabilities in deployed software components, including AI frameworks, libraries, containers, model-serving infrastructure, and supporting services.
NIST SSDF practices RV.1 and RV.2 establish processes for identifying and responding to vulnerabilities in released software.
For DevOps teams, vulnerability management must extend beyond creating Software Bills of Materials (SBOMs) and scanning release artifacts.
SBOM information should be associated with application versions and deployment metadata so teams can identify which vulnerable components are actually running, where they are deployed, and who is responsible for remediation.
Continuous monitoring of vulnerability intelligence sources enables organizations to identify vulnerabilities disclosed after deployment and determine their potential impact on production applications.
Remediation should be prioritized based on severity, known exploitation, exposure, affected production systems, and operational risk.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF PS.3; NIST CSF ID.AM |
Deployed AI component inventory |
Maintain records of deployed applications, AI frameworks, model-serving components, software packages, and supporting dependencies. |
Syft, CycloneDX |
| NIST SSDF RV.1 |
Continuous vulnerability intelligence |
Monitor vulnerability databases for newly disclosed vulnerabilities affecting deployed software components. |
OSV, OSV-Scanner |
| NIST SSDF RV.1; NIST CSF ID.RA |
Deployed vulnerability correlation |
Associate vulnerability findings with SBOM components, application releases, and deployment records to identify affected environments. |
Ortelius, GUAC |
| NIST SSDF RV.1 |
Container and dependency vulnerability assessment |
Reassess container images and application dependencies against updated vulnerability intelligence. |
Trivy, Grype |
| NIST CSF ID.RA |
Vulnerability prioritization |
Prioritize vulnerabilities based on severity, known exploitation, exposure, and affected production assets. |
OSV, DefectDojo |
| NIST SSDF PS.3, RV.1 |
Affected application identification |
Trace vulnerable components to associated software artifacts, deployments, and application ownership records. |
Ortelius, GUAC |
| NIST SSDF RV.2 |
Remediation tracking |
Record vulnerability ownership, remediation decisions, affected releases, and outstanding corrective actions. |
DefectDojo, Gitea |
| NIST SSDF RV.2 |
Remediation verification |
Rescan affected software and confirm that patched components have reached the relevant deployment environments. |
Trivy, Ortelius |
Vulnerability discovery, software supply chain correlation, and deployment inventory are complementary capabilities. An SBOM scanner identifies software components and may detect known vulnerabilities, while deployment correlation is needed to determine which applications and environments are affected.
Software Vulnerability Management - Expected Security Evidence
- Inventory of deployed AI applications and supporting software components.
- SBOMs associated with released application versions.
- Deployment records identifying environments and affected assets.
- Newly disclosed CVE detection records.
- Correlations between vulnerable packages and deployed applications.
- Vulnerability severity, exploitability, and exposure assessments.
- Documented vulnerability ownership and prioritization decisions.
- Remediation tracking records and assigned corrective actions.
- Post-remediation vulnerability scanning results.
- Evidence confirming deployment of corrected software versions.
These artifacts provide evidence that software vulnerability management continues after deployment and that newly disclosed vulnerabilities can be associated with affected production systems.
Vulnerability findings should initiate appropriate remediation workflows, including the AI-assisted remediation activities described in this phase.
AI Behavioral Risk Management - OWASP and NIST AI RMF
AI-enabled applications introduce behavioral security weaknesses that may not be associated with a known CVE or vulnerable software package. These weaknesses arise from how AI systems process instructions, interact with external content, access tools, and make decisions.
Examples include prompt injection, excessive agency, sensitive information disclosure, unsafe output handling, and manipulation of retrieved information.
Unlike traditional software vulnerabilities, these issues may require changes to application architecture, trust boundaries, authorization policies, model configurations, prompts, or agent permissions rather than dependency upgrades.The OWASP Top 10 for LLM Applications identifies common AI-specific security risks, while the NIST AI Risk Management Framework provides guidance for assessing, monitoring, and managing AI risks throughout the operational lifecycle.
For DevOps teams, AI behavioral risk management should be integrated into continuous security testing, runtime monitoring, application configuration management, and incident response processes. Security findings should be associated with affected AI applications, model versions, agent configurations, and deployed environments whenever possible.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| OWASP LLM01; NIST AI RMF MEASURE |
Prompt injection risk assessment |
Test and monitor AI applications for malicious instructions delivered through user prompts, retrieved documents, tool outputs, or external content. |
Promptfoo, Garak |
| OWASP LLM02; NIST AI RMF MEASURE |
Sensitive information disclosure |
Evaluate whether AI application outputs or interactions expose confidential information, credentials, or protected data. |
Microsoft Presidio, Promptfoo |
| OWASP LLM05 |
Unsafe output handling |
Test whether AI-generated outputs can trigger unauthorized commands, injection attacks, or unsafe downstream operations. |
Semgrep, OWASP ZAP |
| OWASP LLM06; NIST AI RMF MANAGE |
Excessive agency and agent permissions |
Evaluate agent permissions, tool access, and autonomous actions to prevent operations beyond approved authorization boundaries. |
Open Policy Agent, Promptfoo |
| OWASP LLM08; NIST AI RMF MEASURE |
Retrieval and vector security |
Assess unauthorized retrieval, malicious document injection, and manipulation of external information used by AI applications. |
Promptfoo, Garak |
| NIST AI RMF MEASURE, MANAGE |
Continuous AI security evaluation |
Execute repeatable adversarial evaluations and reassess AI application security following changes to models, prompts, tools, or external dependencies. |
Inspect AI, Promptfoo |
| NIST AI RMF MANAGE; NIST CSF DE.CM |
AI runtime security monitoring |
Collect application telemetry, monitor abnormal agent behavior, and correlate AI security events with supporting infrastructure activity. |
OpenTelemetry, Falco |
| NIST AI RMF MANAGE |
AI behavioral risk tracking |
Record identified weaknesses, affected AI components, mitigation decisions, and unresolved security risks. |
DefectDojo, Gitea |
OWASP identifies AI application security risk categories, while NIST AI RMF provides processes for managing AI risks. The suggested controls and tools are implementation examples rather than mandatory requirements specified by these frameworks.
AI Behavioral Risk Management - Expected Security Evidence
- AI application threat models and behavioral risk assessments.
- Prompt injection testing and evaluation results.
- Sensitive information disclosure assessments.
- Agent permission and authorization validation records.
- Security testing results for retrieval and external tool integrations.
- AI model and application evaluation reports.
- Runtime monitoring and security event records.
- Documented AI behavioral weaknesses and affected applications.
- AI security risk ownership and prioritization decisions.
- Mitigation plans and security configuration changes.
- Post-mitigation security testing and validation results.
- Records of accepted, unresolved, or escalated AI security risks.
These artifacts provide evidence that AI-specific behavioral security risks are being assessed and managed throughout the operational lifecycle. Because AI behavior may vary with model versions, prompts, retrieved content, and external integrations, security evaluations should be repeated when significant changes occur.
Coordinating Software Vulnerabilities and AI Behavioral Risks
Software vulnerability management and AI behavioral risk management should operate as complementary security processes. A deployed AI application may contain vulnerable software dependencies while also exhibiting unsafe behavior caused by excessive agent permissions, prompt injection, or insecure application design.
Both categories of findings should be linked to the affected applications and deployment environments, but their detection and remediation requirements may differ.
| Security Consideration |
Software Vulnerability Management |
AI Behavioral Risk Management |
| Primary Guidance |
NIST SSDF |
OWASP LLM Top 10, NIST AI RMF |
| Security Findings |
CVEs, vulnerable dependencies, software weaknesses |
Prompt injection, excessive agency, data exposure, unsafe model interactions |
| Detection Methods |
Vulnerability intelligence, SCA, SBOM analysis, artifact scanning |
Adversarial testing, behavioral evaluation, runtime monitoring |
| Affected Assets |
Software packages, containers, frameworks, infrastructure |
Models, prompts, agents, retrieval systems, application configurations |
| Typical Corrective Actions |
Dependency upgrades, patches, configuration updates |
Access control changes, application fixes, prompt changes, additional security boundaries |
| Validation |
Rescanning, regression testing, deployment verification |
Security reevaluation, adversarial testing, policy validation |
| Evidence |
CVE records, SBOMs, patch records, deployment history |
Evaluation results, agent logs, policy changes, behavioral risk assessments |
For DevOps and platform engineering teams, maintaining a connection between these security processes improves visibility into the complete security posture of deployed AI applications.
A common application inventory, ownership model, and deployment record can help correlate findings while preserving the distinct evaluation and remediation workflows required for each risk category.
Additional Resources
3.3.3 - AI Agent Activity Monitoring
Monitoring autonomous AI agents for unauthorized tool execution, excessive permissions, suspicious actions, and security policy violations.
AI Agent Activity Monitoring - Phase 3: Post Deploy
Autonomous AI agents introduce security risks because they can execute actions rather than simply generate responses. Production agents may interact with APIs, access databases, execute commands, modify files, invoke external tools, and communicate with other agents. These capabilities create security concerns when agents perform unauthorized actions, exceed assigned permissions, expose sensitive information, or respond to manipulated instructions.
During Post Deploy, organizations should continuously monitor AI agent activity to detect suspicious behavior, enforce authorization boundaries, and maintain auditable records of agent operations.
This activity focuses on establishing visibility into agent identities, tool calls, permissions, execution history, and security-sensitive actions.
AI Agent Activity Monitoring
Objective: Ensure autonomous AI agent activity is observable, attributable, and auditable, with controls capable of detecting unauthorized actions, excessive permissions, and security policy violations.
The NIST AI Risk Management Framework provides guidance for monitoring and managing AI-related risks throughout system operation.
The NIST Cybersecurity Framework 2.0 establishes practices for monitoring systems, detecting suspicious activity, and managing access-related security risks.
The OWASP Top 10 for LLM Applications identifies excessive agency as a security risk when AI systems have unnecessary functionality, permissions, or autonomy.
For DevOps teams, autonomous agents should be monitored similarly to other privileged automated services, with additional visibility into model-directed tool selection and execution.
Security controls should record which agent initiated an action, what resource was accessed, which tool was invoked, and whether the action was authorized.
Agent-generated explanations should not replace independent audit logs, access control records, and execution telemetry.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST AI RMF MEASURE, MANAGE |
Agent activity observability |
Collect traces and events associated with agent execution, model requests, and external tool interactions. |
OpenTelemetry, Jaeger |
| NIST CSF PR.AA; OWASP LLM06 |
Agent identity and access monitoring |
Monitor authentication, authorization decisions, and access to protected resources. |
Keycloak, Open Policy Agent |
| OWASP LLM06 |
Agent tool execution monitoring |
Record tool calls and identify unauthorized commands, API operations, or unexpected resource modifications. |
OpenTelemetry, Falco |
| OWASP LLM01, LLM06 |
Agent instruction manipulation detection |
Investigate suspicious agent actions associated with untrusted inputs, retrieved content, or manipulated instructions. |
Promptfoo, Garak |
| NIST CSF DE.CM |
Suspicious process execution detection |
Monitor agent workloads for unexpected process execution, privilege escalation, and system activity. |
Falco, Tetragon |
| NIST CSF PR.AA |
Agent authorization policy enforcement |
Evaluate permissions independently of AI-generated instructions and deny unauthorized operations. |
Open Policy Agent, Casbin |
| NIST CSF DE.AE |
Agent activity correlation |
Correlate agent execution records with application logs, authentication events, and infrastructure security findings. |
OpenSearch, Wazuh |
| NIST CSF RS.MI |
Agent containment |
Support suspension of compromised agent workloads and revocation of affected credentials. |
Kubernetes, Keycloak |
| NIST AI RMF MANAGE |
Agent activity auditing |
Retain records of security-sensitive actions, tool execution results, and authorization decisions for investigation. |
OpenTelemetry, OpenSearch |
Agent observability and authorization are separate controls. Monitoring records what an agent attempted or performed, while trusted authorization systems must independently determine which actions are permitted.
Expected Security Evidence
- Inventory of active AI agents and assigned identities.
- Agent authentication and authorization records.
- Agent tool invocation and execution logs.
- Records of access to protected APIs and services.
- Alerts identifying unauthorized or suspicious agent actions.
- Agent permission and policy enforcement results.
- Runtime process execution and infrastructure security events.
- Correlated agent activity and application security records.
- Records of suspended agents and revoked credentials.
- Security investigation and remediation records.
- Audit trails linking agent actions to initiating requests and execution contexts.
These artifacts demonstrate that autonomous AI agents operate under monitored and enforceable security controls.
Agent monitoring should support timely investigation of unauthorized operations while retaining sufficient evidence to establish which actions occurred and what systems were affected.
Additional Resources
3.3.4 - AI-Assisted Vulnerability Remediation
Using AI to analyze vulnerabilities, recommend dependency upgrades, generate validated remediation changes, and support secure CI/CD remediation workflows.
AI-Assisted Vulnerability Remediation - Phase 3: Post Deploy
Traditional vulnerability management tools identify vulnerable software packages and report security findings, but correcting those vulnerabilities frequently requires manual investigation, dependency analysis, code modifications, compatibility testing, and deployment coordination.
AI-assisted remediation introduces opportunities to reduce this effort by analyzing vulnerability information, identifying candidate fixes, and generating proposed software changes.
However, AI-generated remediation may introduce breaking changes, dependency conflicts, functional regressions, or new vulnerabilities.
During Post Deploy, organizations should integrate AI-assisted remediation into controlled CI/CD workflows that independently validate proposed changes before they are accepted or deployed.
This activity focuses on connecting deployed vulnerability detection with AI-assisted analysis, remediation preparation, automated validation, and authorized software delivery.
Objective: Accelerate vulnerability remediation through AI-assisted analysis and code generation while ensuring that proposed fixes are independently tested, reviewed, and authorized before deployment.
The NIST Secure Software Development Framework (SSDF) establishes practices for identifying and addressing vulnerabilities in released software.
The NIST AI SSDF Profile (SP 800-218A) extends secure development guidance to AI-related systems and development practices.
The NIST Cybersecurity Framework 2.0 provides guidance for managing cybersecurity risks and implementing appropriate corrective actions.
For DevOps teams, AI-assisted remediation should begin with an identified vulnerability and sufficient information about affected software components, dependency relationships, and deployment environments.
AI may analyze the vulnerability and prepare candidate updates, but independent tools and authorized reviewers should determine whether the proposed changes are acceptable.
Remediation workflows should not allow AI agents to bypass testing, change approval, or production deployment controls.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST SSDF RV.1 |
Vulnerability identification |
Detect newly disclosed vulnerabilities affecting application packages and deployed software components. |
OSV, Trivy |
| NIST SSDF RV.1; NIST CSF ID.RA |
Affected deployment identification |
Correlate vulnerable packages with application artifacts and deployment records to identify affected environments. |
Ortelius, GUAC |
| NIST SSDF RV.2 |
AI-assisted remediation analysis |
Provide vulnerability details and dependency information to an approved AI workflow for candidate remediation analysis. |
Aider, OpenHands |
| NIST SSDF RV.2 |
Dependency upgrade preparation |
Identify candidate patched versions and prepare dependency manifest or source code changes for review. |
Renovate, Aider |
| NIST SSDF PW.7, PW.8 |
Independent remediation validation |
Validate proposed fixes through builds, automated tests, static analysis, and dependency vulnerability scanning. |
Jenkins, Semgrep, Trivy |
| NIST SSDF RV.2 |
Unsafe remediation detection |
Block proposed changes that introduce failing tests, incompatible dependencies, or unacceptable security risks. |
Jenkins, Open Policy Agent |
| NIST SSDF RV.2 |
Unresolved vulnerability tracking |
Generate tracked issues when no compatible remediation is available or further investigation is required. |
Gitea, DefectDojo |
| NIST SSDF PO.1, PW.7 |
Remediation authorization |
Require appropriate review and approval before AI-generated remediation changes are merged or released. |
Gitea, Open Policy Agent |
| NIST SSDF RV.2 |
Post-deployment remediation verification |
Rescan affected components and verify that corrected versions are deployed to the intended environments. |
Trivy, Ortelius |
| NIST SSDF RV.3 |
Remediation effectiveness analysis |
Record root causes, validation outcomes, and lessons learned to improve future vulnerability prevention and remediation. |
DefectDojo, Gitea |
The listed AI development tools can assist with code changes, but they do not independently provide a complete vulnerability remediation system. Organizations must integrate vulnerability intelligence, dependency analysis, testing, authorization, and deployment verification.
AI-assisted remediation should distinguish three possible outcomes:
1. Safe Dependency Upgrade
A vulnerability has a known patched version that is compatible with the application.
The AI proposes an update, and independent build, security, and regression tests confirm the change satisfies release requirements.
The proposed fix is submitted for review and authorization before deployment.
2. Unsafe Dependency Upgrade
A patched version is available, but upgrading introduces breaking changes, dependency conflicts, or failed tests.
The proposed change is blocked or revised. The workflow records the failure and may generate a tracked issue for further investigation.
3. Ambiguous or Unresolved Vulnerability
A vulnerability cannot be safely corrected because the available evidence is insufficient, a compatible patch does not exist, or the remediation risk is unacceptable.
The workflow preserves the vulnerability finding, documents the available alternatives, and creates an issue for human investigation.
These outcomes ensure AI-assisted remediation produces auditable decisions rather than uncontrolled changes to production software.
Expected Security Evidence
- Original vulnerability findings and identifiers.
- Records identifying affected packages, applications, and deployments.
- AI-generated vulnerability analysis and candidate remediation recommendations.
- Proposed dependency changes and source code modifications.
- Dependency compatibility analysis results.
- Build, security scanning, and regression testing results.
- Records of rejected or unsuccessful remediation attempts.
- Pull requests containing validated remediation changes.
- Issues documenting unresolved vulnerabilities.
- Human review and approval records.
- Release and deployment records for corrected software.
- Post-deployment verification showing remediation status.
- Records of AI recommendations and independent validation outcomes.
These artifacts provide evidence that AI-assisted vulnerability remediation follows controlled software development and deployment practices.
The objective is to reduce the time required to investigate and prepare vulnerability corrections without weakening security validation or production change authorization.
Additional Resources
3.3.5 - AI Incident Response and Recovery
Detecting, investigating, containing, and recovering from AI-related cybersecurity incidents involving models, agents, prompts, and supporting infrastructure.
AI Incident Response and Recovery - Phase 3: Post Deploy
AI-enabled applications introduce security incident scenarios that may differ from traditional application and infrastructure compromises.
Incidents can involve prompt injection, unauthorized agent execution, compromised model artifacts, manipulated retrieval content, sensitive information exposure, or abuse of external tools and services.
These incidents may affect application behavior even when the underlying software binaries remain unchanged.
During Post Deploy, organizations should extend established cybersecurity incident response procedures to include AI-specific threats, affected assets, and recovery requirements.
This activity focuses on detecting and investigating AI security incidents, containing affected systems, preserving evidence, restoring trusted configurations, and incorporating lessons learned into CI/CD security practices.
AI Incident Response and Recovery
Objective: Establish repeatable processes for detecting, investigating, containing, recovering from, and documenting AI-related security incidents while preserving reliable security evidence and preventing recurrence.
The NIST Cybersecurity Framework 2.0 establishes a lifecycle approach to cybersecurity risk management, including detection, response, and recovery.
NIST SP 800-61 Rev. 3 provides incident response recommendations aligned with the NIST Cybersecurity Framework.
The NIST AI Risk Management Framework provides guidance for measuring and managing risks associated with AI systems.
For DevOps teams, incident response should incorporate AI application telemetry, agent execution records, model and configuration inventories, deployment evidence, and software dependency information.
Security teams should be able to identify which AI components were involved, which actions occurred, which resources were affected, and whether the incident involved compromised software, manipulated model behavior, or unauthorized agent activity.
Recovery must restore both trusted software artifacts and approved AI configurations, permissions, models, and data sources.
| Framework Reference |
Security Activity |
CI/CD Implementation |
Suggested Open-Source Tools |
| NIST CSF DE.CM, DE.AE |
AI security incident detection |
Detect suspicious model interactions, unexpected agent execution, unauthorized access, and infrastructure security events. |
Falco, Wazuh |
| NIST CSF RS.AN |
AI incident investigation |
Correlate AI application telemetry, agent tool calls, authentication records, and infrastructure logs. |
OpenSearch, OpenTelemetry |
| NIST CSF ID.AM, RS.AN |
Affected AI asset identification |
Identify affected models, software dependencies, application releases, configurations, and deployed environments. |
Ortelius, GUAC |
| NIST CSF RS.AN |
Security evidence preservation |
Preserve relevant execution logs, security events, deployment records, and model artifact identifiers for investigation. |
OpenSearch, Velociraptor |
| NIST CSF RS.MI |
Agent and workload containment |
Isolate compromised workloads, suspend agent execution, and restrict access to affected services. |
Kubernetes, Cilium |
| NIST CSF PR.AA, RS.MI |
Credential and permission revocation |
Revoke affected identities, rotate credentials, and restrict compromised agent permissions. |
Keycloak, Open Policy Agent |
| NIST CSF RC.RP |
Trusted artifact recovery |
Restore approved application versions, container images, models, prompts, and deployment configurations. |
Argo CD, Flux |
| NIST CSF RC.RP |
Recovery validation |
Execute security and functional validation before restoring affected AI services to production. |
Jenkins, Promptfoo |
| NIST CSF RS.MA, RS.AN |
Incident coordination and tracking |
Maintain incident records, assign investigation responsibilities, and document response actions. |
DFIR-IRIS, Gitea |
| NIST CSF ID.IM |
Continuous security improvement |
Convert incident findings into development security requirements, regression tests, and updated CI/CD policies. |
Gitea, Open Policy Agent |
The listed tools support incident detection, investigation, containment, and recovery activities. They do not replace an established incident response process or guarantee identification of every AI-specific threat.
AI Incident Response Workflow
A typical AI security incident response process should include:
1. Detection and Triage
Identify suspicious AI behavior, unauthorized agent actions, sensitive information exposure, or infrastructure security events.
Determine the potential impact and initiate the appropriate incident response procedures.
2. Investigation and Impact Assessment
Collect relevant telemetry, agent execution records, model information, configuration versions, and deployment evidence.
Identify affected applications, users, services, and supporting infrastructure.
3. Containment
Restrict compromised services, suspend affected agents, revoke credentials, and prevent additional unauthorized operations.
Containment procedures should preserve evidence where practical.
4. Remediation
Correct identified vulnerabilities, remove malicious configurations or content, replace compromised artifacts, and address unauthorized access paths.
Changes should be validated through established CI/CD workflows.
5. Recovery
Restore approved model versions, prompts, agent configurations, application artifacts, and infrastructure settings.
Verify that recovered services operate within approved security boundaries before resuming normal operations.
6. Lessons Learned
Document root causes, incident impact, remediation outcomes, and opportunities to improve security controls.
Update threat models, security tests, monitoring rules, and deployment policies to reduce the likelihood of recurrence.
Expected Security Evidence
- AI security incident detection records and alerts.
- Incident classification and severity assessments.
- AI application and agent execution logs.
- Model, prompt, and agent configuration version records.
- Affected software component and deployment inventories.
- Security investigation findings and incident timelines.
- Records of contained workloads and suspended agents.
- Credential revocation and access restriction records.
- Remediation changes and associated validation results.
- Recovery procedures and approved rollback records.
- Security and functional testing results following recovery.
- Incident closure and post-incident review reports.
- Updated threat models, monitoring policies, and CI/CD security requirements.
These artifacts demonstrate that AI-related security incidents can be investigated and resolved through structured, repeatable processes.
Security incident findings should inform future development, testing, and deployment activities.
Additional Resources
4 - Resources and Education
Educational resources, training, and technical guidance for securing the software delivery lifecycle, including AI development, software supply chain security, and DevSecOps.
Securing the software delivery lifecycle requires more than tools and technology. It also requires knowledge, practical skills, and an understanding of evolving cybersecurity threats, standards, and best practices. As software development increasingly incorporates open-source dependencies, automated CI/CD pipelines, and AI-assisted development, continuous education has become an essential part of building and maintaining secure software.
The CI/CD Cybersecurity Guide is designed to help developers, DevOps teams, platform engineers, security professionals, and open-source maintainers identify practical, open-source solutions for securing their software delivery processes. This Resources and Education chapter extends that mission by connecting practitioners with training, technical guidance, industry standards, and community resources that support secure software development.
Accessible Cybersecurity Education
This chapter highlights educational resources from the Open Source Security Foundation (OpenSSF), the Linux Foundation, and other trusted organizations, with an emphasis on free and accessible training.
Our goal is simple: Make cybersecurity education and practical resources accessible to every software team, regardless of its size, budget, or security expertise.
By combining education with the Guide’s open-source tooling recommendations, we hope to help teams move beyond understanding security requirements to implementing them throughout the software delivery lifecycle.
This chapter includes:
4.1 - Free Linux Foundation Courses
Educational courses for securing the software delivery lifecycle, including AI development, software supply chain security, and DevSecOps from the OpenSSF and Linux Foundation.
Free OpenSSF and Linux Foundation Cybersecurity Education
The Open Source Security Foundation (OpenSSF) and Linux Foundation provide free educational resources covering secure software development, AI security, software supply chain security, DevSecOps, vulnerability management, and cybersecurity compliance.
These courses are available online at no cost and provide practical training for developers, DevOps teams, platform engineers, security professionals, and open-source maintainers.
Training catalogs:
Recommended Free Learning Path
For practitioners who are new to software security, the following progression provides a practical starting point.
| Step |
Course |
Learning Objective |
| 1 |
Developing Secure Software (LFD121) |
Understand secure software development fundamentals. |
| 2 |
Secure AI/ML-Driven Software Development (LFEL1012) |
Learn secure practices for AI-assisted software development. |
| 3 |
Introduction to DevSecOps for Managers (LFS180) |
Understand how security fits into CI/CD workflows. |
| 4 |
Automating Supply Chain Security (LFEL1007) |
Learn SBOMs, provenance, and software supply chain controls. |
| 5 |
Securing Your Software Supply Chain with Sigstore (LFS182) |
Learn software artifact signing and verification. |
| 6 |
Securing Projects with OpenSSF Scorecard (LFEL1006) |
Automate assessment of open-source project security. |
| 7 |
Understanding the EU Cyber Resilience Act (LFEL1001) |
Understand software cybersecurity regulatory obligations. |
1. Securing AI Development
| Course |
Course ID |
Description |
Link |
| Secure AI/ML-Driven Software Development |
LFEL1012 |
Security risks of AI coding assistants, protecting development environments, prompt injection, secure AI-generated code, and code review. |
Course |
| Conversational AI: Ensuring Compliance and Mitigating Risks |
LFS120 |
AI risk management, NIST AI RMF, EU AI Act, ISO/IEC 42001, privacy, and operational risk mitigation. |
Course |
| Ethical Principles for Conversational AI |
LFS118 |
Responsible AI development, ethical risks, privacy, transparency, and trustworthy AI practices. |
Catalog |
2. Software Supply Chain Security
| Course |
Course ID |
Description |
Link |
| Securing Your Software Supply Chain with Sigstore |
LFS182 |
Software artifact signing, verification, Cosign, Fulcio, Rekor, and software supply chain integrity. |
Course |
| Automating Supply Chain Security: SBOMs and Signatures |
LFEL1007 |
SBOM generation, software provenance, signatures, dependency tracking, attestations, and supply chain security automation. |
Catalog |
| Securing Projects with OpenSSF Scorecard |
LFEL1006 |
Automated assessment of open-source repository security practices and integration of OpenSSF Scorecard into development workflows. |
Course |
| Security Self-Assessments for Open Source Projects |
LFEL1005 |
Evaluating open-source project security practices, identifying security gaps, and preparing for security reviews and audits. |
Catalog |
| Developing Secure Software |
LFD121 |
Secure coding, dependency security, vulnerability prevention, threat modeling, and secure software development fundamentals. |
Course |
3. DevSecOps and CI/CD Security
| Course |
Course ID |
Description |
Link |
| Introduction to DevSecOps for Managers |
LFS180 |
DevSecOps principles, integrating security into CI/CD, organizational transformation, security processes, and development workflows. |
Course |
| Developing Secure Software |
LFD121 |
Secure software engineering, defensive programming, security testing concepts, and dependency management. |
Course |
| Introduction to JavaScript Security |
LFS184 |
JavaScript security risks, identifying vulnerabilities, defensive development practices, and securing JavaScript applications. |
Catalog |
| Authentication & Authorization for Web/API |
LFEL1004 |
Authentication, authorization, API security, protecting sensitive data, and designing secure access controls. |
Catalog |
| Understanding the OWASP Top 10 Security Threats |
SKF100 |
Common application security vulnerabilities, including injection, broken access control, security misconfiguration, and vulnerable dependencies. |
Catalog |
4. Security Governance and Compliance
| Course |
Course ID |
Description |
Link |
| Security for Software Development Managers |
LFD125 |
Managing software security programs, identifying vulnerabilities, security leadership, and implementing secure development practices. |
Course |
| Understanding the EU Cyber Resilience Act (CRA) |
LFEL1001 |
EU CRA requirements, manufacturer responsibilities, cybersecurity risk management, and compliance preparation. |
Catalog |
| Cybersecurity Essentials |
LFC108 |
Cybersecurity fundamentals, identifying security risks, protecting organizational information, and security awareness. |
Catalog |
| Introduction to Zero Trust |
LFS183 |
Zero Trust security principles, access controls, identity verification, and protecting digital environments. |
Catalog |
| Conversational AI: Ensuring Compliance and Mitigating Risks |
LFS120 |
AI governance, compliance, privacy, NIST AI RMF, EU AI Act, and operational risk management. |
Course |
5. Education Mapped to the CI/CD Cybersecurity Guide
The following table maps OpenSSF and Linux Foundation courses to the three phases of the CI/CD Cybersecurity Guide.
| CI/CD Phase |
Security Focus |
Recommended Courses |
| Phase 1: Code and Prebuild |
Secure coding, threat modeling, dependency security, AI-assisted development, application security, and security planning. |
Developing Secure Software (LFD121); Secure AI/ML-Driven Software Development (LFEL1012); Understanding the OWASP Top 10 (SKF100); Authentication & Authorization for Web/API (LFEL1004); Introduction to JavaScript Security (LFS184) |
| Phase 2: Build and Deploy |
Software supply chain security, SBOM generation, provenance, artifact signing, dependency security, and CI/CD security. |
Automating Supply Chain Security (LFEL1007); Sigstore (LFS182); OpenSSF Scorecard (LFEL1006); Introduction to DevSecOps for Managers (LFS180) |
| Phase 3: Post Deployment |
Vulnerability identification, security assessments, vulnerability management, regulatory compliance, and ongoing security practices. |
Security Self-Assessments (LFEL1005); Developing Secure Software (LFD121); Understanding the EU CRA (LFEL1001); Security for Software Development Managers (LFD125) |
4.2 - NIST Resources
NIST research, guides and documents for securing the software delivery lifecycle, including AI development, software supply chain security, and DevSecOps.
NIST Cybersecurity Resources and Publications
The National Institute of Standards and Technology (NIST) provides cybersecurity frameworks, standards, and technical guidance to help organizations secure the software development lifecycle. These publications address secure software development, artificial intelligence (AI), software supply chain security, DevSecOps, vulnerability management, and cybersecurity governance.
1. Secure Software Development and DevSecOps
| NIST Publication |
Title |
Description |
Status |
Link |
| SP 800-218 |
Secure Software Development Framework (SSDF) Version 1.1 |
Foundational secure software development practices covering organizational preparation, software protection, secure production, and vulnerability response. |
Final |
NIST Publication |
| SP 800-218 Rev. 1 |
Secure Software Development Framework (SSDF) Version 1.2 |
Proposed updates to the SSDF addressing secure and reliable software development, delivery, and improvement. |
Draft |
NIST Publication |
| SP 800-204D |
Strategies for the Integration of Software Supply Chain Security in DevSecOps CI/CD Pipelines |
Guidance for integrating software supply chain security, provenance, attestations, and artifact verification into CI/CD workflows. |
Final |
NIST Publication |
| NIST IR 8397 |
Guidelines on Minimum Standards for Developer Verification of Software |
Recommendations for static analysis, automated testing, fuzzing, threat modeling, and software dependency verification. |
Final |
NIST Publication |
2. AI Development and AI Security
| NIST Publication |
Title |
Description |
Status |
Link |
| SP 800-218A |
Secure Software Development Practices for Generative AI and Dual-Use Foundation Models |
Extends NIST SSDF with secure development practices for AI models and AI-enabled software systems. |
Final |
NIST Publication |
| AI 100-1 |
Artificial Intelligence Risk Management Framework (AI RMF 1.0) |
Framework for identifying, assessing, managing, and governing risks associated with AI systems throughout their lifecycle. |
Final |
NIST Publication |
| AI 600-1 |
Generative Artificial Intelligence Profile |
Guidance for managing risks introduced by generative AI, including security, privacy, reliability, and misuse. |
Final |
NIST Publication |
| AI 100-2e2025 |
Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations |
Describes adversarial AI attacks, including data poisoning, evasion, privacy attacks, and attacks against generative AI systems. |
Final |
NIST Publication |
| SP 2400-102e2026 |
Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations |
Draft guidance expanding adversarial AI security terminology and attack classifications, including agentic AI system threats. |
Draft |
NIST Announcement |
3. Software Supply Chain Security
| NIST Publication |
Title |
Description |
Status |
Link |
| SP 800-161 Rev. 1 |
Cybersecurity Supply Chain Risk Management Practices for Systems and Organizations |
Guidance for identifying, assessing, and mitigating cybersecurity risks associated with software suppliers, components, products, and services. |
Final |
NIST Publication |
| SP 800-204D |
Strategies for the Integration of Software Supply Chain Security in DevSecOps CI/CD Pipelines |
Practical strategies for protecting software repositories, build systems, dependencies, artifacts, and CI/CD workflows. |
Final |
NIST Publication |
| SP 800-218 |
Secure Software Development Framework (SSDF) |
Secure development practices that help organizations manage software vulnerabilities and supply chain risks. |
Final |
NIST Publication |
| SP 800-190 |
Application Container Security Guide |
Security considerations for container images, registries, container runtime environments, and container orchestration. |
Final |
NIST Publication |
4. Post-Deployment Vulnerability Management
| NIST Publication |
Title |
Description |
Status |
Link |
| SP 800-40 Rev. 4 |
Guide to Enterprise Patch Management Planning |
Guidance for identifying, prioritizing, deploying, and verifying security patches and software updates. |
Final |
NIST Publication |
| SP 800-216 |
Recommendations for Federal Vulnerability Disclosure Guidelines |
Guidance for receiving, assessing, tracking, communicating, and resolving reported vulnerabilities. |
Final |
NIST Publication |
| SP 800-53 Rev. 5 |
Security and Privacy Controls for Information Systems and Organizations |
Security controls covering continuous monitoring, vulnerability scanning, configuration management, flaw remediation, and system integrity. |
Final |
NIST Publication |
| SP 800-190 |
Application Container Security Guide |
Recommendations for securing deployed containers, container hosts, images, and runtime environments. |
Final |
NIST Publication |
| SP 800-218 |
Secure Software Development Framework (SSDF) |
Includes practices for responding to vulnerabilities in released software and preventing recurrence. |
Final |
NIST Publication |
5. Cybersecurity Governance and Risk Management
| NIST Publication |
Title |
Description |
Status |
Link |
| CSWP 29 |
NIST Cybersecurity Framework (CSF) 2.0 |
Framework for governing, identifying, protecting against, detecting, responding to, and recovering from cybersecurity risks. |
Final |
NIST Publication |
| SP 800-53 Rev. 5 |
Security and Privacy Controls for Information Systems and Organizations |
Catalog of security and privacy controls for secure operations, monitoring, vulnerability management, and risk reduction. |
Final |
NIST Publication |
| SP 800-161 Rev. 1 |
Cybersecurity Supply Chain Risk Management Practices |
Enterprise-level practices for managing supply chain security risks and supplier relationships. |
Final |
NIST Publication |
| AI 100-1 |
Artificial Intelligence Risk Management Framework |
Governance and management of risks involving AI development, deployment, and use. |
Final |
NIST Publication |
6. NIST Resources Mapped to the CI/CD Cybersecurity Guide
The following table maps relevant NIST publications to the three phases of the CI/CD Cybersecurity Guide.
| CI/CD Phase |
Security Focus |
Recommended NIST Publications |
| Phase 1: Code and Prebuild |
Secure coding, threat modeling, dependency security, AI development, and security planning. |
SP 800-218, SP 800-218A, IR 8397, AI 100-1, AI 600-1, AI 100-2 |
| Phase 2: Build and Deploy |
Software supply chain security, SBOMs, provenance, artifact integrity, automated security testing, and container security. |
SP 800-204D, SP 800-161 Rev. 1, SP 800-218, SP 800-190 |
| Phase 3: Post Deployment |
Continuous vulnerability management, runtime security, vulnerability disclosure, patch management, and remediation verification. |
SP 800-40 Rev. 4, SP 800-216, SP 800-53 Rev. 5, SP 800-190, SP 800-218 |
4.3 - EU Cyber Resilience Act Resources
Official European Union Cyber Resilience Act resources covering secure software development, software supply chain security, DevSecOps, vulnerability management, and regulatory compliance.
European Union Cyber Resilience Act (CRA) Resources
The European Union Cyber Resilience Act (CRA), Regulation (EU) 2024/2847, establishes cybersecurity requirements for hardware and software products with digital elements made available on the EU market.
The CRA promotes security throughout the software product lifecycle, including secure design, development, production, vulnerability management, security updates, and coordinated vulnerability disclosure.
This section provides official European Commission, EUR-Lex, and European Union Agency for Cybersecurity (ENISA) resources to help software developers, DevOps teams, platform engineers, security professionals, and open-source maintainers understand and implement CRA requirements.
Recommended Learning Path
For practitioners who are new to software security, the following progression provides a practical starting point.
| Step |
Course |
Learning Objective |
| 1 |
Developing Secure Software (LFD121) |
Understand secure software development fundamentals. |
| 2 |
Secure AI/ML-Driven Software Development (LFEL1012) |
Learn secure practices for AI-assisted software development. |
| 3 |
Introduction to DevSecOps for Managers (LFS180) |
Understand how security fits into CI/CD workflows. |
| 4 |
Automating Supply Chain Security (LFEL1007) |
Learn SBOMs, provenance, and software supply chain controls. |
| 5 |
Securing Your Software Supply Chain with Sigstore (LFS182) |
Learn software artifact signing and verification. |
| 6 |
Securing Projects with OpenSSF Scorecard (LFEL1006) |
Automate assessment of open-source project security. |
| 7 |
Understanding the EU Cyber Resilience Act (LFEL1001) |
Understand software cybersecurity regulatory obligations. |
1. Foundational CRA Legislation and Guidance
| Document or Resource |
Reference |
Description |
Link |
| Cyber Resilience Act – Full Regulation |
Regulation (EU) 2024/2847 |
Complete legal text establishing cybersecurity requirements for products with digital elements. |
EUR-Lex |
| Cyber Resilience Act – Overview |
European Commission |
Introduction to CRA objectives, scope, obligations, and implementation milestones. |
European Commission |
| Cyber Resilience Act – Legislative Summary |
European Commission |
Accessible explanation of the CRA’s major provisions, including manufacturers’ responsibilities and open-source software. |
CRA Summary |
| Commission Guidance on CRA Implementation |
C(2026) 5252 |
Practical implementation guidance covering product scope, risk assessments, support periods, reporting, open-source software, and substantial modifications. |
Commission Guidance |
| CRA Implementation FAQs |
European Commission |
Frequently asked questions explaining CRA obligations, applicability, responsibilities, and compliance considerations. |
CRA FAQs |
| CRA Implementation Timeline |
European Commission |
Regulatory milestones, reporting requirements, standardization activities, and compliance deadlines. |
Implementation Timeline |
2. Secure Software Development and DevSecOps
| CRA Reference |
Requirement |
Description |
Link |
| Article 13(2)–(4) |
Cybersecurity Risk Assessment |
Manufacturers must assess cybersecurity risks, document their findings, and use the assessment to inform product security requirements. |
CRA Article 13 |
| Annex I, Part I(1) |
Secure-by-Design Development |
Products must be designed, developed, and produced to provide cybersecurity appropriate to their risks. |
CRA Annex I |
| Annex I, Part I(2)(a) |
Known Exploitable Vulnerabilities |
Products must be made available on the market without known exploitable vulnerabilities. |
CRA Annex I |
| Annex I, Part I(2)(b) |
Secure Default Configuration |
Products must be available with secure default configurations, including the ability to reset to their original state. |
CRA Annex I |
| Annex I, Part I(2)(c) |
Security Updates |
Products must support addressing vulnerabilities through security updates, including automatic updates where applicable. |
CRA Annex I |
| Article 13(5) |
Third-Party Component Due Diligence |
Manufacturers must exercise due diligence when integrating third-party components, including open-source software. |
CRA Article 13 |
3. Software Supply Chain Security and SBOMs
| CRA Reference |
Requirement |
Description |
Link |
| Annex I, Part II(1) |
Vulnerability Identification |
Identify and document vulnerabilities and components contained in products, including maintaining an SBOM in a commonly used, machine-readable format covering at least top-level dependencies. |
CRA Annex I |
| Article 13(5) |
Third-Party Dependency Security |
Apply cybersecurity due diligence to integrated third-party software and hardware components. |
CRA Article 13 |
| Annex I, Part II(5) |
Security Testing and Reviews |
Apply appropriate security testing and review practices during development and maintenance. |
CRA Annex I |
| Annex I, Part II(7) |
Secure Software Distribution |
Provide mechanisms for securely distributing product updates to address vulnerabilities. |
CRA Annex I |
| Annex VII |
Technical Documentation |
Maintain documentation supporting conformity, including product descriptions, cybersecurity risk assessments, security controls, and vulnerability-handling processes. |
CRA Annex VII |
| Article 31 |
Technical Documentation Requirements |
Establish and maintain technical documentation demonstrating conformity with applicable cybersecurity requirements. |
CRA Article 31 |
4. Post-Deployment Vulnerability Management
| CRA Reference |
Requirement |
Description |
Link |
| Annex I, Part II(1) |
Vulnerability Identification and Documentation |
Identify and document vulnerabilities and product components to support ongoing vulnerability handling. |
CRA Annex I |
| Annex I, Part II(2) |
Vulnerability Remediation |
Address and remediate vulnerabilities without delay, including providing security updates where appropriate. |
CRA Annex I |
| Annex I, Part II(3) |
Security Testing |
Conduct effective and regular tests and reviews of product security. |
CRA Annex I |
| Annex I, Part II(4) |
Security Update Information |
Publicly disclose information about fixed vulnerabilities when security updates are available, subject to applicable exceptions. |
CRA Annex I |
| Annex I, Part II(5) |
Coordinated Vulnerability Disclosure |
Establish and enforce a policy for coordinated vulnerability disclosure. |
CRA Annex I |
| Annex I, Part II(6) |
Vulnerability Reporting Contact |
Facilitate sharing information about potential vulnerabilities, including providing a contact address. |
CRA Annex I |
| Article 13(8) |
Product Support Period |
Determine the product support period and provide vulnerability handling during that period, subject to CRA requirements. |
CRA Article 13 |
5. Vulnerability Disclosure and Regulatory Reporting
| Resource |
Reference |
Description |
Link |
| CRA Reporting Obligations |
Article 14 |
Mandatory reporting of actively exploited vulnerabilities and severe incidents affecting product security. |
European Commission |
| CRA Single Reporting Platform |
Article 16 |
ENISA-operated platform for submitting required vulnerability and incident notifications. |
ENISA SRP |
| CRA Reporting FAQs |
ENISA |
Guidance on registration, reporting responsibilities, notification workflows, and use of the Single Reporting Platform. |
ENISA FAQs |
| SRP Assigned Representative User Manual |
ENISA v1.3 |
Practical instructions for registration, notification submission, updates, and reporting workflows. |
User Manual PDF |
| CRA Open-Source Software Guidance |
Article 24 |
Responsibilities and special provisions for qualifying open-source software stewards and free and open-source software. |
European Commission |
Key Reporting Deadlines
| Obligation |
Deadline |
Description |
| Early Warning |
Within 24 hours |
Initial notification after becoming aware of an actively exploited vulnerability or reportable severe incident. |
| Vulnerability or Incident Notification |
Within 72 hours |
More detailed notification concerning the vulnerability or incident. |
| Final Vulnerability Report |
Within 14 days after a corrective measure is available |
Final report concerning an actively exploited vulnerability and corrective measures. |
| Final Severe Incident Report |
Within one month of the 72-hour notification |
Final report concerning the severe incident and response. |
These deadlines are subject to the applicable CRA requirements and reporting criteria.
| Resource |
Reference |
Description |
Link |
| CRA Standardisation Overview |
European Commission |
Explains harmonised European standards supporting conformity with CRA essential cybersecurity requirements. |
CRA Standardisation |
| CRA Standardisation Request |
M/606 |
European Commission request for the development of 41 horizontal and product-specific standards supporting CRA implementation. |
Standardisation Resources |
| CRA Technical Documentation |
Annex VII |
Requirements for technical evidence supporting product cybersecurity compliance. |
CRA Annex VII |
| CRA Conformity Assessment |
Articles 32–33 |
Requirements and procedures for assessing conformity, including applicable third-party assessment routes. |
CRA Regulation |
| CRA EU Declaration of Conformity |
Article 28 and Annex V |
Requirements for declaring that a product complies with applicable CRA requirements. |
CRA Regulation |
7. Open-Source Software and the CRA
The CRA recognizes the importance of free and open-source software and establishes specific provisions for open-source development communities.
Free and open-source software that is not made available on the market in the course of a commercial activity is generally outside the CRA’s product requirements.
However, commercial software manufacturers incorporating open-source components must exercise due diligence, and qualifying open-source software stewards have specific responsibilities under Article 24.
| Resource |
Focus |
Link |
| European Commission CRA Open-Source Guidance |
Applicability of the CRA to open-source software, maintainers, and software stewards. |
Open Source and CRA |
| Article 24 – Open-Source Software Stewards |
Cybersecurity policies, vulnerability handling, cooperation, and reporting responsibilities. |
CRA Regulation |
| Commission CRA Implementation Guidance |
Practical examples explaining commercial activity, open-source software, and regulatory scope. |
Commission Guidance |
| CRA Implementation FAQs |
Clarifications for developers, businesses, and open-source organizations. |
CRA FAQs |
CRA Resources Mapped to the CI/CD Cybersecurity Guide
| CI/CD Phase |
Security Focus |
Relevant CRA Requirements |
Recommended Resources |
| Phase 1: Code and Prebuild |
Cybersecurity risk assessments, Secure-by-Design, secure coding, dependency due diligence, and vulnerability disclosure preparation. |
Article 13; Annex I, Part I; Annex I, Part II |
CRA Regulation; Commission Implementation Guidance; CRA FAQs |
| Phase 2: Build and Deploy |
Release security validation, SBOM generation, security testing, secure updates, and technical compliance documentation. |
Article 13; Article 31; Annex I, Parts I and II; Annex VII |
CRA Regulation; CRA Standardisation; Technical Documentation Requirements |
| Phase 3: Post Deployment |
Continuous vulnerability management, affected-product identification, remediation, security updates, vulnerability disclosure, and regulatory reporting. |
Articles 13–16; Annex I, Part II |
CRA Reporting Guidance; ENISA Single Reporting Platform; ENISA Reporting FAQs |
CRA Implementation Milestones
| Date |
Milestone |
Status |
| December 10, 2024 |
CRA entered into force. |
In effect |
| June 11, 2026 |
Provisions concerning notification of conformity assessment bodies began applying. |
In effect |
| July 27, 2026 |
European Commission published practical CRA implementation guidance. |
Published |
| September 11, 2026 |
Manufacturer reporting obligations for actively exploited vulnerabilities and severe incidents began applying. |
In effect |
| December 11, 2027 |
Main CRA cybersecurity requirements begin applying. |
Upcoming |
| December 11, 2027 |
Article 24(3) reporting obligations for qualifying open-source software stewards begin applying. |
Upcoming |