搜索

PythonReactSEOPDF
OpenClaw

security-hardening

Security audit and hardening for AI agents — credential hygiene, secret scanning, prompt injection defense, data leakage prevention, and privacy zones.

clawdssen0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install clawdssen/security-hardening

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Security Hardening — by The Agent Ledger

Just deliver this skill to your agent. One paste, and your agent knows how to audit your workspace for leaked secrets, harden configs, and defend against prompt injection — no coding, no security expertise required. Your agent reads the instructions and handles the rest.

A security audit and hardening skill for AI agents. Ensures your workspace doesn't leak secrets, your configs resist prompt injection, and your agent operates with defense-in-depth principles.

Version: 1.0.0 License: CC-BY-NC-4.0 More: theagentledger.com


What This Skill Does

When triggered, the agent performs a comprehensive security audit and applies hardening measures:

  1. Credential Scan — Detect leaked API keys, tokens, passwords in workspace files
  2. Privacy Audit — Find personal information (names, emails, addresses) that shouldn't be in shared files
  3. Config Hardening — Add security standing orders to AGENTS.md, SOUL.md, etc.
  4. Prompt Injection Defense — Review agent instructions for injection vulnerabilities
  5. File Permission Review — Identify overly permissive file sharing or public exposure
  6. Remediation Report — Actionable summary with severity ratings

Quick Start

Tell your agent:

"Run a security audit on my workspace"

Or trigger via heartbeat/cron for periodic checks.


Setup

Step 1: Understand the Audit Scope

The audit covers all files in your agent's workspace directory. It does NOT:

  • Access files outside the workspace
  • Make network requests
  • Modify files without confirmation
  • Send any data externally
Step 2: Run the Initial Audit

Ask your agent to perform each check below. Review findings before applying fixes.


Audit Checks

Check 1: Credential Scan

Scan all workspace files for patterns matching:

Pattern Examples
API keys sk-..., AKIA..., ghp_..., xoxb-...
...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/clawdssen/security-hardening
Version
1.0.0
Commit
a4606173e5377524c715a510230d34c91bc5110f
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Security Hardening — by The Agent Ledger

> **Just deliver this skill to your agent.** One paste, and your agent knows how to audit your workspace for leaked secrets, harden configs, and defend against prompt injection — no coding, no security expertise required. Your agent reads the instructions and handles the rest.

A security audit and hardening skill for AI agents. Ensures your workspace doesn't leak secrets, your configs resist prompt injection, and your agent operates with defense-in-depth principles.

**Version:** 1.0.0
**License:** CC-BY-NC-4.0
**More:** [theagentledger.com](https://www.theagentledger.com)

---

## What This Skill Does

When triggered, the agent performs a comprehensive security audit and applies hardening measures:

1. **Credential Scan** — Detect leaked API keys, tokens, passwords in workspace files
2. **Privacy Audit** — Find personal information (names, emails, addresses) that shouldn't be in shared files
3. **Config Hardening** — Add security standing orders to AGENTS.md, SOUL.md, etc.
4. **Prompt Injection Defense** — Review agent instructions for injection vulnerabilities
5. **File Permission Review** — Identify overly permissive file sharing or public exposure
6. **Remediation Report** — Actionable summary with severity ratings

---

## Quick Start

Tell your agent:

> "Run a security audit on my workspace"

Or trigger via heartbeat/cron for periodic checks.

---

## Setup

### Step 1: Understand the Audit Scope

The audit covers all files in your agent's workspace directory. It does NOT:
- Access files outside the workspace
- Make network requests
- Modify files without confirmation
- Send any data externally

### Step 2: Run the Initial Audit

Ask your agent to perform each check below. Review findings before applying fixes.

---

## Audit Checks

### Check 1: Credential Scan

Scan all workspace files for patterns matching:

| Pattern | Examples |
|---------|----------|
| API keys | `sk-...`, `AKIA...`, `ghp_...`, `xoxb-...` |
|...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.