AI-powered agents are becoming active participants in the software supply chain—writing code, reviewing pull requests, selecting dependencies, managing deployments, and calling tools autonomously. As their access and autonomy increase, the attack surface can expand faster than traditional controls can adapt.
Traditional supply chain risks, such as compromised dependencies, unsigned artifacts, and positioned continuous integration and continuous deployment (CI/CD) now intersect with novel ones: prompt injection, unvetted model weights, hallucinated packages, and agents with excessive permissions.
As software supply chains expand to include not just code, but models, datasets, and increasingly large artifacts, the question is no longer whether open software ecosystems can scale, but who pays for that scale, and how long the current system can hold. A single compromise in any component propagates vulnerabilities downstream, threatening data privacy, regulatory compliance, and operational integrity. In 2025, software supply chain risk evolved dramatically. Since 2019, over 1.2 million open source malware packages were logged by Sonatype.5
Recommendations and best practices
When an AI agent is a first-class actor in the supply chain, practical safeguards need to be in place to protect against these new threats. Key safeguards include provenance and attestation for both code and models, least-privilege agent permissions, human-in-the-loop gates for high-risk actions, and curated allowlists of trusted libraries that keep agents from pulling in unvetted or hallucinated packages.
By using enterprise-grade open source offerings, such as those offered by Red Hat, organizations can take advantage of the more than 30 years of experience Red Hat has in securing the open source software supply chain of their products. In addition, enterprises need solutions designed to lead with AI-powered development and strengthened software supply chain security.
Red Hat OpenShift Platform Plus is a unified platform that includes Red Hat OpenShift, Red Hat Advanced Cluster Security for Kubernetes, Red Hat Advanced Cluster Management for Kubernetes, Red Hat Quay, and Red Hat OpenShift Data Foundation. This platform helps enterprises build, modernize, and deploy containerized applications in Kubernetes securely and at scale. Multicluster security, compliance, application and data management are provided for consistency throughout the software supply chain.
Red Hat Advanced Developer Suite accelerates AI-powered development with solutions that extend the capabilities of Red Hat OpenShift to optimize the software lifecycle. Red Hat Advanced Developer Suite empowers platform engineers to deliver a superior developer experience, strengthen software supply chain security, and accelerate the path from AI experimentation to production-ready intelligent applications. It is a curated bundle of premium developer technologies and services. The suite includes:
Red Hat trusted software factory. Powered by Konflux, it provides a standardized, multitenant build system that mirrors Red Hat’s internal security and build standards. Using a policy-as-code approach embedded directly into CI/CD pipelines, it helps set and enforce compliance policies. It uses a centralized policy engine and enterprise contracts to continuously validate builds against security standards, approved images, and cryptographic signatures before any artifact reaches production.
Red Hat Developer Hub. An internal developer portal (IDP) based on Backstage that provides golden paths for accelerated software delivery and AI project initiation.
Red Hat Trusted Profile Analyzer. A centralized console for real-time visibility into software risk, software bill of materials (SBOM) management, and compliance tracking. In addition, exploit-aware security intelligence is integrated to provide AI-powered analysis to prioritize vulnerabilities based on real-world exploitability, helping teams focus on the 1% of risks that actually matter, avoiding “alert fatigue.”
Red Hat Trusted Artifact Signer. A service for cryptographically signing and verifying software artifacts, AI models, and metadata to ensure end-to-end provenance.
Lightwell helps enterprises by providing trusted content and ensuring a strong security foundation with remediations for eligible application-layer open source dependencies without forcing disruptive version upgrades. For eligible third-party open source components, Red Hat provides backported security fixes for the library versions organizations already run in production, along with supporting security artifacts as defined in the applicable offering terms and conditions. Teams access Lightwell remediations through Lightwell repositories and can integrate them into existing build processes alongside the public open source repositories already in use.
Red Hat Hardened Images offers a free, vendor-neutral catalog of trusted, micro-sized images created from Red Hat’s years of expertise. These images provide a foundational set of core content, including languages, runtimes, databases, web technologies, and developer tools, all designed to reduce the burden caused by CVEs. By reducing the images’ attack surface and moving security to the start of the build process, Red Hat Hardened Images reduces toil and lets teams stop chasing scanner noise and start shipping code. Red Hat Hardened Images can run on any Linux platform.
Tactical steps
Adopt these actions when securing the software and AI supply chains:
1. Start small and expand
Choose a single project to begin. Encourage experimentation and iterative, continuous improvement to fine-tune and optimize your process. Celebrate successes and showcase proven value to others within your organization.
2. Set clear, agreed-upon goals and timelines
Transparency is key. Everyone involved needs to understand and agree with the goals and timelines for the project.
3. Cross-train your staff
Establish learning paths about security, infrastructure, AI, and development that are regularly updated and readily available to all team members.
4. Create a security work group
Build an integrated, cross-discipline team to define security use cases and strategies. Learn from other organizations.
5. Implement security across the supply chain pipeline with a unified application platform
Security needs to be implemented across the software development life cycle (SDLC) using a trusted, unified application platform, hardened for security. Securing the software supply chain when incorporating autonomous AI agents into the SDLC requires shifting from static scanning to active runtime governance.
These are key tactical steps to implement security across the software and AI supply chain pipeline:
Enforce ephemeral nonhuman identities (NHI). Assign AI agents unique service accounts with short-lived, task-scoped OpenID Connect (OIDC) tokens rather than static credentials. Restrict permissions to feature branches using fine-grained role-based access control (RBAC)—never give agents access to main branches or production secrets.
Isolate execution in air-gapped sandboxes. Run agent tasks in disposable containers or MicroVMs (e.g., Firecracker) with default-deny egress rules. Allow outgoing network traffic only to approved LLM endpoints, internal source control, and pre-approved package registries.
Route package downloads through scanned proxies. Point agent configuration files (pip.conf, .npmrc) exclusively to an internal package repository (e.g., Red Hat Quay, Nexus). Block requests for unverified external libraries to protect against slopsquatting and package hallucination attacks.
Sanitize context stream against prompt injection. Preprocess external tickets, pull request comments, and web context through input-filtering pipelines before passing them to the agent. Separate system control instructions from raw user data using strict structural delimiters to block indirect prompt injection.
Mandate AI Software Bill of Materials (AI-SBOMs) and human approval. Attach an AI-SBOM to all agent-generated pull requests (PRs), recording the model, prompt hash, and dependencies used. Enforce automated static application security testing (SAST) and software composition analysis (SCA) security scans, requiring mandatory human review and cryptographic signing before any code merges into production pipelines.
Bank of India builds governance into application delivery
To strengthen application delivery while maintaining strict compliance, Bank of India used Red Hat OpenShift Platform Plus to build security directly into its development lifecycle. By codifying security checks, quality gates, and regulatory controls directly into its CI/CD pipelines, the bank consistently enforces governance across all clusters without slowing development.
Read the Bank of India case study.