AGENT SKILL

openclaw-egress-pro

Full network DLP suite: detect outbound URLs, data exfiltration patterns, and suspicious network calls, then automatically block connections, quarantine compromised skills, and enforce domain allowlists. Everything in openclaw-egress (free) plus automated countermeasures.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
openclaw-egress-pro
metadata
{ "openclaw": { "os": [ "darwin", "linux", "win32" ], "emoji": "?", "requires": { "bins": [ "python3" ] } } }
description
Full network DLP suite: detect outbound URLs, data exfiltration patterns, and suspicious network calls, then automatically block connections, quarantine compromised skills, and enforce domain allowlists. Everything in openclaw-egress (free) plus automated countermeasures.
user-invocable
true

02 资源文件 4

03 SKILL.md 正文

OpenClaw Egress Pro

Full network DLP suite for agent workspaces. Detects outbound URLs, data exfiltration patterns, and suspicious network calls, then automatically blocks connections, quarantines compromised skills, and enforces domain allowlists.

Philosophy: alert -> subvert -> quarantine -> defend.

Everything in openclaw-egress (free) plus automated countermeasures.

The Problem

Skills can phone home. A compromised skill can POST your workspace contents, API keys, or conversation history to an external server. Detection alone isn't enough — you need the ability to neutralize threats automatically.

Commands

Full Scan

Scan workspace for all outbound network risks.

python3 {baseDir}/scripts/egress.py scan --workspace /path/to/workspace

Skills-Only Scan

python3 {baseDir}/scripts/egress.py scan --skills-only --workspace /path/to/workspace

Domain Map

List all external domains referenced in workspace.

python3 {baseDir}/scripts/egress.py domains --workspace /path/to/workspace

Quick Status

python3 {baseDir}/scripts/egress.py status --workspace /path/to/workspace

Pro Countermeasures

Block Network Calls

Neutralize suspicious network calls in a skill by commenting them out. Targets CRITICAL and HIGH findings only. Creates .bak backup of each modified file.

python3 {baseDir}/scripts/egress.py block <skill-name> --workspace /path/to/workspace
  • Comments out lines containing network calls with # [BLOCKED by openclaw-egress-pro]
  • Creates .bak backup before modifying any file
  • Only modifies code files (.py, .js, .ts, .sh, .bash)
  • Flags non-code files for manual review

Quarantine Skill

Disable a skill with exfiltration indicators by renaming it so OpenClaw won't load it.

python3 {baseDir}/scripts/egress.py quarantine <skill-name> --workspace /path/to/workspace

Unquarantine Skill

Restore a previously quarantined skill.

python3 {baseDir}/scripts/egress.py unquarantine <skill-name> --workspace /path/to/workspace

Domain Allowlist

Manage a custom domain allowlist. Domains on this list won't be flagged during scans. Built-in safe domains always apply.

# Show current allowlist (built-in + custom)
python3 {baseDir}/scripts/egress.py allowlist --workspace /path/to/workspace

# Add a domain
python3 {baseDir}/scripts/egress.py allowlist --add api.mycompany.com --workspace /path/to/workspace

# Remove a domain
python3 {baseDir}/scripts/egress.py allowlist --remove api.mycompany.com --workspace /path/to/workspace

Custom allowlist is stored in .egress-allowlist.json in the workspace root.

Protect (Full Sweep)

Automated protection sweep: scans all skills, auto-quarantines any with CRITICAL exfiltration indicators, blocks HIGH network calls, and reports results. Recommended for session startup.

python3 {baseDir}/scripts/egress.py protect --workspace /path/to/workspace

Actions taken by protect:

  1. Scan all active (non-quarantined) skills
  2. CRITICAL findings -> quarantine the entire skill
  3. HIGH findings -> block (comment out) network call lines
  4. Report all actions taken with next steps

What It Detects

Risk Pattern
CRITICAL Base64/hex payloads in URLs, pastebin/sharing services, request catchers, dynamic DNS
HIGH Network function calls (requests, urllib, curl, wget, fetch), webhook/callback URLs
WARNING Suspicious TLDs (.xyz, .tk, .ml), URL shorteners, IP address endpoints
INFO Any external URL not on the safe domain list or custom allowlist

Exit Codes

  • 0 — Clean (or action completed successfully)
  • 1 — Warnings / network calls detected (review needed)
  • 2 — Critical exfiltration risk detected (action needed)

No External Dependencies

Python standard library only. No pip install. No network calls. Everything runs locally.

Cross-Platform

Works with OpenClaw, Claude Code, Cursor, and any tool using the Agent Skills specification.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1