← 返回 Skills 市场
felixqian4160

V2ray Proxy

作者 Felixqian4160 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
618
总下载
1
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install v2ray-proxy
功能描述
V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理。使用场景:OpenClaw需要访问外网时自动开启代理、不需要时关闭。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install v2ray-proxy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /v2ray-proxy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
fix: stop命令自动清除系统代理
v1.0.0
初始版本
元数据
Slug v2ray-proxy
版本 1.0.1
许可证
累计安装 2
当前安装数 1
历史版本数 2
常见问题

V2ray Proxy 是什么?

V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理。使用场景:OpenClaw需要访问外网时自动开启代理、不需要时关闭。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 618 次。

如何安装 V2ray Proxy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install v2ray-proxy」即可一键安装,无需额外配置。

V2ray Proxy 是免费的吗?

是的,V2ray Proxy 完全免费(开源免费),可自由下载、安装和使用。

V2ray Proxy 支持哪些平台?

V2ray Proxy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 V2ray Proxy?

由 Felixqian4160(@felixqian4160)开发并维护,当前版本 v1.0.1。

💬 留言讨论