← 返回 Skills 市场
yukariccccccc

rpm-packager

作者 yukariccccccc · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
396
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install rpm-packager
功能描述
Build installable RPM packages from source code on CentOS/RHEL by creating SPEC files and compiling for versions 7, 8, or 9 RPM-based systems.
安全使用建议
This skill appears to do what it says: build RPMs using local build tools. Before using it: (1) review the included script and spec-template yourself (they are provided); (2) run builds on a non-sensitive machine or VM if you have any doubt; (3) ensure you have the required tooling installed (rpm-build, mock, gcc, make) — SKILL.md mentions them but the metadata does not; (4) the script writes to ~/rpmbuild and will include whatever is in your source directory in the package, so verify source contents to avoid packaging secrets; and (5) do not run the sudo install commands unless you trust the environment. Overall the skill is coherent and low-risk, but the metadata omissions are a documentation gap to be aware of.
功能分析
Type: OpenClaw Skill Name: rpm-packager Version: 1.0.0 The skill is classified as suspicious due to a critical command injection vulnerability in `scripts/build-rpm.sh`. User-provided inputs such as `PACKAGE_NAME`, `VERSION`, and `RELEASE` are directly embedded into the generated RPM SPEC file without sanitization. This allows a malicious user to inject arbitrary commands into the SPEC file, which `rpmbuild` will execute, leading to potential Remote Code Execution (RCE). Additionally, the `SKILL.md` explicitly instructs the agent to use `sudo` for system package management, providing a high-privilege execution path that could be abused if the agent is prompted with malicious instructions or inputs.
能力评估
Purpose & Capability
The skill's name/description match the included files: a build script and SPEC template that create RPMs. However, the registry metadata declares no required binaries or OS restriction while SKILL.md and the script clearly rely on rpm-build, mock, gcc/make and expect CentOS/RHEL tooling. This is a documentation inconsistency (not necessarily malicious) that could confuse users about what must be installed.
Instruction Scope
The SKILL.md instructions and build script stay within the stated scope: preparing source, creating a tarball, generating a SPEC file, and running rpmbuild/mock. They require sudo only for installing prerequisites (not for the build itself). There are no instructions to read unrelated system files, exfiltrate data, or call external endpoints.
Install Mechanism
This is an instruction-only skill with no install spec — lowest-risk install model. All code is included in the bundle (scripts and templates); there are no downloads from external URLs or archive extraction from untrusted hosts.
Credentials
The skill does not request credentials or secrets. It does use optional environment variables (RPM_BUILDER_NAME, RPM_BUILD_DIR) documented in SKILL.md and consumed by the script, but none are declared in the skill's metadata. This is a minor mismatch in metadata vs. behavior but not a secret-exfiltration risk.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). It writes build outputs under the user's home (~/rpmbuild) and runs build tools locally. The only privileged action mentioned is using sudo to install prerequisite packages, which is standard for preparing a build environment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rpm-packager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rpm-packager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of rpm-packager. - Build RPM packages from source code for CentOS/RHEL systems. - Includes automated script for building packages with sample usage. - Guides for preparing source, installing prerequisites, and running the build process. - Instructions for customizing SPEC files and handling dependencies. - Supports builds for CentOS 7/8/9 using mock. - Documents output locations, environment variables, and security notes.
元数据
Slug rpm-packager
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

rpm-packager 是什么?

Build installable RPM packages from source code on CentOS/RHEL by creating SPEC files and compiling for versions 7, 8, or 9 RPM-based systems. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 396 次。

如何安装 rpm-packager?

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

rpm-packager 是免费的吗?

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

rpm-packager 支持哪些平台?

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

谁开发了 rpm-packager?

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

💬 留言讨论