← 返回 Skills 市场
Webapp Testing
作者
yang1002378395-cmyk
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install webapp-testing-cn
功能描述
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing...
安全使用建议
This skill appears to be what it says: Playwright examples plus a helper to start dev servers. Before installing or running it: 1) Inspect scripts/with_server.py — it spawns user-supplied shell commands (subprocess with shell=True); do not supply untrusted commands. 2) Run the helper with --help and test in an isolated environment (container or VM) so a misbehaving dev server or script can't affect your host. 3) If you plan to allow autonomous agent use, restrict or review any commands the agent can pass to the helper (autonomous invocation + shell-capable helpers increases risk). 4) Check where outputs are written (/mnt/user-data, /tmp) and adjust paths or permissions if needed. 5) If you want stronger safety, run the scripts manually the first time and audit the code (contrary to the SKILL.md suggestion to avoid reading source).
功能分析
Type: OpenClaw Skill
Name: webapp-testing-cn
Version: 1.0.0
The skill bundle provides legitimate web testing functionality but contains a shell injection vulnerability in `scripts/with_server.py` due to the use of `subprocess.Popen` with `shell=True` on arbitrary server commands. Furthermore, `SKILL.md` explicitly instructs the AI agent to avoid reading the source code of the scripts ('DO NOT read the source until you try running the script first'), which effectively discourages the agent from auditing the risky implementation or identifying the shell injection surface.
能力评估
Purpose & Capability
Name/description match the provided artifacts: Playwright examples and a server helper. No unrelated environment variables, binaries, or install steps are requested. The helper script's ability to start dev servers is appropriate for a local webapp testing toolkit.
Instruction Scope
SKILL.md stays within testing/useful automation patterns (take screenshots, inspect DOM, wait for networkidle). However it explicitly recommends treating bundled scripts as black boxes and not reading source unless necessary — that guidance reduces opportunity for user audit. The runtime instructions and examples show the helper starting arbitrary shell commands and writing files under /mnt/user-data and /tmp; these behaviors are expected for the stated purpose but worth reviewing before execution.
Install Mechanism
No install spec — instruction-only with included example scripts. This minimizes install-time risks (nothing downloaded or extracted). The code is bundled in the skill, so nothing external is fetched at install-time.
Credentials
The skill requests no environment variables or credentials. Example scripts write outputs to /mnt/user-data and /tmp and use localhost ports; these are reasonable for local testing and consistent with the skill's purpose.
Persistence & Privilege
always is false and the skill does not request persistent privileges or modify other skills. Model invocation is enabled (default) which is normal; note that autonomous invocation combined with shell-capable helpers increases blast radius and should be considered by administrators.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install webapp-testing-cn - 安装完成后,直接呼叫该 Skill 的名称或使用
/webapp-testing-cn触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the webapp-testing toolkit.
- Provides scripts and best practices for testing local web applications using Playwright.
- Includes `scripts/with_server.py` to manage multiple server lifecycles for testing.
- Offers a decision tree to guide static vs. dynamic site testing approaches.
- Documents the "reconnaissance-then-action" pattern for frontend test automation.
- Emphasizes using helper scripts as black boxes and leveraging bundled examples for common tasks.
元数据
常见问题
Webapp Testing 是什么?
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 Webapp Testing?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install webapp-testing-cn」即可一键安装,无需额外配置。
Webapp Testing 是免费的吗?
是的,Webapp Testing 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Webapp Testing 支持哪些平台?
Webapp Testing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Webapp Testing?
由 yang1002378395-cmyk(@yang1002378395-cmyk)开发并维护,当前版本 v1.0.0。
推荐 Skills