ProxyX

Security research use only

Open-source proxy for authorized security research.

ProxyX is a self-hosted proxy platform written in Rust. It combines a provider-pool gateway, a multi-IP edge proxy and a separate session proxy for inspecting authorized traffic. Query captures over REST or GraphQL, or use the Model Context Protocol (MCP) server, which is read-only by default.

Release v0.2.0 ↗

Rust workspace · builds from source
git clone https://github.com/noxred-research/proxyx.git
cd proxyx
cargo build --release

Capabilities

  • CONNECT + edge HTTP
  • SOCKS5
  • MCP server
  • Provider adapters
  • Sticky sessions
  • Human approval
  • Circuit breakers
  • Pool warmer
  • Reputation scoring
  • TLS interception
  • TLS fingerprints
  • WebSocket capture
  • ClickHouse storage
  • Query DSL
  • Audit log
  • OpenTelemetry
proxyxIllustrative · commands only
# start the pool gateway
$ proxyx gateway --config proxyx.toml

# route a request through it with an org key
$ curl -x http://px-cc-fr:ORG_KEY@localhost:8080 \
    https://example.org

# inspect configuration before starting
$ proxyx doctor --role gateway

# run the database-less edge proxy
$ proxyx edge --config examples/edge.toml
The commands from the quick start, not captured output. Ports are the quick-start defaults.

Version 0.2.0 (release notes), pre-1.0. Build from source; interfaces and configuration may change. Licensed AGPL-3.0-only.

01AI/LLM-native

Agents advise. Operators stay in control.

The MCP server wraps the existing control APIs and ops ports. Models are not in the data path: tunnels, leases, policies and captures are decided by deterministic code.

MCP over stdio and HTTP

Run proxyx mcp, or the standalone proxyx-mcp, over stdio or bearer-authenticated streamable HTTP. Resources and prompts expose documentation and investigation workflows.

Health, capacity and explanations

Assess health, pool capacity, breaker states, block-signal rates and recent refusals. Explain selector grammar and failures, inspect effective configuration, and get findings with evidence and runbook references.

Sessions and traffic search

Search and count HTTP captures and WebSocket messages with the query DSL. Inspect a capture or a conversation; create, extend and end sessions only when the sessions capability is enabled.

Validated configuration changes

Manage org keys, limits, egress, blocks, signals, policies and inventory through opt-in capabilities. Propose a validated diff first; revalidate and apply it once after any required approval.

Read-only by default

Scope tools to orgs and an engagement window. Use dry run, tool allow/deny lists and human approval. Every call enters a hash-chained audit log; generated secrets go to private files by default. Captured content is marked untrusted.

Optional LLM-assisted operations

Traffic summaries and block-page classification work with deterministic statistics and rules, with optional OpenAI-compatible model assistance. Natural-language policy drafts require a model; drafts are never applied automatically.

MCP tools and safety ↗ · AI-assisted operation ↗

02Pool gateway

One authenticated entry point for your provider pools.

HTTP CONNECT and SOCKS5 ingress lease an exit, dial its upstream and relay bytes. The gateway does not accept plain HTTP forward requests; use CONNECT, or the edge/session proxy for forward HTTP.

Org keys and selector grammar

The org key is the proxy password. The px-... username selects kind, cc, city, prov, ttl, sid, rot and strict. TTL is honored as lease idle time and requested provider-session lifetime, normalized to provider units. Strictness is retained through warming and reuse; unsupported strict mode is refused rather than silently downgraded. Authentication is guarded by a brute-force limiter.

Leasing and sticky identity

Lease rotating residential sessions, static ISP/datacenter IPs and mobile SIM boxes. Sticky keys reuse an eligible exit; rotation and cooldown policies decide when it changes. A sticky key is not a guarantee that an unhealthy IP stays in service. Policy dial.race races distinct rotating units for connection-scoped rotation only. Sticky and static leases remain serial; pending losers are cancelled and released. Serial dialing is the default.

Declarative TOML adapters

Adapters render each provider’s username/password format. Adapter schemes are http, https, socks5 and local. HTTPS verifies the upstream proxy’s certificate and encrypts the provider hop, not target interception. Local binds a host address and dials directly. Bring your own provider accounts. Worked adapters include Oxylabs, IPRoyal, Webshare and Bright Data; confirm their grammar against your account.

Static inventory and customer upstreams

Describe rented static IPs and mobile boxes in TOML. An organization can register and validate its own HTTP, HTTPS or SOCKS5 upstream; credentials are fenced to that org. Local inventory is not a customer-upstream scheme.

