Home icon

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

DevOps & Developer Productivity Blog



This article demonstrates how to enforce zero-trust dependency policies in AWS CodeBuild using JFrog Curation to block vulnerable and malicious packages at download time before they enter production.

  • Route all package downloads through JFrog Artifactory with Curation policies that block critical CVEs and malicious packages
  • Configure pip to resolve dependencies through a curated JFrog virtual repository instead of public PyPI
  • Fail Docker builds immediately when Curation blocks a package, preventing vulnerable images from being created or pushed to ECR
  • Extract blocked package details and CVE information from Curation audit API to provide developers with remediation guidance
  • Apply the same pattern to any package ecosystem (npm, Maven, Docker) by redirecting package resolution through Artifactory

By enforcing dependency policies at the build gate, organizations prevent vulnerable packages from reaching production registries and eliminate the costly cycle of post-deployment vulnerability remediation.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 31
2025
Implementing Defense-in-Depth Security for AWS CodeBuild Pipelines
Aug 15
2024
AWS CodeBuild now supports using GitHub Apps to access source repositories
Oct 16
2026
Automating secure container registry management for air-gapped AWS workloads
Feb 26
2025
AWS CodeBuild adds support for managed webhooks in GitHub Enterprise

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.