Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/enforcing-zero-trust-dependency-policies-in-aws-codebuild-with-jfrog-curation.md

CI/CD

Enforcing zero-trust dependency policies in AWS CodeBuild with JFrog Curation

A walkthrough of putting JFrog Curation between AWS CodeBuild and public package registries, so risky open source dependencies are rejected during download instead of after an image is built.

AWS DevOps Blog17 Nov 2026 · 8 min read · summary

article --summary

The summary

This post explains why builds that pull open source packages straight from public registries carry supply chain risk, and how a policy gate can stop vulnerable or malicious dependencies before they reach an image. The author describes a setup where every pip install in a CodeBuild job resolves through a curated JFrog Artifactory repository, so a blocked package fails the build before anything is pushed to Amazon ECR. The reader will learn how the pipeline is organized: a buildspec that orchestrates pre-build, build, and post-build scripts, a Dockerfile whose dependency install is the curated step, and Secrets Manager handling for the JFrog token. The example policy blocks any package version with a CVSS score of 9.0 or higher, and a post-build script reports the blocked package with its CVE identifiers and suggested fix versions. The prerequisites cover an AWS account, a JFrog subscription that includes Curation, and the steps to configure remote and virtual PyPI repositories with a Block Critical CVEs policy.

Editorial note: This is a summary of an article first published by AWS DevOps Blog. The full piece is on their site.

Reading now

Topic
CI/CD
Source
AWS DevOps Blog
Published
17 Nov 2026
Format
Curated summary

Have a take on this?

Write it up and submit it. It goes on the list once an editor approves it.

Submit an article

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.