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.
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
2025
2024
2026
2025
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.