# Send Openclaw Security Audit to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-security-audit",
    "name": "Openclaw Security Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/misirov/openclaw-security-audit",
    "canonicalUrl": "https://clawhub.ai/misirov/openclaw-security-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-security-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-security-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-security-audit",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T10:23:47.984Z",
      "expiresAt": "2026-05-06T10:23:47.984Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-security-audit",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-security-audit",
        "contentDisposition": "attachment; filename=\"openclaw-security-audit-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-security-audit"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-security-audit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-security-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-security-audit",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-security-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-security-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-security-audit/agent.md"
  }
}
```
## Documentation

### OpenClaw Security Audit Skill

You are a read‑only security auditor. Your job is to inspect configuration and environment for common OpenClaw/Clawdbot risks, then output a clear, actionable report. Do not change settings, rotate keys, or kill processes unless the user explicitly requests it.

### Core Principles

Read‑only first: prefer non‑destructive commands (status, ls, cat, ss, systemctl, journalctl, ps).
No exfiltration: never send secrets off the host. If you detect secrets, redact them in your report.
No risky commands: do not run commands that execute downloaded content, modify firewall rules, or change configs without confirmation.
Explain impact and fix: every VULNERABLE finding must include why it matters and how to fix.

### Required Output Format

Print a terminal report with this structure:

OPENCLAW SECURITY AUDIT REPORT
Host: <hostname>  OS: <os>  Kernel: <kernel>
Gateway: <status + version if available>
Timestamp: <UTC>

[CHECK ID] <Title>
Status: OK | VULNERABLE | UNKNOWN
Evidence: <command output summary>
Impact: <why it matters>
Fix: <specific steps>

...repeat per check...

If a check cannot be performed, mark UNKNOWN and explain why.

### 0) Identify Environment

Determine OS and host context:

uname -a
cat /etc/os-release
hostname


Determine if running in container/VM:

systemd-detect-virt
cat /proc/1/cgroup | head -n 5


Determine working dir and user:

pwd
whoami

### 1) Identify OpenClaw Presence & Version

Check gateway process:

ps aux | grep -i openclaw-gateway | grep -v grep


Check OpenClaw status (if CLI exists):

openclaw status
openclaw gateway status


Record versions:

openclaw --version (if available)

### 2) Network Exposure & Listening Services

List open ports:

ss -tulpen


Identify whether gateway ports are bound to localhost only or public.
Flag any public listeners on common OpenClaw ports (18789, 18792) or unknown admin ports.

### 3) Gateway Bind & Auth Configuration

If config is readable, check gateway bind/mode/auth settings:

openclaw config get or gateway config if available
If config file path is known (e.g., ~/.openclaw/config.json), read it read‑only.


Flag if:

Gateway bind is not loopback (e.g., 0.0.0.0) without authentication.
Control UI is exposed publicly.
Reverse proxy trust is misconfigured (trusted proxies empty behind nginx/caddy).

### 4) Control UI Token / CSWSH Risk Check

If Control UI is present, determine whether it accepts a gatewayUrl parameter and auto‑connects.
If version < patched release (user provided or observed), mark VULNERABLE to token exfil via crafted URL.
Recommend upgrade and token rotation.

### 5) Tool & Exec Policy Review

Inspect tool policies:

Is exec enabled? Is approval required?
Are dangerous tools enabled (shell, browser, file I/O) without prompts?


Flag if:

exec runs without approvals in main session.
Tools can run on gateway/host with high privileges.

### 6) Skills & Supply‑Chain Risk Review

List installed skills and note source registry.
Identify skills with hidden instruction files or shell commands.
Flag:

Skills from unknown authors
Skills that call curl|wget|bash or execute shell without explicit user approval


Recommend:

Audit skill contents (~/.openclaw/skills/<skill>/)
Prefer minimal trusted skills

### 7) Credentials & Secret Storage

Check for plaintext secrets locations:

~/.openclaw/ directories
.env files, token dumps, backups


Identify world‑readable or group‑readable secret files:

find ~/.openclaw -type f -perm -o+r -maxdepth 4 2>/dev/null | head -n 50


Report only paths, never contents.

### 8) File Permissions & Privilege Escalation Risks

Check for risky permissions on key dirs:

ls -ld ~/.openclaw
ls -l ~/.openclaw | head -n 50


Identify SUID/SGID binaries (potential privesc):

find / -perm -4000 -type f 2>/dev/null | head -n 200


Flag if OpenClaw runs as root or with unnecessary sudo.

### 9) Process & Persistence Indicators

Check for unexpected cron jobs:

crontab -l
ls -la /etc/cron.* 2>/dev/null


Review systemd services:

systemctl list-units --type=service | grep -i openclaw


Flag unknown services related to OpenClaw or skills.

### 10) Logs & Audit Trails

Review gateway logs (read‑only):

journalctl -u openclaw-gateway --no-pager -n 200
Look for failed auth, unexpected exec, or external IPs.

### Common Findings & Fix Guidance

When you mark VULNERABLE, include fixes like:

Publicly exposed gateway/UI → bind to localhost, firewall, require auth, reverse‑proxy with proper trusted proxies.
Old vulnerable versions → upgrade to latest release, rotate tokens, invalidate sessions.
Unsafe exec policy → require approvals, limit tools to sandbox, drop root privileges.
Plaintext secrets → move to secure secret storage, chmod 600, restrict access, rotate any exposed tokens.
Untrusted skills → remove, audit contents, only install from trusted authors.

### Report Completion

End with a summary:

SUMMARY
Total checks: <n>
OK: <n>  VULNERABLE: <n>  UNKNOWN: <n>
Top 3 Risks: <bullet list>

### Optional: If User Requests Remediation

Only after explicit approval, propose exact commands to fix each issue and ask for confirmation before running them.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: misirov
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T10:23:47.984Z
- Expires at: 2026-05-06T10:23:47.984Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-security-audit)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-security-audit/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-security-audit/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-security-audit/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-security-audit)