← 返回 Skills 市场
dinghaibin

Tar Tool

作者 BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
30
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install tar-tool
功能描述
Create and extract tar archives with optional compression. Use for file bundling, backup, and distribution.
使用说明 (SKILL.md)

Tar - Tape Archive Utility

Create, maintain, and extract tar archives. Supports gzip, bzip2, and xz compression for efficient storage and transfer.

Usage

tar-tool [options] \x3Carchive> [files...]

Common Commands

  • -cf archive.tar files: Create archive
  • -xf archive.tar: Extract archive
  • -tf archive.tar: List contents
  • -czf archive.tar.gz files: Create gzip compressed
  • -cjf archive.tar.bz2 files: Create bzip2 compressed

Examples

tar-tool -cf backup.tar ./docs/
tar-tool -czf archive.tar.gz ./project/
tar-tool -xf archive.tar.gz
安全使用建议
Use this only with trusted archives, and preferably extract into a temporary empty folder. Before installing broadly, the maintainer should add safe tar extraction checks and update the documentation so the advertised commands and compression support match the code.
功能分析
Type: OpenClaw Skill Name: tar-tool Version: 1.0.0 The script `scripts/tar.py` uses the `tarfile.extractall()` method without any path validation or sanitization. This is a known security vulnerability (Tar Slip) that allows a specially crafted archive to perform path traversal and overwrite arbitrary files on the host system. While the tool's functionality aligns with its description in `SKILL.md`, the lack of safety checks for extraction makes it high-risk for exploitation.
能力评估
Purpose & Capability
The archive purpose is coherent, but the implementation uses unfiltered extraction and does not match the documented compression and tar-style flag behavior.
Instruction Scope
The usage examples include extraction but do not warn about untrusted archives, output location, path traversal, or overwrite review.
Install Mechanism
No remote install, dependency installation, or required binary is declared; the included script is small and directly reviewable.
Credentials
Reading user-selected files and writing archives is expected, but unbounded extraction can write or overwrite local files outside the intended directory under the user's privileges.
Persistence & Privilege
The artifacts show no credentials, account access, background service, persistent memory, or network activity.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tar-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tar-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug tar-tool
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Tar Tool 是什么?

Create and extract tar archives with optional compression. Use for file bundling, backup, and distribution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。

如何安装 Tar Tool?

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

Tar Tool 是免费的吗?

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

Tar Tool 支持哪些平台?

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

谁开发了 Tar Tool?

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

💬 留言讨论