Proxy Auto
v1.0.0Automatically enables SOCKS5 proxy for accessing overseas sites and APIs like GitHub, OpenAI, and npm with VMess over WebSocket configuration.
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
The name/description (automatic SOCKS5 proxy switching) matches the provided script and instructions: the script exports http/https/ALL_PROXY pointing at localhost and runs the requested command. However the README mentions a 'VMess over WebSocket' Singapore backend and optimizations for services — the code does not create or manage any VMess client nor connect to remote proxies. That claim appears to describe an external/local runtime dependency rather than implemented behavior.
Instruction Scope
SKILL.md instructs users to source a proxy script at /root/.openclaw/proxy-auto.sh or manually set environment variables and shows curl tests. The instructions do not read unrelated files or credentials. Minor inconsistency: the repo contains proxy.sh but the docs point to /root/.openclaw/proxy-auto.sh (an assumed install path). The script inspects command arguments for domain substrings and exports proxies only when matched — that's within the feature scope.
Install Mechanism
There is no install spec and the skill is effectively instruction-only with a single helper script included. Nothing is downloaded from external URLs and no archive extraction or package manager installs are declared, which is low-risk from an install perspective.
Credentials
The skill does not request environment variables, credentials, or config paths. The script sets local proxy environment variables only as needed. No secrets or unrelated credentials are required or accessed.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges in metadata. However SKILL.md suggests storing the script under /root/.openclaw/proxy-auto.sh; asking to place files in /root can be sensitive depending on your system and user context. The skill does not modify other skills or system-wide agent settings.
Assessment
This helper merely configures local proxy environment variables; it does not provide or start a VMess proxy client. Before installing or sourcing: (1) verify who provides and runs the actual proxy service that should be listening on 127.0.0.1:10808/10809 — if you don't run a local VMess client, the proxy settings will fail or route traffic to nothing; (2) avoid blindly sourcing scripts into root-owned locations — consider placing the script in your user profile directory and review its contents (it's short and readable); (3) remember that routing API calls (OpenAI, GitHub, npm) through a proxy can expose request payloads, API keys, or tokens to the operator of that proxy — only use trusted proxies; (4) if you want the claimed VMess/backend behavior, confirm or provide a trusted local client or service that creates the localhost listeners rather than relying on undocumented remote infrastructure.Like a lobster shell, security has layers — review code before you run it.
latest
Proxy Auto - 自动代理切换
功能
当需要访问外网时自动启用 SOCKS5 代理。
使用方法
在命令前添加代理环境变量
source /root/.openclaw/proxy-auto.sh <command>
或者手动设置环境变量
export http_proxy=http://127.0.0.1:10808
export https_proxy=http://127.0.0.1:10808
export ALL_PROXY=socks5://127.0.0.1:10808
代理配置
- 类型: VMess over WebSocket
- 地址: 127.0.0.1:10808 (SOCKS5)
- 后端: 新加坡节点 (Netflix/Disney+/OpenAI 优化)
测试命令
# 测试 Google
curl -s --socks5 127.0.0.1:10808 https://www.google.com
# 测试 GitHub
curl -s --socks5 127.0.0.1:10808 https://api.github.com
# 测试 OpenAI
curl -s --socks5 127.0.0.1:10808 https://api.openai.com
自动使用场景
- 访问 GitHub API
- 调用 OpenAI/Claude 等 AI 服务
- 抓取境外网站数据
- 安装 npm/pip 境外包
最后更新:2026-03-02
Comments
Loading comments...
