Security context

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

aws/aws-xray-sdk-python
master @ 48b6a8f
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Privilege Escalation: 1 prior fix. Scrutinize any change in this area.
Actions: most-fixed (1 issue). Treat as high-risk during review.
0 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.

Server-Side Request Forgery: The project's Elastic Beanstalk infrastructure configuration was vulnerable to SSRF attacks that could lead to AWS credential theft via the Instance Metadata Service (IMDS). Mitigating this requires explicitly disabling IMDSv1 and forcing IMDSv2.
Privilege Escalation: Over-privileged GITHUB_TOKEN permissions in CI/CD workflows (such as Unit Testing) present a risk of unauthorized repository modifications or secret exposure if a runner is compromised. Workflows must explicitly declare read-only permissions block defaults.