← 返回 Skills 市场
parkertoddbrooks

Wip Grok

作者 Parker Todd Brooks · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
609
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wip-grok
功能描述
xAI Grok API. Search the web, search X, generate images, generate video.
安全使用建议
Before installing, be aware of these points: - The skill requires an xAI API key (XAI_API_KEY) even though the registry metadata claims none; SKILL.md and core.mjs will fail without it. - core.mjs will try to read the key from 1Password using the 'op' CLI (execSync). That means the skill runs a shell command; ensure you trust the code and have the op CLI configured if you want that behavior. - The edit_image and image-to-video flows accept local file paths and will read and base64-encode files (readFileSync) and send them to the external x.ai service. Do not pass paths to sensitive local files (password stores, private keys, configuration files) — supplying such paths would leak their contents to the external API. - package.json does not list the MCP SDK dependencies that mcp-server.mjs imports; this is an operational inconsistency (you may need to install those packages or run the MCP server in an environment that already provides them). - If you plan to allow autonomous agent invocation, be cautious: an autonomous agent could be tricked into passing local file paths or otherwise invoking edit_image/video with data that results in sensitive data being uploaded. Recommendations: - Only install/run this skill from a trusted source and review the code (core.mjs, mcp-server.mjs) yourself. - If you don't want 1Password CLI access, set XAI_API_KEY explicitly in the environment and/or remove/modify the op read fallback. - Restrict agent inputs so it cannot supply arbitrary local file paths to edit_image or generate_video image seeds. - Consider running the MCP server in a sandboxed environment or container to limit filesystem access if you need the MCP interface.
功能分析
Type: OpenClaw Skill Name: wip-grok Version: 1.0.2 The skill is classified as suspicious due to critical vulnerabilities that could be exploited for data exfiltration and arbitrary file writes. The `core.mjs` file's `edit_image` function uses `readFileSync` on the `image` parameter if it's not an HTTP or data URI, allowing an attacker to read arbitrary local files (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) and send their base64-encoded content to the xAI API. Additionally, the `cli.mjs` file's `--output` flag for media generation uses `writeFileSync` without path sanitization, enabling arbitrary file writes. These are severe vulnerabilities, but there is no clear evidence of intentional malicious behavior by the skill itself.
能力评估
Purpose & Capability
The name/description match the code: web/X search plus image/video generation via xAI Grok. However the registry metadata declared no required env vars or primary credential while the SKILL.md and core.mjs clearly expect an XAI_API_KEY (and a fallback read from 1Password). That mismatch between declared requirements and actual code is an inconsistency.
Instruction Scope
SKILL.md and the code instruct the agent to use an API key (env or 1Password) and to accept local file paths for edit_image and image-to-video flows. core.mjs will read local files (readFileSync) and base64-encode them, then POST those bytes to the external x.ai API. That behavior is expected for an image-editing tool but is a potential data-exfiltration vector if an agent (or user input) supplies paths to sensitive files. core.mjs also runs execSync('op read ...') to access 1Password; using child_process execution increases the risk surface compared with purely network-only code.
Install Mechanism
There is no install spec (instruction-only), which is lower-risk. All code is included in the repo and no downloads/install-time extracts occur. One operational oddity: mcp-server.mjs imports '@modelcontextprotocol/sdk/...' but package.json declares no dependencies, so runtime will fail unless the environment already has these packages — this is an operational inconsistency rather than a direct security exploit.
Credentials
The skill legitimately needs an xAI API key, which is proportional to its stated purpose. But registry metadata claimed no required env vars while SKILL.md/openclaw.install expect XAI_API_KEY and core.mjs will attempt to read 1Password (op CLI). The use of 1Password via execSync is reasonable as convenience, but it requires the op CLI to be available and grants the skill the ability to run a shell command to read secrets. That combination should be noted before granting runtime access.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide agent settings, and contains no install-time persistence. It runs as a normal user-space module and only uses its own code and (optional) local files when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wip-grok
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wip-grok 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Release.
元数据
Slug wip-grok
版本 1.0.2
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Wip Grok 是什么?

xAI Grok API. Search the web, search X, generate images, generate video. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 609 次。

如何安装 Wip Grok?

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

Wip Grok 是免费的吗?

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

Wip Grok 支持哪些平台?

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

谁开发了 Wip Grok?

由 Parker Todd Brooks(@parkertoddbrooks)开发并维护,当前版本 v1.0.2。

💬 留言讨论