← Back to Skills Marketplace
chandrasekar-r

Security Audit

by chandrasekar-r · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
12845
Downloads
8
Stars
0
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 this only if you want a local Clawdbot security audit. Run the report-only audit first and treat results as sensitive because they may reveal file paths and security posture. Use --fix only after reviewing backups and service expectations, because it can change permissions on .env, JSON, key, and PEM files under /root/clawd 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 stated purpose is security auditing for Clawdbot deployments, and the code performs matching checks for credentials, ports, configuration, permissions, Docker settings, Git metadata, and recent commit messages.
Instruction Scope
The normal mode is audit-only, while --fix is explicitly documented as automatic remediation; however, the documentation does not strongly warn about possible service disruption, backups, dry-run behavior, or confirmation prompts.
Install Mechanism
No dependency installation, background installer, remote download, or startup persistence mechanism is present; the script uses built-in Node modules and local system tools.
Credentials
Reading .env files, configs, code, port state, Dockerfile content, and Git information is sensitive but proportionate for a security audit, and the main scan scope is hardcoded to /root/clawd rather than arbitrary user directories.
Persistence & Privilege
There is no daemon, privilege escalation, credential export, or network exfiltration. 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 0
Active Installs 0
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 12845 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