← 返回 Skills 市场
jchandler187

PortKeep

作者 Lowwattlabs · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
42
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install portkeep
功能描述
Manage, secure, and monitor open ports and services across nodes with audit, claim, drift detection, threat intel, and background monitoring.
使用说明 (SKILL.md)

PortKeep

Port management + security for self-hosted infrastructure.

When to use

  • User asks about open ports, listening services, or what's running on a port
  • User wants to audit their network security or attack surface
  • User needs to claim/register a port to prevent conflicts
  • User wants to check for port drift (declared vs actual ports)
  • User mentions threat intel, C2 detection, or CVE exposure on their ports
  • User wants to monitor ports across multiple nodes

Install

brew tap jchandler187/tap
brew install portkeep

Or download from https://github.com/jchandler187/portkeep/releases/latest

Commands

Command What it does
portkeep scan Discover all listening ports
portkeep scan --node NAME Scan a remote node via SSH
portkeep audit Security audit — score, C2 matches, CVEs, firewall
portkeep sync Fetch and cache threat intel (9 sources)
portkeep claim 3000 "api" Register a port as expected
portkeep claim next Find next available port
portkeep drift Declared vs actual — exits 1 on drift (cron-ready)
portkeep list List all registered claims
portkeep history Port change timeline
portkeep node add NAME --host IP Add a remote node
portkeep daemon start Background monitoring service

All commands support --json for scripting and --quiet for cron.

Threat Intel Sources

6 work out of the box (no API key):

  • CISA-KEV, EPSS, Feodo Tracker, blocklist.de, Emerging Threats, DShield/SANS

3 require a free abuse.ch Auth-Key:

  • ThreatFox, URLhaus, MalwareBazaar

Set ABUSE_CH_AUTH_KEY in environment to enable all 9.

Examples

# First run — sync threat intel, then audit
portkeep sync
portkeep audit

# Register your services
portkeep claim 22 "ssh"
portkeep claim 3000 "grafana"
portkeep claim 8080 "api"

# Check for unexpected ports (great for cron)
portkeep drift

# Add a second machine
portkeep node add prod --host 10.0.0.5 --ssh-key ~/.ssh/id_ed25519
portkeep scan --node prod
安全使用建议
Install only if you are comfortable giving these workflows access to your ClawHub repository, GitHub CLI context, Convex projects, and any configured reviewer CLIs. Review commands before writes, especially moderation actions, migrations, PR publishing, and the autoreview helper's default full-access nested Codex mode.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The artifacts cover code review, UI proof generation, ClawHub moderation, and Convex setup/migration/performance workflows. High-impact actions such as banning users, changing roles, publishing PR proof, running migrations, and invoking external review tools are aligned with those stated purposes and are disclosed.
Instruction Scope
Runtime instructions generally require explicit user targets, reasons, confirmation before moderation writes, verification afterward, and human involvement for interactive auth or deployment setup. No hidden prompt override or unrelated instruction was found.
Install Mechanism
The package consists of SKILL.md instructions, reference files, icons, OpenAI metadata, and one helper shell script. I found no install hook, auto-start mechanism, or concealed setup behavior.
Credentials
The skills expect repo, GitHub, Convex, Codex, and optional third-party reviewer access. That can expose diffs, PR metadata, screenshots, or deployment state, but the data flows are described and fit the maintainer/development use cases.
Persistence & Privilege
No daemon, cron, credential harvesting, or persistent background worker was found. The autoreview helper defaults nested Codex review to full-access sandbox bypass and moderation commands use authenticated staff APIs, so users should run them only in trusted repos and accounts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install portkeep
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /portkeep 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of PortKeep — a tool for port management and security auditing for self-hosted infrastructure. - Discover and audit all listening ports locally or on remote nodes. - Register (“claim”) expected ports to prevent conflicts and monitor drift. - Security audit features: port scoring, C2 detection, CVE exposure, firewall checks. - Integrates with 9 threat intelligence sources (6 without API key, 3 with optional Auth-Key). - Manage and monitor multiple nodes; includes history/timeline and background daemon options. - All commands support JSON output and quiet mode for scripting and cron jobs.
元数据
Slug portkeep
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

PortKeep 是什么?

Manage, secure, and monitor open ports and services across nodes with audit, claim, drift detection, threat intel, and background monitoring. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。

如何安装 PortKeep?

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

PortKeep 是免费的吗?

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

PortKeep 支持哪些平台?

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

谁开发了 PortKeep?

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

💬 留言讨论