← 返回 Skills 市场
samuelpang

QA Reviewer

作者 SamuelPang · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
481
总下载
3
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install qa-reviewer
功能描述
提供代码审查、单元测试、覆盖率分析和问题追踪,支持C++/Python/JavaScript,确保项目质量和文档完整度。
安全使用建议
What to consider before installing/using this skill: - Source and provenance: the skill's Source/Homepage are unknown and the package repo URL in package.json should be verified (may not exist). Be cautious installing skills from unknown maintainers. - Missing referenced script: SKILL.md/README reference generate_report.sh but that file is not present—expect minor documentation drift or a packaging error; verify intended behavior before relying on it. - Test execution risk: run_tests.sh can compile and execute project tests (cmake/make or pytest). If the project contains untrusted code or malicious test runners, executing tests can run arbitrary code on your machine. This is expected for a testing tool but is a security risk when used on unknown repositories. - Recommended mitigations: - Inspect scripts (scripts/*.sh) yourself before running. They are simple and readable here, but still review any changes in future versions. - Run the scripts in an isolated environment (container, VM, sandbox) or on a CI runner with limited privileges when scanning untrusted projects. - Verify the repository URL and maintainer identity; prefer skills from known/trusted publishers. - If you only need static analysis or report generation, consider running code_review.sh only (it mostly greps/finds and writes a markdown report) instead of running compiled tests. - If you want higher assurance: request the maintainer to add the missing generate_report.sh or clarify docs, and provide a signed repository or official homepage.
功能分析
Type: OpenClaw Skill Name: qa-reviewer Version: 1.0.0 The skill is classified as suspicious due to significant shell injection vulnerabilities in `scripts/code_review.sh` and `scripts/run_tests.sh`. Both scripts directly use the `$PROJECT_PATH` argument in shell commands (`grep`, `find`, `cd`, `cmake`, `make`, `pytest`, `./srm_tests`) without proper sanitization. If an attacker can control the `PROJECT_PATH` input provided to the AI agent, they could inject arbitrary shell commands, leading to Remote Code Execution (RCE). Additionally, `examples/test_case_example.cpp` uses `system(cmd.c_str());` for cleanup, demonstrating a risky pattern that could lead to shell injection if the `testDir_` variable were ever influenced by untrusted input.
能力评估
Purpose & Capability
Name/description promise code review, testing, coverage and tracking for C++/Python/JS; the repository contains review and test scripts, templates, examples and docs that align with that purpose. Minor inconsistency: SKILL.md and README mention a generate_report.sh script (quick-start step 3 and README), but no generate_report.sh exists in the file manifest.
Instruction Scope
SKILL.md instructs the agent to run scripts under ~/.openclaw/extensions/qa-reviewer/scripts/ (code_review.sh, run_tests.sh). The included scripts scan the project, create report files, compile and run tests (cmake/make or pytest). Running tests implies executing compiled binaries or Python tests from the target project — expected for a test tool but a potential risk if tests contain malicious code. The quick-start references a missing generate_report.sh, which is an incoherence in the instructions.
Install Mechanism
No install spec is provided (instruction-only plus shipped scripts). Nothing is downloaded or installed by the skill itself — lowest install risk.
Credentials
The skill declares no required environment variables, no credentials, and no special config paths. The scripts operate on a project path supplied by the user (default '.'), which is proportional to the stated purpose.
Persistence & Privilege
Skill is not always-enabled and does not request elevated privileges. It does create report files in the project directory when invoked, which is expected behaviour and limited in scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qa-reviewer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qa-reviewer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release based on SRM project experience. Provides code review, testing framework, and quality assurance capabilities.
元数据
Slug qa-reviewer
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

QA Reviewer 是什么?

提供代码审查、单元测试、覆盖率分析和问题追踪,支持C++/Python/JavaScript,确保项目质量和文档完整度。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 481 次。

如何安装 QA Reviewer?

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

QA Reviewer 是免费的吗?

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

QA Reviewer 支持哪些平台?

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

谁开发了 QA Reviewer?

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

💬 留言讨论