← 返回 Skills 市场
AI Agent Security Audit
作者
ai-gaoqian
· GitHub ↗
· v1.0.0
· MIT-0
34
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gaoqian-ai-security-audit
功能描述
Comprehensive AI agent security auditing skill covering prompt injection detection, permission boundary analysis, malicious skill scanning, credential leak d...
使用说明 (SKILL.md)
AI Agent Security Audit
Comprehensive security auditing for AI agent deployments. Detects vulnerabilities across prompt handling, tool permissions, skill behavior, credential management, and runtime operations.
Usage
Invoke with a target agent configuration path or skill directory to scan:
audit: scan /path/to/agent/config
audit: review installed skills
audit: monitor runtime behavior for 30 minutes
Execution Flow
- Configuration Audit — Parse agent config YAML, enumerate permissions, identify over-privileged tool access
- Prompt Injection Test — Run 12 injection patterns (DAN, encoding bypass, role confusion, token smuggling) and score resilience
- Skill Scan — Analyze each installed skill's SKILL.md for suspicious patterns (eval(), shell_exec, credential references, network requests)
- Credential Hygiene — Scan workspace for hardcoded tokens, API keys, private keys in plaintext files
- Runtime Monitor — Observe agent behavior for N minutes, flag any unexpected tool calls, network connections, or file access patterns
- Generate Report — Risk score 0-100, criticality matrix, prioritized remediation steps
Output Format
# Security Audit Report
- **Audit Date**: YYYY-MM-DD HH:MM
- **Audit Scope**: [target]
- **Overall Risk Score**: 67/100 (MEDIUM)
## Critical Findings (2)
- [CRITICAL] Unrestricted shell_executor access allows arbitrary command execution
- [CRITICAL] Skill "data-export" sends data to external endpoint without user consent
## High Findings (3)
- ...
## Recommendations
1. Add allowlist for shell_executor commands
2. Sandbox "data-export" skill network calls
3. ...
Notes
- Requires read access to agent config directory and installed skills path
- Runtime monitoring requires agent process access
- All findings include file paths and line numbers for traceability
- Recommended for any production agent deployment, especially those handling user data or financial operations
安全使用建议
Install only if you want an agent to perform security review tasks. When using it, scope scans to the intended agent config, skill directory, or workspace, and treat generated reports as sensitive because they may include file paths, credential findings, and runtime behavior details.
能力评估
Purpose & Capability
The stated purpose is AI-agent security auditing, and the capabilities described in the artifact fit that purpose: configuration review, prompt-injection testing, skill scanning, credential hygiene checks, runtime observation, and report generation.
Instruction Scope
The usage examples are user-invoked with a target path or explicit runtime-monitoring duration, and the notes disclose required read access and process access.
Install Mechanism
The artifact contains only a SKILL.md file with metadata requiring Python/OpenClaw compatibility; no executable scripts, package install hooks, hidden files, or automatic setup behavior were present.
Credentials
Credential scanning and runtime monitoring can touch sensitive local information, but that access is disclosed and proportionate for a security audit skill when run against user-selected targets.
Persistence & Privilege
No persistence, privilege escalation, background service installation, deletion, mutation, exfiltration, or credential storage behavior is described or present in the artifact.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gaoqian-ai-security-audit - 安装完成后,直接呼叫该 Skill 的名称或使用
/gaoqian-ai-security-audit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the AI Agent Security Audit skill.
- Audits AI agents for prompt injection, permission boundaries, malicious or insecure skill patterns, and credential leaks.
- Monitors agent runtime behavior to flag suspicious activities such as unexpected tool or network usage.
- Generates detailed markdown audit reports with overall risk scoring, critical findings, and prioritized remediation steps.
- Designed for production agent deployments needing comprehensive security and compliance checks.
- Requires Python 3.10+ and Openclaw 0.9.0+ for execution.
元数据
常见问题
AI Agent Security Audit 是什么?
Comprehensive AI agent security auditing skill covering prompt injection detection, permission boundary analysis, malicious skill scanning, credential leak d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 34 次。
如何安装 AI Agent Security Audit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gaoqian-ai-security-audit」即可一键安装,无需额外配置。
AI Agent Security Audit 是免费的吗?
是的,AI Agent Security Audit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AI Agent Security Audit 支持哪些平台?
AI Agent Security Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AI Agent Security Audit?
由 ai-gaoqian(@ai-gaoqian)开发并维护,当前版本 v1.0.0。
推荐 Skills