一键导入
secret-audit
Full credential security audit across local repo and VPS. Triggers: "audit secrets", "check credentials", "are my keys safe", "security check".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Full credential security audit across local repo and VPS. Triggers: "audit secrets", "check credentials", "are my keys safe", "security check".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Create backups before changes and restore if things go wrong. Triggers: "backup", "restore", "undo", "go back", "roll back", "save point".
Explain any command, concept, or log entry in plain English with a risk rating. Triggers: "what does this do", "explain", "what is", "what happened here", "what does this mean".
Full system health report in plain English with traffic-light ratings. Triggers: "is it working", "health check", "full status", "how's the system".
Guided secret rotation with validation. Never revoke old key before new one is verified. Triggers: "rotate key", "change API key", "new token", "credential expired", "401 error".
Guided deployment with pre-flight, explain, confirm, execute, verify. Triggers: "deploy", "push changes", "update the agent", "update workspace files". NEVER skip phases. NEVER auto-execute.
Step-by-step troubleshooting when something is broken. Triggers: "it's broken", "not working", "error", "help", "something wrong", "agent down".
基于 SOC 职业分类
| name | secret-audit |
| description | Full credential security audit across local repo and VPS. Triggers: "audit secrets", "check credentials", "are my keys safe", "security check". |
MANDATORY: Follow all phases. Produce a traffic-light report at the end.
cd /Users/javeriaabdulsami/Projects/Content/ai60/kurk-org && \
git ls-files | xargs grep -l -i -E '(sk-ant|ghp_|xoxb-|shpat_|Bearer [a-zA-Z0-9])'
Exclude: .env.example files, documentation references, this companion project.github/workflows/*gitleaks*git ls-files '*.env' should return nothingRequires SSH. All commands are read-only (GREEN).
Check .env permissions:
ssh -i ~/.ssh/id_ed25519_github root@72.62.213.231 "stat -c '%a' ~/.openclaw/.env"
Must be 600. Anything else is RED.
Check config permissions:
ssh -i ~/.ssh/id_ed25519_github root@72.62.213.231 "stat -c '%a' ~/.openclaw/openclaw.json"
Must be 444. Anything else is YELLOW.
Check for world-readable credential files:
ssh -i ~/.ssh/id_ed25519_github root@72.62.213.231 \
"find ~/.openclaw/ -name '*.json' -perm -o+r -not -name 'openclaw.json' 2>/dev/null"
Check for .env backup copies with wrong permissions:
ssh -i ~/.ssh/id_ed25519_github root@72.62.213.231 \
"find ~/.openclaw/ -name '.env*' -not -name '.env' -exec stat -c '%n %a' {} \;"
docs/CREDENTIAL-ROTATION.md exists in kurk-orgDispatch the secret-auditor agent and present findings using its traffic-light format.
Summary rules:
chmod 600 ~/.openclaw/.env