← Back to Skills Marketplace
Security Audit
by
chandrasekar-r
· GitHub ↗
· v1.0.0
13225
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
Review this skill before installing. Use it only in an environment where reading Clawdbot secrets and project files under /root/clawd is acceptable, and avoid running --fix as root or on production systems unless you have backups and are prepared for recursive permission changes to JSON, env, key, and PEM files.
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
Credentials
Reading deployment secrets is coherent for a security audit, but the hardcoded root deployment directory and recursive scanning are overbroad for users who may have unrelated projects or credentials under the same tree.
Install Mechanism
The artifact contains a markdown skill file and one local Node.js script, with no external dependency installation, remote payload retrieval, or install-time execution found.
Instruction Scope
The instructions disclose credential scans and auto-fix mode, but they do not clearly warn that --fix recursively chmods all .env, .json, .key, and .pem files under /root/clawd or provide target scoping, dry-run, confirmation, or rollback guidance.
Persistence & Privilege
No daemon, scheduled task, or backdoor persistence was found, but --fix makes lasting permission changes and writes a .gitignore under /root/clawd without confirmation or rollback metadata.
Purpose & Capability
Credential scanning, port checks, config checks, Docker checks, and permission checks fit the stated security-audit purpose, but the implementation uses hardcoded /root/clawd paths and can inspect sensitive .env/config files and recursively process many project files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install security-audit - After installation, invoke the skill by name or use
/security-audit - Provide required inputs per the skill's parameter spec and get structured output
Changelog
Initial release: credential scanning, port detection, config validation, file permissions, Docker security checks, auto-fix mode
Metadata
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 13225 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.
More Skills