← Back to Skills Marketplace
felixqian4160

V2ray Proxy

by Felixqian4160 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
618
Downloads
1
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install v2ray-proxy
Description
V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理。使用场景:OpenClaw需要访问外网时自动开启代理、不需要时关闭。
Usage Guidance
This skill appears to do what it claims, but review and adapt before using: 1) Edit the V2RAY_DIR and related paths in scripts/v2ray-proxy.sh to point to your V2Ray/Xray installation (the provided defaults are user-specific). 2) Inspect scripts/v2ray-proxy.sh yourself — it starts/stops local binaries (nohup/pkill/pgrep) and uses eval to run wrapped commands; only run it as a non-root user you trust. 3) Back up ~/.bashrc before installing — the script appends a marker line. 4) Because the script contacts external sites (github.com, google.com) to decide if proxy is needed, be aware of that network traffic. 5) If you did not obtain this skill from a trusted source, consider running it in an isolated environment or reviewing the V2Ray binaries it will start. If you want extra assurance, ask the author for a reproducible installation path or a package from an official release host.
Capability Analysis
Type: OpenClaw Skill Name: v2ray-proxy Version: 1.0.1 The skill is classified as suspicious primarily due to a critical shell injection vulnerability in the `wrap` function within `scripts/v2ray-proxy.sh`. This function uses `eval "$cmd"` to execute user-provided commands without sanitization, allowing for arbitrary command execution (RCE) if an attacker or a malicious prompt can control the input. Additionally, the script modifies the user's `~/.bashrc` file to export `V2RAY_PROXY=1`, which, while intended as a benign flag, is a form of persistence and modification of user dotfiles without explicit consent, adding to the suspicious behavior.
Capability Assessment
Purpose & Capability
Name/description (V2Ray proxy management) align with what the skill does: start/stop V2Ray, configure system proxy env vars, auto-toggle based on network checks, and wrap commands. The script operates on a V2Ray installation path and uses typical tools (pgrep/pkill/curl) appropriate for this purpose.
Instruction Scope
SKILL.md and the script are consistent: they instruct running the included bash script which checks connectivity to github.com/google.com, starts/stops local binaries, and sets/unsets environment proxy variables. Note: the script contains a hardcoded V2RAY_DIR (/media/felix/...) that the user must edit to match their system. The script also writes a marker line to ~/.bashrc and uses eval when wrapping arbitrary commands — both expected but worth reviewing.
Install Mechanism
No install spec; this is instruction + shipped script only. No remote downloads or installation steps that would fetch/extract external code were found.
Credentials
The skill does not request external credentials or environment variables. It does set/unset proxy env vars at runtime and appends a small marker (export V2RAY_PROXY=1) to the user's ~/.bashrc to indicate managed state. That persistence is minimal but should be noted.
Persistence & Privilege
always:false and disable-model-invocation:false (normal). The only persistent change is appending a marker to ~/.bashrc; the skill does not alter other skills or system-wide configs beyond that. It requires local execution rights to start/stop processes but does not request elevated privileges itself.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install v2ray-proxy
  3. After installation, invoke the skill by name or use /v2ray-proxy
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
fix: stop命令自动清除系统代理
v1.0.0
初始版本
Metadata
Slug v2ray-proxy
Version 1.0.1
License
All-time Installs 2
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is V2ray Proxy?

V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理。使用场景:OpenClaw需要访问外网时自动开启代理、不需要时关闭。 It is an AI Agent Skill for Claude Code / OpenClaw, with 618 downloads so far.

How do I install V2ray Proxy?

Run "/install v2ray-proxy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is V2ray Proxy free?

Yes, V2ray Proxy is completely free (open-source). You can download, install and use it at no cost.

Which platforms does V2ray Proxy support?

V2ray Proxy is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created V2ray Proxy?

It is built and maintained by Felixqian4160 (@felixqian4160); the current version is v1.0.1.

💬 Comments