#14509: feat: setup and configure proxy system
stale
size: XL
Cluster:
Security Enhancements and Fixes
Set up and configure the proxy system. Fixed rotation bug and added default config. All tests passing.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds two new subsystems:
- `proxy_system/` (Python): a proxy manager (`Proxy`, `ProxyManager`, config loader, CLI) plus a `ProxyScraper` that rotates proxies while scraping.
- `unified_api/` (TypeScript/Express): a new API server skeleton with config parsing, middleware, controllers/services/routes, and a DB abstraction intended to support SQLite/Postgres.
Overall direction is clear, but there are a few correctness issues in the new Unified API database layer/entrypoint and some dead code paths in the proxy scraper that should be fixed before merge.
<h3>Confidence Score: 2/5</h3>
- Not safe to merge as-is due to database initialization/runtime issues in the new unified_api server.
- The PR introduces a new DB abstraction and schema initialization that will currently recurse during startup, uses invalid DDL (INDEX clauses inside CREATE TABLE), and has SQL placeholder incompatibilities with Postgres; these are runtime blockers for the new API. Proxy system changes are mostly self-contained but have at least one dead code path in contact-page scraping.
- unified_api/src/models/database.ts, unified_api/src/index.ts, unified_api/src/services/jobs.service.ts, proxy_system/proxy_system/scraper.py
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#21305: Fix/proxy-ip-allow-list
by janaka · 2026-02-19
73.8%
#7892: Claude/setup agent firewall ww xsv
by starwreckntx · 2026-02-03
72.8%
#2657: fix: use TLS 1.2 for gemini-cli and google-antigravity OAuth reques...
by PrentissLiu · 2026-01-27
72.0%
#8571: fix: support system proxy in web_fetch SSRF dispatcher
by Asura-2010 · 2026-02-04
72.0%
#11048: fix: address repository issues (env, author, CI comments, security ...
by cavula · 2026-02-07
71.7%
#8876: Confirmaciones para equipo de IT
by m4xjunior · 2026-02-04
71.4%
#14871: Claude/audit codebase architecture 8a ql2
by MagnoliaLex · 2026-02-12
71.4%
#13958: Claude/secureclaw env supabase dz q hh
by kbpranay · 2026-02-11
71.3%
#8546: Fix/config UI improvements
by RandomRaine · 2026-02-04
70.7%
#7919: feat: implement timezone support for console timestamps and add ver...
by southpy · 2026-02-03
70.7%