← 返回 Skills 市场
Release Prep
作者
Sergey Morozik
· GitHub ↗
· v1.0.0
402
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install release-prep
功能描述
Deep code audit + documentation sync + release preparation for Python packages. Use when preparing a release, checking code quality before publishing, auditi...
安全使用建议
This skill appears to perform exactly the kinds of checks you want for a Python release, but there are important omissions and risks to consider before installing/allowing it to run:
- Tools and dependencies: SKILL.md calls python, pytest (and pytest-cov), ruff, mypy, and standard Unix utilities (grep/sed). The package metadata lists no required binaries — ensure these tools exist in the execution environment before running.
- Automatic fixes and publishing: 'fix' and 'release' modes will modify repository files and may tag/publish packages. Run first in 'audit' mode only, review any suggested fixes, and require manual approval before letting it perform commits, tags, pushes, or PyPI uploads.
- Credentials: publishing to PyPI and pushing tags typically requires a PyPI API token and git credentials. The skill does not declare nor request these; do not provide credentials implicitly. If you enable 'release' features, supply tokens via a secure mechanism and restrict their scope.
- Autonomous invocation: because the agent can be invoked autonomously, avoid granting it unchecked permission to run 'release' mode. Prefer running the skill interactively or in a sandbox/CI environment where you can review changes and control credentials.
If you want to proceed: (1) run in audit mode first, (2) verify tools are installed, (3) review all diffs before accepting fixes, and (4) only provide publish credentials in a controlled, scoped way (e.g., CI secrets, short-lived token).
功能分析
Type: OpenClaw Skill
Name: release-prep
Version: 1.0.0
The skill is classified as suspicious due to multiple critical shell injection vulnerabilities in SKILL.md. User-controlled content from project files (e.g., Python function names, dependency names, pyproject.toml entry points) is used in unquoted shell commands (e.g., `grep -rn "$func" src/`, `grep -rn "import $pkg\|from $pkg" src/`, `grep -q "$ep" README.md`). This allows an attacker to achieve arbitrary command execution (RCE) on the agent's host by crafting malicious project files. Additionally, there are significant prompt injection risks against the AI agent, particularly in phases involving report generation, auto-fixing, and changelog generation, where manipulated input could lead the agent to perform unintended actions or publish compromised packages.
能力评估
Purpose & Capability
The SKILL.md implements a Python package audit/fix/release pipeline (pytest, ruff, mypy, doc checks, changelog, bump/tag/publish). However the skill metadata declares no required binaries or credentials even though the instructions require python, pytest/pytest-cov, ruff, mypy, git and — for 'release' mode — a PyPI token or git push credentials. The omission of those requirements is an inconsistency.
Instruction Scope
Instructions operate on repository files (src/, tests/, pyproject.toml, README.md, CHANGELOG.md) which is appropriate for the stated purpose. The 'fix' and 'release' modes imply automated edits, tagging, and publishing; the SKILL.md does not include explicit safeguards, review steps, or explicit credential handling for publishing.
Install Mechanism
This is an instruction-only skill with no install spec, which is the lowest install risk. It does assume developer tooling is present on PATH rather than installing anything itself.
Credentials
No environment variables or credentials are declared, yet 'release' mode references actions (publish to PyPI, tag/push) that normally require API tokens or git credentials. Also the SKILL.md assumes presence of several CLI tools (python, pytest, ruff, mypy, grep/sed) but none are declared as required binaries.
Persistence & Privilege
always:false, no install, and no persistent system-wide changes are declared by the skill metadata. The skill can be invoked autonomously (default), which increases impact if allowed to run 'release' mode, but that alone is not a misconfiguration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install release-prep - 安装完成后,直接呼叫该 Skill 的名称或使用
/release-prep触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: deep code audit (tests/lint/dead code/docstrings/API coverage), documentation sync (README vs code, version consistency), changelog generation, auto-fix via coding agent, PyPI publish pipeline. Python packages only.
元数据
常见问题
Release Prep 是什么?
Deep code audit + documentation sync + release preparation for Python packages. Use when preparing a release, checking code quality before publishing, auditi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 402 次。
如何安装 Release Prep?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install release-prep」即可一键安装,无需额外配置。
Release Prep 是免费的吗?
是的,Release Prep 完全免费(开源免费),可自由下载、安装和使用。
Release Prep 支持哪些平台?
Release Prep 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Release Prep?
由 Sergey Morozik(@morozsm)开发并维护,当前版本 v1.0.0。
推荐 Skills