RepoPilot

SagerNet/sing-box

The universal proxy platform

Mixed

Single-maintainer risk — review before adopting

ConcernsDependency

copyleft license (GPL-3.0) — review compatibility; top contributor handles 99% of recent commits

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

Scorecard "Branch-Protection" is 0/10; Scorecard "Token-Permissions" is 0/10

  • Small team — 2 contributors active in recent commits
  • Single-maintainer risk — top contributor 99% of recent commits
  • GPL-3.0 is copyleft — check downstream compatibility
  • Scorecard: default branch unprotected (0/10)
  • Last commit 2d ago
  • 2 active contributors
  • GPL-3.0 licensed
  • CI configured
  • Tests present

What would improve this?

  • Use as dependency Concerns to Mixed if: relicense under MIT/Apache-2.0 (rare for established libs)
  • Deploy as-is Mixed to Healthy if: 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: SagerNet/sing-box

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T09:26:37.483Z · commit f6ce1d5be042

Verdict

Mixed — Single-maintainer risk — review before adopting

  • Last commit 2d ago
  • 2 active contributors
  • GPL-3.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

sing-box is a universal proxy platform written in Go that implements multi-protocol proxy support (shadowsocks, OpenVPN, OpenConnect, Tailscale, etc.) with a unified routing and rule engine. It provides a single binary that can act as an inbound/outbound proxy handler, DNS resolver, and network packet router across Linux, macOS, Windows, and mobile platforms. Monolithic adapter pattern: adapter/ directory contains interfaces (adapter/inbound.go, adapter/outbound.go, adapter/router.go, adapter/rule.go) with corresponding /manager.go and /registry.go implementations for composition. Protocol implementations (openvpn.go, openconnect.go, tailscale.go, shadowsocks via dependencies) are…

Start here

Open these first:

  • box.go — Core entry point managing the lifecycle and initialization of the entire proxy platform.
  • adapter/inbound/adapter.go — Defines the inbound connection handler interface that all proxy protocol implementations must satisfy.
  • adapter/outbound/adapter.go — Defines the outbound connection handler interface that all proxy protocol implementations must satisfy.
  • adapter/router.go — Routes traffic between inbound and outbound handlers based on rules and policies.
  • adapter/rule.go — Implements traffic routing rules that determine which outbound handler processes each connection.

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.

Clone: git clone https://github.com/SagerNet/sing-box.git && cd sing-box. Install: go mod download (inferred from go.mod presence). Build: Check Makefile and Dockerfile for build targets—likely make or go build

Daily commands:

Exact commands unclear without Makefile contents. Conventional approach: go run ./cmd/sing-box or similar (cmd/ directory not listed, so verify structure). Configuration likely via YAML/JSON config file passed as CLI…

…shortened for this brief.

Key cautions & unknowns

  • Small team — 2 contributors active in recent commits
  • Single-maintainer risk — top contributor 99% of recent commits
  • GPL-3.0 is copyleft — check downstream compatibility
  • Configuration requirement: sing-box is not runnable without a configuration file (not included in this data); the exact location and format must be verified from documentation or examples/ (not shown).…
  • 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 "Forkable" badge

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

Variant:
RepoPilot: Forkable
[![RepoPilot: Forkable](https://repopilot.app/api/badge/sagernet/sing-box?axis=fork)](https://repopilot.app/r/sagernet/sing-box)

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/sagernet/sing-box on X, Slack, or LinkedIn.

Ask AI about sagernet/sing-box

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/sagernet/sing-box"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>