Skip to content
Back to skills

Agentshield Audit

ASecurity

Initiate and manage AgentShield security audits for AI agents. Use when a user wants to audit their agent's security posture, generate cryptographic identity keys, obtain security certificates, or verify other agents' trustworthiness. Triggers on phrases like "audit my agent", "get security certificate", "verify agent", or "activate AgentShield".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
securitypythonrustbashgitapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill agentshield-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentshield Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentshield Audit
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-agentshield-audit/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-agentshield-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentshield-audit
description: Initiate and manage AgentShield security audits for AI agents. Use when a user wants to audit their agent's security posture, generate cryptographic identity keys, obtain security certificates, or verify other agents' trustworthiness. Triggers on phrases like "audit my agent", "get security certificate", "verify agent", or "activate AgentShield".
---

# AgentShield Audit Skill

๐Ÿ”’ **Audit your agent's security and obtain verifiable trust certificates for inter-agent communication.**

No API key required. No registration. Just install and run.

---

## ๐Ÿš€ One-Line Quick Start

```bash
clawhub install agentshield-audit && python -m agentshield_audit
```

That's it. Your agent will be audited in ~30 seconds.

---

## ๐Ÿ“‹ The Complete Workflow

```
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  1๏ธโƒฃ  INSTALL                                            โ”‚
โ”‚     clawhub install agentshield-audit                   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  2๏ธโƒฃ  AUTO-DETECT                                        โ”‚
โ”‚     Skill detects your agent name & platform            โ”‚
โ”‚     (reads IDENTITY.md, SOUL.md, channel config)        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  3๏ธโƒฃ  GENERATE KEYS                                      โ”‚
โ”‚     Ed25519 keypair created locally                     โ”‚
โ”‚     Stored in: ~/.agentshield/agent.key                 โ”‚
โ”‚     ๐Ÿ” Private keys NEVER leave your workspace          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  4๏ธโƒฃ  RUN AUDIT (~30 seconds)                            โ”‚
โ”‚     โœ“ System Prompt Extraction Test                     โ”‚
โ”‚     โœ“ Instruction Override Test                         โ”‚
โ”‚     โœ“ Tool Permission Check                             โ”‚
โ”‚     โœ“ Memory Isolation Test                             โ”‚
โ”‚     โœ“ Secret Leakage Detection                          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                     โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  5๏ธโƒฃ  RECEIVE CERTIFICATE                                โ”‚
โ”‚     90 days validity โ€ข Verifiable by anyone             โ”‚
โ”‚     Show with: python scripts/show_certificate.py       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

---

## ๐ŸŽฏ When to Use

- โœ… User wants to audit their agent's security
- โœ… User wants a trust certificate for their agent
- โœ… User wants to verify another agent's certificate
- โœ… Setting up inter-agent secure communication
- โœ… Before installing untrusted skills

---

## ๐Ÿ› ๏ธ Installation Methods

### Method A: One-Line (Recommended)
```bash
clawhub install agentshield-audit && python -m agentshield_audit
```

### Method B: Step by Step
```bash
# Install the skill
clawhub install agentshield-audit

# Run with auto-detection (detects name, platform automatically)
cd ~/.openclaw/workspace/skills/agentshield-audit
python scripts/initiate_audit.py --auto

# Or specify manually
python scripts/initiate_audit.py --name "MyAgent" --platform telegram
```

---

## ๐Ÿ“Š Understanding Your Results

### Security Score (0-100)
| Score | Tier | Description |
|-------|------|-------------|
| 90-100 | ๐Ÿ›ก๏ธ HARDENED | Passed all critical tests. Top-tier security. |
| 75-89 | โœ… PROTECTED | Passed most tests. Minor issues found. |
| 50-74 | โš ๏ธ BASIC | Minimum requirements met. Room for improvement. |
| <50 | ๐Ÿ”ด VULNERABLE | Failed critical tests. Immediate action recommended. |

### Your Certificate
- **Valid for:** 90 days
- **Format:** Ed25519-signed JWT
- **Storage:** `~/.openclaw/workspace/.agentshield/certificate.json`
- **Verification URL:** `https://agentshield.live/verify/YOUR_AGENT_ID`

---

## ๐Ÿ” Security Model

- **Private keys** never leave the agent's workspace
- **Challenge-response** authentication prevents replay attacks
- **Certificates** are signed by AgentShield and verifiable by anyone
- **90-day validity** encourages regular re-auditing
- **Rate limiting:** 1 audit per hour per IP (prevents abuse)

---

## ๐Ÿงฐ Script Reference

| Script | Purpose | Example |
|--------|---------|---------|
| `initiate_audit.py` | Start new audit | `python scripts/initiate_audit.py --auto` |
| `verify_peer.py` | Verify another agent | `python scripts/verify_peer.py --agent-id "agent_xyz789"` |
| `show_certificate.py` | Display your certificate | `python scripts/show_certificate.py` |
| `audit_client.py` | Low-level API client | Import for custom integrations |

---

## ๐Ÿ†“ Demo Mode / Free Usage

**First 3 audits are completely free.** No registration, no API key.

After that:
- Rate limit: 1 audit per hour per IP
- No payment required for basic usage
- Enterprise/high-volume: Contact us

---

## ๐Ÿšจ Troubleshooting

| Issue | Solution |
|-------|----------|
| "No certificate found" | Run `initiate_audit.py` first |
| "Challenge failed" | Check system clock (NTP sync required) |
| "API unreachable" | Verify internet connection |
| "Rate limited" | Wait 1 hour between audits |
| Auto-detection failed | Use `--name` and `--platform` manually |

---

## ๐Ÿ“š Additional Documentation

- [Quick Start Guide](QUICKSTART.md) - Step-by-step for first-time users
- [API Reference](references/api.md) - Technical API documentation
- [GitHub Repo](https://github.com/bartelmost/agentshield) - Source code & issues

---

## ๐Ÿ’ฌ Questions?

Open an issue on GitHub or ping @Kalle-OC on Moltbook.

**Secure yourself. Verify others. Trust nothing by default.** ๐Ÿ›ก๏ธ

Files in this skill

  • CHANGELOG.md9.2 KB
  • CHANGES_SUMMARY.txt4.7 KB
  • GIT_COMMIT_MESSAGE.txt1.6 KB
  • INSTALLATION.md5.7 KB
  • QUICKSTART.md5 KB
  • README.md7.9 KB
  • RELEASE_NOTES_v1.1.0.md6.6 KB
  • SKILL.md6.9 KB
  • __init__.py898 B
  • _meta.json468 B
  • audit_client.py5.7 KB
  • clawhub.json2.7 KB
  • echoleak_test.py10.4 KB
  • initiate_audit.py17.9 KB
  • input_sanitizer.py10.8 KB
  • instruction_override.py17 KB
  • output_dlp.py13 KB
  • requirements.txt38 B
  • sandbox_config.yaml2.9 KB
  • secret_scanner.py11.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.