Layered policies and budgets

Global, route-class and org policies govern allowed regions, pool sizes, lease/rest times, spend and limits. Per-org tunnel and byte budgets, static-IP fair use, org blocks and route-class circuit breakers bound use.

Destination rules and block signals

Deny-first rules refuse private, loopback, link-local, metadata and other internal destinations. Some per-IP occupancy, rest and monthly fair-use limits are soft fallback limits, not hard isolation guarantees. CONNECT response headers identify the pool session and exit IP for authenticated block-signal feedback. Graceful drain lets existing tunnels finish.

Endpoint generation and live pool sessions

The admin API generates HTTP or SOCKS5 endpoint URLs in JSON, CSV or text without provisioning keys or opening sessions. List shared Redis sticky-affinity records and force-rotate a sid for future tunnels; current tunnels continue. Generation never bypasses authorization or policy.

Bounded shared affinity

A Redis-backed, org-scoped sticky table is shared across gateway replicas. Optional entry caps evict least-recently-used keys atomically. Session listing reports shared affinity, not a pod’s local tunnels; force rotation changes future leases without cutting existing tunnels.

Provider-specific session modes

Webshare examples cover numeric sticky sessions and per-request rotation over HTTP/SOCKS5; Bright Data examples use a dashboard-generated zone username and optional strict peer binding. Per-request endpoints cannot provide a reusable stable exit for pool/session validation.

Gateway and username grammar ↗ · Adapters and inventory ↗ · Policy precedence ↗

03Warmer and verification

Check exits before they enter service.

Background workers maintain the ready pool, verify exit identity and quality, and reclaim or replace units when their state changes.

Exit-IP quorum

Exit checks consult independent services and require a quorum, including country information. City is advisory, not verified. Gateway rechecks can serve an unverified tunnel when the services cannot reach a verdict; quality and unavailable-scorer behavior follow policy.

Reputation and light probes

Optional IPQS, AbuseIPDB and Scamalytics scorers feed quality decisions. Light HTTP probes and block-signal feedback complement exit-IP and reputation checks. Scoring services use your credentials.

Warming, keepalive and reclaim

Warm rotating sessions, keep them alive, recheck static IPs and rotate mobile boxes. A sweeper reclaims expired leases; the optional Python prober measures candidate exits with Chromium through signed probe tokens.

Verification and maintenance ↗ · Operating the warmer ↗

04Edge proxy

Your machine. Your addresses. No database.

proxyx edge --config FILE is a standalone self-hosted multi-IP forward proxy. One TOML file describes listeners, local egress pools, users, access rules, limits and upstream parents. Redis is optional for shared path affinity, not required for standalone use.

HTTP and SOCKS on a mixed port

HTTP forward proxying, CONNECT including HTTP/2 CONNECT, SOCKS4/4a, SOCKS5 CONNECT, BIND and UDP ASSOCIATE can share a port or use separate listeners. Trusted peers can send PROXY protocol v1/v2. Optional TLS listeners protect proxy credentials and accept HTTPS proxy requests or SOCKS5-over-TLS. This is not target TLS interception. BIND needs explicit authorization and uses direct local egress, not a reverse parent tunnel.

Local egress pools

Load explicit addresses, interface addresses or routed prefixes. Select a pool by listener, user, rule or login options. Strategies include first/fifo, round robin, random, least connections and sticky sessions; match the destination IP family. Backup addresses participate only when no healthy primary of that family remains.

Users and default-deny ACLs

Use inline or htpasswd users. Ordered rules match source, destination, domain, port, method, protocol, user, group, listener and time window. Internal destinations need an explicit allowance. Staged ACLs can gate pre-negotiation, post-authentication, BIND and UDP traffic as well as ordinary requests.

Connection, rate and bandwidth limits

Apply connection caps, request-rate token buckets and bandwidth limits. Configure TCP/HTTP keepalive, timeouts, DNS resolution and header policy for your deployment. Named-ACL request/response header rewrites apply without exposing upstream credentials to the client.

Parent routing and resilience

Route through HTTP, SOCKS4 or SOCKS5 parents with weights and priority tiers. Priority tiers, backup and last-resort parents, max_fails/fail_timeout, circuit breakers and bounded next-path retries avoid unavailable routes. Multi-hop chains negotiate HTTP CONNECT, SOCKS4 or SOCKS5 at each ordered hop group.

Logs, reload and validation

Write squid, combined or JSON access logs. Validate addresses and configuration with --check; reload on SIGHUP without dropping tunnels. Health, readiness, metrics and a hardened systemd unit are included.

