Search

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 source installs☆ 0 Repository starsv1.0.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install clawdssen/security-hardening

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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 information

Source
github
Repository
openclaw/skills
Path
skills/clawdssen/security-hardening
Version
1.0.0
Commit
a4606173e5377524c715a510230d34c91bc5110f
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

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-...` |
|...

Related skills

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.