← 返回 Skills 市场
yanbo92

Ssh Guard

作者 yanbo92 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
171
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install ssh-guard
功能描述
Intercepts SSH exec calls and pauses them for user approval. Supports one-time and session-wide approval modes, with automatic state cleanup when sessions end.
安全使用建议
This repository appears to do what it claims: block exec tool calls containing 'ssh' and require explicit approval. Before installing: (1) verify you trust the GitHub source or copy the files into an internal repo, (2) review index.en.ts / index.zh-CN.ts yourself (they only use the OpenClaw plugin API and logging), (3) follow SKILL.md to set session.dmScope to per-channel-peer or per-account-channel-peer as recommended (the plugin relies on that routing to correctly bind approvals), (4) be aware the blocking logic looks for the substring 'ssh' (possible false positives/negatives), (5) test in a safe environment first (no external network calls or secret access are present, but running any plugin in production should be done cautiously). If you want higher assurance, ask for provenance (author identity, repository history) or run the code through your own review/process before enabling it in production.
功能分析
Type: OpenClaw Skill Name: ssh-guard Version: 1.0.3 The ssh-guard skill bundle is a legitimate security plugin designed to intercept and require manual user approval for any commands containing 'ssh' before execution. It implements a stateful approval system using OpenClaw's plugin API (index.en.ts, index.zh-CN.ts) and provides clear, non-malicious instructions in SKILL.md for the agent to assist with installation and configuration. No indicators of data exfiltration, unauthorized execution, or harmful prompt injection were found.
能力评估
Purpose & Capability
Name/description match the contained code and SKILL.md. The plugin and skill both focus on intercepting exec calls containing the substring 'ssh' and requiring explicit user approval; required files and configuration changes (plugins.load.paths, plugins.entries, session.dmScope) are appropriate for that purpose.
Instruction Scope
SKILL.md instructs only on installing/configuring the plugin (language choice, where to place files, and session.dmScope values). It does not request unrelated secrets, system files, or instruct gathering/transmitting unrelated data. The requested edits (enable plugin, add load path, set dmScope) are proportional to the plugin's operation.
Install Mechanism
No automated install spec or external downloads are present; the repository is intended to be added to plugins.load.paths or copied into an extensions directory. This is low-risk and traceable to the included source files.
Credentials
The skill declares no environment variables, no credentials, and no config paths beyond telling the user to update openclaw.json. The code only uses the plugin API and an in-memory Map for approval state; it does not access secrets or external services.
Persistence & Privilege
The skill is not marked always:true and does not request persistent platform-wide privileges. It asks the user to enable the plugin entry (normal for a plugin). Its runtime state is in-memory and cleared on session_end or subagent_ended.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ssh-guard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ssh-guard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Update description to better explain the plugin's purpose
v1.0.2
ssh-guard v1.0.2 - Added explicit version field to SKILL.md. - No changes to core logic or behavior. - Documentation updated only; installation and usage instructions unchanged.
v1.0.1
Default to English language
v1.0.0
Initial release
元数据
Slug ssh-guard
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Ssh Guard 是什么?

Intercepts SSH exec calls and pauses them for user approval. Supports one-time and session-wide approval modes, with automatic state cleanup when sessions end. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 171 次。

如何安装 Ssh Guard?

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

Ssh Guard 是免费的吗?

是的,Ssh Guard 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ssh Guard 支持哪些平台?

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

谁开发了 Ssh Guard?

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

💬 留言讨论