Security context

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

vinta/awesome-python
master @ 8c59fb5
2
Fixes
0
CVEs
MEDIUM
Peak severity
50.0%
Coverage
Highlights
Injection: 1 prior fix. Scrutinize any change in this area.
website/build.py: 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.

Injection: The build script constructed GitHub GraphQL queries by formatting untrusted strings extracted from README.md. This allowed potential GraphQL injection if a repository owner or name contained malicious payloads. The fix introduced stricter regex validation for owner and repository names.
Reflected XSS: Directly injecting structured JSON into HTML templates without escaping closing script tags enabled Cross-Site Scripting (XSS). The vulnerability was resolved by properly escaping HTML-sensitive characters during serialization within the build pipeline.