npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

squad-selfhost-web

v2026.2.2101

Published

Self-hosted Squad Control UI adapter for OpenClaw

Readme

squad-selfhost-web

Self-host adapter plugin that mounts Squad as a parallel OpenClaw control UI.

  • UI mount path: /squad
  • Internal API: /squad-internal/*
  • Coexists with OpenClaw Control UI at its configured base path

Security model

In self-host mode, Squad runs entirely on the user's server and browser origin.

  • No bridge flow
  • No relay flow
  • No outbound connection to Squad cloud services

Isolation guarantee

The web bundle is mounted and executed inside the OpenClaw server context. The browser talks only to same-origin internal endpoints (/squad-internal/*). There is no connection to external control planes for runtime operations.

External request policy (explicit)

By design, the self-hosted bundle is isolated. It only performs external requests in two explicitly user-triggered cases:

  1. License validation/check via Lemon Squeezy
    • Host: api.lemonsqueezy.com
  2. Bundle/plugin version check via npm registry
    • Host: registry.npmjs.org

Outside those two user-triggered actions, runtime operations stay internal to your server and same-origin browser session.

Self-verification (SSH / server level)

If you want to verify isolation yourself, run these checks on the host where OpenClaw is running.

1) Identify the OpenClaw gateway process

ps aux | grep -E "openclaw|gateway|node" | grep -v grep

Pick the PID of the active gateway process.

2) Inspect established outbound sockets for that PID

PID=<gateway_pid>
sudo lsof -nP -a -p "$PID" -iTCP -sTCP:ESTABLISHED

Live watch:

watch -n 1 'sudo lsof -nP -a -p '"$PID"' -iTCP -sTCP:ESTABLISHED'

Expected behavior:

  • During normal in-app operations: no external hosts required
  • When user explicitly triggers license/version checks: connections may appear to:
    • api.lemonsqueezy.com
    • registry.npmjs.org

3) Trace new connect syscalls from that PID (Linux, if bpftrace is available)

PID=<gateway_pid>
sudo bpftrace -e 'tracepoint:syscalls:sys_enter_connect /pid == '$PID'/ { printf("connect pid=%d comm=%s\\n", pid, comm); }'

This confirms when the process initiates outbound connections in real time.

4) Optional packet-level check

sudo tcpdump -i any -nn host api.lemonsqueezy.com or host registry.npmjs.org

Run this while triggering each explicit action to confirm only expected external egress.

About "path-level" isolation checks

At OS network level, egress is process/socket based, not HTTP-route based. That means you cannot reliably filter outbound traffic by /squad path in kernel tools alone. The practical approach is:

  1. Correlate inbound /squad usage via gateway/web logs.
  2. Correlate outbound sockets/connect events by gateway PID (commands above).
  3. Validate that outbound destinations match only the two approved hosts when user-triggered.

Install

openclaw plugins install squad-selfhost-web