← Back to Skills Marketplace
Pipenet-skill
by
SpiderDKing
· GitHub ↗
· v1.0.0
· MIT-0
96
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pipenet-skill
Description
分析和处理TOML格式的管道网络,包括转换描述、加载求解及结构与运行状态可视化。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pipenet-skill - After installation, invoke the skill by name or use
/pipenet-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Pipenet-skill?
分析和处理TOML格式的管道网络,包括转换描述、加载求解及结构与运行状态可视化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 96 downloads so far.
How do I install Pipenet-skill?
Run "/install pipenet-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Pipenet-skill free?
Yes, Pipenet-skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Pipenet-skill support?
Pipenet-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Pipenet-skill?
It is built and maintained by SpiderDKing (@spiderdking); the current version is v1.0.0.
More Skills