Hash, race and latency selection

Local pools and parent selectors add hash, userhash, sourcehash and CARP-style rendezvous hashing. Race keeps the first successful candidate within a configured width. Latency selection prefers measured fast paths with tolerance to avoid needless switching; prefix pools keep their documented strategy restrictions.

Node and end-to-end chain probes

Configure bounded TCP, HTTP status/body or explicit command probes. HTTP probes traverse the parent or chain before checking the target. Probe latency drives latency selectors; idle timeout can pause probes. Commands require trusted configuration. Interrupting active tunnels on a path switch is opt-in.

Stick tables and machine-readable stats

Bound path affinity with fixed TTL and capacity; retain it across SIGHUP when the stick configuration is unchanged. Optional Redis sharing coordinates replicas and fails closed when Redis cannot answer. The ops /stats endpoint returns listener, pool and node snapshots as JSON or CSV—not a web status page.

Edge proxy reference ↗

05Session proxy

Capture the hosts you choose. Tunnel the rest.

The separate proxyx-intercept binary accepts HTTP forward, CONNECT and SOCKS5. A session UUID is the username on shared listeners; it does not create a listener per session.

Per-session credentials and host scope

The control API returns a session proxy URL and CA certificate. Captured and excluded host patterns plus an operator-level no-capture list define normal interception scope. Uncaptured traffic is tunneled without recording.

Per-deployment CA and protocol capture

Intercept authorized TLS traffic using your CA. Capture HTTP/1.1, HTTP/2 and WebSocket exchanges, including request/response metadata, bounded bodies and reassembled WebSocket messages.

Browser TLS fingerprint profiles

Choose browser-grade upstream TLS profiles backed by BoringSSL. The session proxy is a separate binary because its TLS stack cannot share the control plane’s OpenSSL-linked process.

Header injection and private routes

Append configured headers on captured requests. Upstream overrides map exact logical authorities to private plain-HTTP destinations, preserve the logical Host, force interception and bypass org egress. Optional serialization runs HTTP exchanges one at a time per session.

Egress chaining and upstream breakers

Dial directly, through an org’s HTTP CONNECT or SOCKS5 proxy, or through the pool gateway. Per-upstream breakers guard origins, egress proxies and private override targets and fail fast while open.

Rate limits and bounded connections

Choose Redis-backed org token buckets or the standalone limiter service. Configure connection caps, connect/TLS/response timeouts, HTTP keepalive and graceful draining; liveness and readiness stay separate.

Session routing and interception ↗

06Capture and control plane

From selected traffic to typed queries.

The session proxy publishes protobuf envelopes to a broker. The ingester batches writes to the chosen capture store and acknowledges after the write. Delivery is at least once, not a promise of lossless or exactly-once capture.

Session lifecycle and org administration

Create, read, extend and release sessions through /rpc/sessions, with reference counting and background reapers. Manage orgs, rate limits and egress settings. Native pxk_ service, user and admin keys scope access; trusted-header authentication is an alternative.

REST and GraphQL query DSL

Search, count and retrieve HTTP captures and WebSocket conversations. Typed filters cover request/response fields, headers, cookies, bodies and patterns. GraphQL supports org-scoped access and federation schema export/validation tooling.

Broker choice and bounded ingestion

Use Redis Streams, Apache Kafka or a Kafka-compatible broker, or RabbitMQ quorum queues. Source-key ordering, batch limits, buffering and store circuit breakers govern ingestion. RabbitMQ adds publisher confirms and poison-message dead-lettering.

Parquet traffic exports

With ClickHouse, traffic views export Parquet to S3 or Azure Blob Storage, with signed-download support. OpenSearch/Elasticsearch stores do not support Parquet view exports.

Request limits

The control API has per-request deadlines, an in-flight cap and per-credential token buckets. Overload produces bounded refusals rather than unbounded work; health and metrics routes are exempt.

Storage and delivery trade-offs

OpenSearch writes idempotently by capture id. ClickHouse deduplicates query reads, but exports and aggregate views have documented replay caveats. A broker outage that exhausts the proxy’s publish retries can lose captures; monitor the drop counters.

API and query language ↗ · Delivery semantics ↗

07Pluggable backends

Choose the services you already operate.

Select a relational backend, a capture store and a capture broker independently. Pool and control schemas stay separate; Redis or Valkey still holds hot state and session data. Several products, or both ProxyX planes, can share one set of service instances, each inside its own namespace.

