Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

conda/conda-build
main @ 1be6657
4
Fixes
4
CVEs
CRITICAL
Peak severity
75.0%
Coverage
Highlights
Path Traversal: 2 prior fixes. Scrutinize any change in this area.
conda-build: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Code Execution: Unsafe evaluation of recipe selectors using Python's 'eval' function in meta.yaml files allows remote code execution when parsing malicious recipes. This must be strictly neutralized by using robust AST-based validation libraries.
Path Traversal: Improper sanitization of archive paths during tar entry extraction lets attackers write files outside the intended build directory, potentially leading to arbitrary file overwrite or code execution.
Insecure Temporary File: Race conditions in write_build_scripts can create build scripts and configuration files with overly permissive file permissions. This permits local attackers to modify execution code under victim privileges.