Install
openclaw skills install portable-deployment-auditRead-only security auditing for OpenClaw deployments, repositories, and local project directories. Scan an explicit target directory for exposed credentials, risky configuration, explicit port exposure hints, Dockerfile and compose issues, Git exposure, and Unix permission problems. Uses file inspection only. Use when reviewing a deployment, server checkout, workspace, or repo before release, after setup, during periodic hardening checks, or in CI.
openclaw skills install portable-deployment-auditRun a read-only security review against a chosen directory.
--target <dir> when auditing something other than the current directory.--format json for machine-readable output; stdout will contain pure JSON only.--strict when you want a non-zero exit on HIGH findings in CI.--exclude-dir to skip bulky or irrelevant directories in mixed repos.--allow-port to suppress expected configured/published ports in local or staged environments.git, ss, or netstat.node skills/portable-deployment-audit/scripts/audit.cjs --target .
node skills/portable-deployment-audit/scripts/audit.cjs --target /path/to/project
node skills/portable-deployment-audit/scripts/audit.cjs --target . --format json > audit-report.json
node skills/portable-deployment-audit/scripts/audit.cjs --target . --format json --strict
node skills/portable-deployment-audit/scripts/audit.cjs --target . --exclude-dir vendor,tmp --allow-port 3000,8080
node skills/portable-deployment-audit/scripts/audit.cjs --target . --check credentials,configs
node skills/portable-deployment-audit/scripts/audit.cjs --target . --ports
node skills/portable-deployment-audit/scripts/audit.cjs --target . --docker
credentials: scan env/config/code files for likely secrets and hardcoded credentialsports: inspect explicit port exposure hints from config and compose files, respect --allow-port, and warn more strongly on commonly exposed service portsconfigs: flag risky debug logging, wildcard CORS, and obvious placeholder/default secretspermissions: inspect Unix mode bits on sensitive files; Windows reports limitations instead of guessingdocker: inspect Dockerfile and compose files for root/privileged runtime, host networking, published ports, missing HEALTHCHECK, and floating tagsgit: flag repository exposure indicators such as exposed .git directories and missing .gitignore--fix is intentionally disabled in this version.--format json and parse the structured report.