PostgreSQL, MariaDB or SQLite

PostgreSQL is the default. MariaDB 10.6+ is an alternative; MySQL itself is not supported. SQLite is for one host on a local disk, not a multi-host deployment. URL schemes select the backend; migrations have matching versions.

ClickHouse or search storage

ClickHouse supports columnar queries and Parquet exports. OpenSearch 2.x and Elasticsearch 8 use idempotent document writes and the same query API, with documented DSL differences and no Parquet exports. Choose one store per deployment.

Redis Streams, Kafka or RabbitMQ

Redis Streams reuses Redis with a single partition and length-based retention. Kafka supports partitioned backlogs, compression, TLS and SASL. RabbitMQ uses durable quorum queues, per-source ordering and dead-lettering.

Database choices and limits ↗ · Capture-store differences ↗ · Broker options ↗

08Operations

Inspect, diagnose and run it yourself.

Operational tools ship alongside the proxies: self-checks, health findings, monitoring assets, deployment examples and reproducible benchmark tooling—not invented performance promises.

Doctor and pool assessment

Run proxyx doctor or proxyx-intercept doctor to validate config, dependencies, CA expiry, secrets, ports, clock skew and file limits. proxyx assess pool reports capacity, breakers, reputation, leases and budget findings. Both support JSON and meaningful exit codes.

Health and monitoring

Separate liveness from readiness. Scrape Prometheus metrics; load the shipped alert/recording rules, Grafana dashboard and Alertmanager example. Runbook links accompany alerts. OpenTelemetry traces and optional Sentry complement structured logs.

Docker Compose and systemd

Build from source or the Dockerfile. The development Compose stack wires databases, Redis, capture storage and roles on loopback; hardened systemd units cover service deployment. A VPN egress sidecar image is also provided. No prebuilt binaries or images are published.

Configuration and migrations

Use TOML, component-specific environment variables and explicit --config files. Version adapters, policies and inventory as data. Run forward-only migrations before upgrades; follow the documented backup, rollback, secret rotation and drain procedures.

Benchmarks you can reproduce

Criterion microbenchmarks and the proxyx-bench gateway/session load tool report latency, throughput and resource usage. The limiter has its own load tool. Published measurements document their shared-host, loopback methodology and are not service-level guarantees.

Limiter and Rust client

proxyx limiter is an in-memory token-bucket daemon with a binary TCP protocol. The Rust client provides pooling, timeouts, keepalive and a circuit breaker. Choose the fail policy; restarting the daemon resets its buckets.

Doctor and assess ↗ · Monitoring assets ↗ · Operations runbooks ↗ · Benchmark methodology ↗

09Authorized use only

Responsible use.

ProxyX exists for authorized security research and testing. A proxy sees what passes through it, and you are responsible for the traffic you route, capture and let an AI agent configure.

Do

  • Route and inspect only systems and traffic you own or are authorized to test.
  • Use upstream pools your provider agreements allow you to use.
  • Keep AI agents read-only, or behind human approval, and review the audit log.
  • Intercept TLS only with a CA private to the deployment that created it.

Do not

  • Send traffic to systems without authorization, or use it for abuse.
  • Share organization keys or session credentials.
  • Give an agent write access to a shared deployment with approval turned off.
  • Install the interception CA on devices you do not control.

10Architecture

One workspace. Independent processes.

proxyx runs the pool, edge, warmer, control, MCP and limiter roles. proxyx-intercept runs the session data plane with its separate TLS stack. The standalone proxyx-mcp is another way to run the MCP server.

Entry points

  • Pool: CONNECT / SOCKS5
  • Edge: HTTP / CONNECT / SOCKS4/4a/5
  • Session: HTTP / CONNECT / SOCKS5

Agent plane

  • MCP stdio + HTTP
  • Capabilities
  • Approval + audit

Pool plane

  • Gateway + adapters
  • Warmer + verifier
  • Static / mobile / customer upstreams

Edge plane

  • Local multi-IP egress
  • ACLs + limits
  • Parents + health checks
  • No database

Session plane

  • proxyx-intercept
  • CA + browser TLS profiles
  • Selected-host capture

Control plane

  • Sessions + API keys
  • Query DSL + GraphQL
  • Ingester + Parquet views

Backends

  • PostgreSQL / MariaDB / SQLite
  • Redis / Valkey
  • ClickHouse / OpenSearch / Elasticsearch
  • Redis Streams / Kafka / RabbitMQ

The full data-flow diagram is in the media kit →

11Quick start

From clone to first proxied request.

