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.
Security research use only
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.
git clone https://github.com/noxred-research/proxyx.git
cd proxyx
cargo build --release
Capabilities
# 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
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
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.
Run proxyx mcp, or the standalone proxyx-mcp, over stdio
or bearer-authenticated streamable HTTP. Resources and prompts expose documentation
and investigation workflows.
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.
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.
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.
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.
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.
02Pool gateway
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Background workers maintain the ready pool, verify exit identity and quality, and reclaim or replace units when their state changes.
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.
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.
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.
04Edge proxy
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 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.
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.
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.
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.
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.
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.
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.
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.
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.
05Session proxy
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.
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.
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.
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.
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.
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.
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.
06Capture and control plane
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.
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.
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.
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.
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.
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.
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.
07Pluggable backends
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 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 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 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
Operational tools ship alongside the proxies: self-checks, health findings, monitoring assets, deployment examples and reproducible benchmark tooling—not invented performance promises.
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.
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.
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.
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.
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.
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
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.
10Architecture
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
Agent plane
Pool plane
Edge plane
Session plane
Control plane
Backends
The full data-flow diagram is in the media kit →
11Quick start
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.
Step 1 · Build
git clone https://github.com/noxred-research/proxyx.git
cd proxyx
cargo build --release
Step 2 · Start the pool gateway
proxyx doctor --role gateway --config examples/pool.toml
proxyx gateway --config examples/pool.toml
Step 3 · Send a request through the gateway
curl -x http://px-cc-fr:ORG_KEY@localhost:8080 https://example.org
12Control plane
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
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.
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.
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
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
Next-generation AI/LLM-native crawler for authorized security research. It maps the attack surface of dynamic web applications you are authorized to test.
AI/LLM-native browser pooling · v0.1.0
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.
Publisher
The security research company behind these products. Authorized testing only, responsible disclosure.
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
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.
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.
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.