RepoPilot

rathole-org/rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.

Mixed

High-severity dependency advisories — review before adopting

HealthyDependency

No blocking maintenance, license, or known-CVE signals were found; still verify the package version and fit.

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

1 high-severity CVE in dependencies; Scorecard "Branch-Protection" is 0/10…

  • 1 high-severity advisory on direct dependencies
  • Concentrated ownership — top contributor handles 68% of recent commits
  • Scorecard: default branch unprotected (0/10)
  • Last commit 2w ago
  • 24+ active contributors
  • Apache-2.0 licensed
  • CI configured
  • Tests present

What would improve this?

  • Deploy as-is Mixed to Healthy if: resolve the high-severity advisory; bring "Branch-Protection" to ≥3/10 (see scorecard report)

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: rathole-org/rathole

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T07:42:10.833Z · commit a292f7ed5402

Verdict

Mixed — High-severity dependency advisories — review before adopting

  • Last commit 2w ago
  • 24+ active contributors
  • Apache-2.0 licensed
  • CI configured
  • 1 more receipt on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

rathole is a Rust-based reverse proxy for NAT traversal that exposes services behind NAT firewalls to the Internet via a public-IP server, competing directly with frp and ngrok. It prioritizes high throughput (claims superior performance to frp), minimal memory footprint (~500KiB minimal binaries), mandatory token-based authentication, and optional encryption via Noise Protocol or TLS, making it suitable for embedded devices and production use. Single-binary monolithic design: src/client.rs and src/server.rs are the dual-mode entry points sharing protocol.rs and transport modules; transport/ subdirectory abstracts multiple backends (tcp.rs, native_tls.rs, noise.rs, rustls.rs, websocket.rs)…

Start here

Read these in order:

  • src/protocol.rs — Foundation: doesn't import anything internally and is imported by 3 other files. Read first to learn the vocabulary.
  • src/constants.rs — Foundation: imported by 3, no internal dependencies of its own.
  • tests/integration_test.rs — Built on the foundation; imported by 0 downstream files.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

git clone https://github.com/rapiz1/rathole
cd rathole
rustup update  # ensure Rust toolchain (rust-toolchain file present)
cargo build --release
./target/release/rathole --help

Daily commands:

rathole is a binary proxy, not a traditional dev server. To run: cargo run --release -- --server server.toml (server mode) or cargo run --release -- --client client.toml (client mode); configuration files define ser…

…shortened for this brief.

Key cautions & unknowns

  • 1 high-severity advisory on direct dependencies
  • Concentrated ownership — top contributor handles 68% of recent commits
  • Scorecard: default branch unprotected (0/10)
  • Feature flag gotchas: embedded profile explicitly disables TLS (noted in comment 'Cross-compiling with tls is hard') — static TLS builds for ARM routers require rustls, not native-tls. Hot-reload safety:…
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Safe to depend on" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Safe to depend on
[![RepoPilot: Safe to depend on](https://repopilot.app/api/badge/rathole-org/rathole?axis=dependency)](https://repopilot.app/r/rathole-org/rathole)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/rathole-org/rathole on X, Slack, or LinkedIn.

Ask AI about rathole-org/rathole

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/rathole-org/rathole"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>