Use the pinned Rust toolchain, CMake, a C/C++ compiler, Clang and Perl. The source build produces the main and session-proxy binaries. Configure your relational database, Redis/Valkey, provider accounts and org keys before using the gateway. The README quick start includes a development Docker Compose path, migration steps, a minimal adapter setup and org-key provisioning commands.

  1. Step 1 · Build

    git clone https://github.com/noxred-research/proxyx.git
    cd proxyx
    cargo build --release
  2. Step 2 · Start the pool gateway

    proxyx doctor --role gateway --config examples/pool.toml
    proxyx gateway --config examples/pool.toml
  3. Step 3 · Send a request through the gateway

    curl -x http://px-cc-fr:ORG_KEY@localhost:8080 https://example.org

12Control plane

Sessions API.

With a configured control plane and a service API key in PXK, create a session over /rpc/sessions. The response includes its proxy URL and CA certificate. Use that CA when sending authorized traffic through the returned URL; see the control API reference for the complete lifecycle.

curl -sS -X POST http://localhost:9000/rpc/sessions \
  -H "Authorization: Bearer $PXK" -H 'content-type: application/json' \
  -d '{"org_id":"acme","source":"demo","source_id":"run-1",
       "captured_hosts":["example.org"],"excluded_hosts":[],
       "inject_headers":[],"serialize":false,"ttl_secs":600}'

13Integration

Works with CrawlX.

CrawlX is the crawler from the same organization. Its --proxy option accepts the pool gateway’s HTTP proxy URL. A sid sticky key can keep a scan on an eligible exit without relaxing CrawlX’s scope, robots or egress rules.

CrawlX on GitHub ↗

Per-crawl sticky identity

Pass a gateway URL such as http://px-cc-fr-sid-scan42:ORG_KEY@proxyx-gateway:8080 to CrawlX. Sticky leases can move when health or policy requires it.

Block-signal feedback

A CONNECT client that reads the pool session and exit-IP response headers can report blocks through POST /v1/block-signals. Authenticated signals cool an IP for the affected target; SOCKS5 replies carry no session headers.

14Product family

The NoxRed Security Research product family.

ProxyX is built by NoxRed Security Research, which also makes CrawlX and BrowserX. Each product stands alone; together they cover the crawler, the browser and the network path for authorized security research.

AI/LLM-native crawler · v0.2.0

CrawlX

Next-generation AI/LLM-native crawler for authorized security research. It maps the attack surface of dynamic web applications you are authorized to test.

CrawlX site ↗ · CrawlX source ↗ · v0.2.0 ↗

AI/LLM-native browser pooling · v0.1.0

BrowserX

Next-generation AI/LLM-native browser pooling, session management, persistence, recovery and handoff for authorized security research. First public release, version 0.1.0.

BrowserX Undetect is an optional runtime for premium BrowserX customers. It comes with no evasion guarantees and is for authorized use only.

browserx.dev ↗ · BrowserX source ↗ · v0.1.0 ↗

Publisher

NoxRed Security Research

The security research company behind these products. Authorized testing only, responsible disclosure.

noxred.ai ↗

How the products fit together

CrawlX attaches to BrowserX sessions over the Chrome DevTools Protocol. BrowserX sessions egress through ProxyX, where username templates carry a per-session sticky key so an exit stays put for the session. ProxyX captures and analyzes the traffic, and captures correlate per BrowserX session. CrawlX, BrowserX and ProxyX each expose an MCP server for AI agents. Every link is optional, and each product keeps its own authorization, scope and egress rules.

15Open source

Release, license and vulnerability reports.

What’s new in 0.2.0

AI/LLM-native. The MCP server adds scoped passive capture analysis (off by default) and a sticky key in the session credential for per-session correlation.

Backends. PostgreSQL, MariaDB or SQLite; S3-compatible object storage for traffic exports; Valkey or Redis; ClickHouse or OpenSearch and Elasticsearch; Redis Streams, Kafka or RabbitMQ.

Shared infrastructure. A PostgreSQL schema per plane and per-product prefixes let several products share one set of service instances.

Release v0.2.0 ↗

Is ProxyX open source?

Yes. ProxyX is licensed under the GNU Affero General Public License, version 3 only (AGPL-3.0-only). Third-party dependencies keep their own licenses and notices.

Source on GitHub ↗

Report a vulnerability in ProxyX

Use GitHub private vulnerability reporting. Please do not open public issues for suspected vulnerabilities, and do not include live credentials or captured personal data in a report.

Report privately ↗ · security.txt