Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

oc-security-hardener

bởi mariusfit

Coding Agents & IDEs
451Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Audit and harden OpenClaw configuration for security.

Mô tả

Kỹ năng này làm gì

Audits and hardens OpenClaw configuration files for security issues. Scans openclaw.json for exposed credentials, insecure gateway settings, overly permissive exec rules, and missing best practices. Produces a scored report and can auto-fix issues with a backup.

Combines detection and remediation in one tool, so issues found during audit can be fixed immediately without manually editing config files.

Khi nào nên dùng

  • Auditing an OpenClaw deployment before moving to production
  • Finding API keys accidentally committed to openclaw.json
  • Tightening exec sandbox permissions on a shared machine
  • Generating a security report for a team review
  • Fixing file permission issues on config files

Quy trình ví dụ

ĐẦU VÀO

User asks: audit my OpenClaw config and fix any issues

AGENT
  1. 1

    Runs python scripts/hardener.py audit against openclaw.json

  2. 2

    Identifies critical issues: exposed API keys and insecure file permissions

  3. 3

    Creates a backup of the current config

  4. 4

    Runs python scripts/hardener.py fix to auto-remediate detected issues

  5. 5

    Generates a security report with python scripts/hardener.py report

ĐẦU RA

Security score raised from 55/100 to 88/100, exposed keys moved to .env, file permissions corrected to 600, report saved to security-report.md

Cài đặt

clawhub install mariusfit/oc-security-hardener

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết