Security context

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

projectdiscovery/httpx
dev @ 64e6442
2
Fixes
1
CVEs
CRITICAL
Peak severity
Highlights
SQL Injection: 1 prior fix. Scrutinize any change in this area.
internal/db: 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.

SQL Injection: The internal database adapters for MySQL and PostgreSQL failed to properly sanitize and quote table and index identifiers when executing contexts, opening the application to SQL injection attacks via malicious schema structures.
Server-Side Request Forgery: A bypass in the network policy manager allowed connection requests to ignore configured allow and deny IP ranges, effectively rendering the restriction controls useless against unintended internal network exposure.
Improper Input Validation: Core httpx classes and client functions (including URL replication via copy_with) lacked sufficient validation, potentially allowing attackers to exploit input processing to trigger arbitrary behavior.