← Back to Skills Marketplace
chandrasekar-r

Security Audit

by chandrasekar-r · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
11304
Downloads
8
Stars
136
Active Installs
1
Versions
Install in OpenClaw
/install security-audit
Description
Comprehensive security auditing for Clawdbot deployments. Scans for exposed credentials, open ports, weak configs, and vulnerabilities. Auto-fix mode included.
Usage Guidance
Install only if you want a local Clawdbot security audit. Run the normal audit first, treat reports as sensitive because they may reveal paths and security posture, and use --fix only after reviewing backups because it can change file permissions and create a .gitignore file.
Capability Analysis
Type: OpenClaw Skill Name: security-audit Version: 1.0.0 The OpenClaw AgentSkills skill bundle is designed for comprehensive security auditing of Clawdbot deployments. The `SKILL.md` instructions clearly outline its purpose and usage, including options for scanning credentials, ports, configurations, and permissions, as well as an auto-fix mode. The core script, `scripts/audit.cjs`, uses `child_process.execSync` to run system commands like `ss` or `netstat` for port scanning and `git log` for commit history, which are legitimate actions for a security audit tool. It also uses `fs` module functions to read files and scan for sensitive patterns (e.g., API keys, passwords) within the defined `CLAWDBOT_DIR` (`/root/clawd`). Crucially, while it identifies sensitive data, there is no evidence of data exfiltration to external endpoints. The auto-fix functionality (`fs.chmodSync`, `fs.writeFileSync`) is used to harden security by setting restrictive file permissions and creating a `.gitignore` file. No prompt injection attempts against the agent, obfuscation, or other malicious indicators were found; the behavior is entirely aligned with its stated security auditing purpose.
Capability Assessment
Purpose & Capability
The documented purpose is security auditing, and the script performs matching checks for credentials, ports, configuration, file permissions, Docker, Git metadata, and recent commit messages under the Clawdbot deployment path.
Instruction Scope
The default path is audit-only; the mutating behavior is behind an explicit --fix command and is described in SKILL.md, though the documentation should more clearly warn that it changes permissions and creates files.
Install Mechanism
No external dependency installation, background installer, or remote fetch behavior is present. The script uses built-in Node modules and local system tools.
Credentials
Reading .env, config, code, Docker, Git, and port information is sensitive but proportionate for a local security audit. The scan is hardcoded to /root/clawd rather than arbitrary user directories.
Persistence & Privilege
No persistence, daemon, privilege escalation, or exfiltration is shown. The optional --fix mode makes persistent local changes by chmodding sensitive files and creating /root/clawd/.gitignore.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install security-audit
  3. After installation, invoke the skill by name or use /security-audit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: credential scanning, port detection, config validation, file permissions, Docker security checks, auto-fix mode
Metadata
Slug security-audit
Version 1.0.0
License
All-time Installs 376
Active Installs 136
Total Versions 1
Frequently Asked Questions

What is Security Audit?

Comprehensive security auditing for Clawdbot deployments. Scans for exposed credentials, open ports, weak configs, and vulnerabilities. Auto-fix mode included. It is an AI Agent Skill for Claude Code / OpenClaw, with 11304 downloads so far.

How do I install Security Audit?

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

Is Security Audit free?

Yes, Security Audit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Security Audit support?

Security Audit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Security Audit?

It is built and maintained by chandrasekar-r (@chandrasekar-r); the current version is v1.0.0.

💬 Comments