← 返回 Skills 市场
spiderdking

Pipenet-skill

作者 SpiderDKing · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
96
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pipenet-skill
功能描述
分析和处理TOML格式的管道网络,包括转换描述、加载求解及结构与运行状态可视化。
安全使用建议
High-level advice before installing or enabling this skill: - Code–purpose match: The Python modules implement the declared functionality (TOML loader, numerical solver, visualizer). That is coherent with the skill description. - Prompt-injection risk: The SKILL.md was flagged for base64 and Unicode control characters. Inspect SKILL.md raw text for hidden characters or encoded payloads before trusting it. Remove or sanitize any suspicious hidden content. - File I/O risks: The skill reads TOML files from arbitrary paths and writes output files to ./src/toml and ./src/html using names derived from input (pipe_net.name and scenario_name). If an attacker controls the TOML content or names, they could cause directory traversal or overwrite files. Mitigations: run in a sandboxed environment, restrict and validate file paths, and sanitize file names (reject '..', absolute paths, or suspicious characters). - Input validation: Several functions assume correct types (e.g., float values for some scenario actions). Malformed inputs can raise exceptions or cause partial failures—validate inputs before handing them to the skill. - External resources: Generated HTML references external CDNs for JS/CSS. The HTML itself does not exfiltrate data, but viewing it in a browser will fetch remote resources. If you must avoid external network calls, host the JS/CSS locally or remove CDN references. - Dependencies & runtime: The skill expects Python >=3.11 (uses tomllib) and scientific packages (numpy, scipy). Ensure the runtime environment can install/contain those packages and that they are acceptable for your security posture. - Testing: Before using on real data or giving it file-system access, run the skill in an isolated container, pass controlled TOML files, and verify it cannot read or write outside an allowed directory. If you want, I can: (1) locate and show the exact lines in SKILL.md that contain the hidden characters, (2) suggest code changes to sanitize file paths and names, or (3) propose a minimal sandbox policy for running this skill safely.
功能分析
Type: OpenClaw Skill Name: pipenet-skill Version: 1.0.0 The skill bundle contains path traversal vulnerabilities in `src/skill.py` and `src/core/visualizer.py`, where the `pipe_net.name` attribute from user-provided TOML content is used to construct file paths for writing (`.toml` and `.html` files) without sanitization. While the code appears to be a legitimate engineering tool for fluid network simulation using `scipy` and `networkx`, these vulnerabilities could allow an attacker to write files outside the intended directories. Additionally, the bundle includes large minified third-party JavaScript libraries (`src/core/lib/vis-9.1.2/vis-network.min.js`), which are standard for visualization but difficult to verify for integrity.
能力评估
Purpose & Capability
Name/description (pipe network TOML parsing, solving, visualization) align with the provided code: loader, solver, validator, analyzer, and visualizer modules implement those features. Declared dependencies (numpy, scipy, tomllib, networkx) make sense for numerical solving and graph operations.
Instruction Scope
SKILL.md itself is high-level and stays within scope, but the pre-scan flagged prompt-injection patterns (base64-block, unicode-control-chars) inside SKILL.md which could be an attempt to manipulate runtime prompts or evaluations. The code accepts TOML content and file paths from callers and will read arbitrary files (load_from_file) and write generated TOML/HTML to ./src/toml and ./src/html using values derived from the input (pipe_net.name and scenario_name) without sanitization, introducing risks (directory traversal, overwriting files).
Install Mechanism
No install spec is provided (skill is distributed with code). No downloaded or remote install steps in metadata. Declared Python packages are standard scientific libraries; nothing in the install step is opaque or pulls code from an untrusted URL.
Credentials
No environment variables, credentials, or config paths are requested. The skill only uses file I/O relative to the repository and standard Python libraries; requested resources are proportionate to the stated functionality.
Persistence & Privilege
always:false (normal). The skill writes files into the agent package directories (./src/toml and ./src/html) and will read arbitrary paths passed to analyze_network; although not privileged by platform flags, the file I/O behavior means a malicious or careless caller could make it read or overwrite files within agent filesystem—review intended runtime environment and sandboxing before granting access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pipenet-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pipenet-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of PipenetSkill. - Supports converting TOML-format pipeline network descriptions to TOML files. - Enables loading, solving, and analyzing pipeline networks from TOML files. - Provides visualization of pipeline networks, displaying structure and operational status.
元数据
Slug pipenet-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Pipenet-skill 是什么?

分析和处理TOML格式的管道网络,包括转换描述、加载求解及结构与运行状态可视化。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。

如何安装 Pipenet-skill?

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

Pipenet-skill 是免费的吗?

是的,Pipenet-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Pipenet-skill 支持哪些平台?

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

谁开发了 Pipenet-skill?

由 SpiderDKing(@spiderdking)开发并维护,当前版本 v1.0.0。

💬 留言讨论