Security context

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

oras-project/oras-go
main @ a839134
3
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
.github/workflows/build.yml: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

Path Traversal: Resolving relative hardlink targets during artifact extraction can lead to directory traversal or unauthorized host file linkage if targets are not strictly canonicalized against the base extraction directory.
Cryptographic Issues: During blob fetch operations, failure to verify returned headers like Docker-Content-Digest against the expected descriptor digest can allow the ingestion of modified or untrusted container layers.
Command Injection: The use of third-party CI/CD actions with known template or command injection flaws can lead to build-time runner compromise and secrets exfiltration.