← 返回 Skills 市场
1006
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-policy-check
功能描述
Scan repositories for risky security patterns before execution. Use when users ask for a quick preflight security check, policy enforcement scan, suspicious code triage, or detection of unsafe commands, secret leakage, and dangerous shell behavior.
安全使用建议
This skill is coherent: it runs a local regex-based scan and prints findings. Before installing or running it, consider: (1) it reads repository files (including any secrets present) and will print snippets to stdout — run it on sensitive repos in a secure or isolated environment if you are worried about logs or agent transcripts; (2) the scanner is rule-based and may produce false positives/negatives—review the rules if you need tuned behavior; (3) because it prints detected snippets, do not forward its raw output to untrusted destinations; and (4) if you want to be extra cautious, inspect scripts/policy_check.py yourself (it is short and contains no network or write-side effects).
功能分析
Type: OpenClaw Skill
Name: openclaw-policy-check
Version: 1.0.0
The OpenClaw Policy Check skill is designed as a security scanner to detect risky patterns in code and scripts. The `scripts/policy_check.py` script uses regular expressions to identify common vulnerabilities and potentially malicious constructs (e.g., `curl|sh`, `rm -rf /`, `shell=True` in Python, hardcoded secrets, exfiltration endpoints). The script itself does not perform any malicious actions like data exfiltration, unauthorized execution, or persistence. It only reads specified files and reports findings. The `SKILL.md` instructions guide the AI agent to run the scan and report results, without any evidence of prompt injection attempting to subvert the agent's intended behavior for harmful purposes. All identified high-risk patterns are for detection, not execution by the skill itself.
能力评估
Purpose & Capability
Name/description (preflight policy scan) match the actual files and behavior: a Python script that walks a repo and applies regex-based rules. No unrelated credentials, tools, or capabilities are requested.
Instruction Scope
SKILL.md instructs the agent to run the included scanner against a target path. The script only reads files under the target (skips large files and common ignore dirs) and reports matches; it does not read unrelated system state or other config paths.
Install Mechanism
Instruction-only skill with a bundled script and no install spec. Nothing is downloaded or written to disk beyond normal execution of the included script.
Credentials
No environment variables, credentials, or config paths are requested. The script operates on user-supplied target_path only.
Persistence & Privilege
No forced persistence (always=false). agents/openai.yaml allows implicit invocation (normal for skills), but the skill does not modify other skills or system settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-policy-check - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-policy-check触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of openclaw-policy-check.
- Scans repositories for risky security patterns prior to execution.
- Detects unsafe commands, secret leakage, and dangerous shell behavior.
- Supports severity thresholds and JSON output for flexible integration.
- Provides clear summaries with findings, severity breakdown, and actionable remediation guidance.
元数据
常见问题
OpenClaw Policy Check 是什么?
Scan repositories for risky security patterns before execution. Use when users ask for a quick preflight security check, policy enforcement scan, suspicious code triage, or detection of unsafe commands, secret leakage, and dangerous shell behavior. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1006 次。
如何安装 OpenClaw Policy Check?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-policy-check」即可一键安装,无需额外配置。
OpenClaw Policy Check 是免费的吗?
是的,OpenClaw Policy Check 完全免费(开源免费),可自由下载、安装和使用。
OpenClaw Policy Check 支持哪些平台?
OpenClaw Policy Check 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Policy Check?
由 spbavarva(@spbavarva)开发并维护,当前版本 v1.0.0。
推荐 Skills