← Back to Skills Marketplace
yanbo92

Ssh Guard

by yanbo92 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
171
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install ssh-guard
Description
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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ssh-guard
  3. After installation, invoke the skill by name or use /ssh-guard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug ssh-guard
Version 1.0.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 171 downloads so far.

How do I install Ssh Guard?

Run "/install ssh-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ssh Guard free?

Yes, Ssh Guard is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ssh Guard support?

Ssh Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ssh Guard?

It is built and maintained by yanbo92 (@yanbo92); the current version is v1.0.3.

💬 Comments