Skip to content
项目

slowmist/slowmist-agent-security

在 GitHub 查看

关于

SlowMist Agent Security Skill:面向在对抗性环境中运行的 AI 智能体的综合安全审查框架。核心原则:所有外部输入在经过验证前都不可信。

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

SlowMist Agent Security Skill 🛡️

A comprehensive security review framework for AI agents operating in adversarial environments.

Core principle: Every external input is untrusted until verified.

Overview

This skill provides a structured security review framework applicable to OpenClaw, Hermes Agent, and other LLM-based agent systems, covering:

  • Skill/MCP Installation — Detect malicious patterns before installation
  • GitHub Repository Review — Audit codebases for security issues
  • URL/Document Analysis — Scan for prompt injection and social engineering
  • On-Chain Address Review — AML risk assessment and transaction analysis
  • Product/Service Evaluation — Architecture and permission analysis
  • Social Share Review — Validate tools recommended in chats

Installation

The installation example below uses OpenClaw for demonstration. In practice, you can simply hand the repository URL to your agent and let it handle the installation — it's that easy.

Option 1: Direct Download

Download the latest release and extract to your OpenClaw workspace:

cd ~/.openclaw/workspace/skills
git clone https://github.com/slowmist/slowmist-agent-security.git

Option 2: ClawHub (when available)

clawhub install slowmist-agent-security

Quick Start

Once installed, the agent will automatically reference this framework when encountering:

  • Skill/MCP installation requests
  • Unknown GitHub repositories
  • External URLs or documents
  • Blockchain addresses
  • Product/service recommendations

Framework Structure

slowmist-agent-security/
├── SKILL.md                    # Main framework documentation
├── README.md                   # This file
├── _meta.json                  # ClawHub metadata
├── reviews/
│   ├── skill-mcp.md           # Skill/MCP review guide
│   ├── repository.md          # GitHub repo review guide
│   ├── url-document.md        # URL/document review guide
│   ├── onchain.md             # On-chain address review guide
│   ├── product-service.md     # Product/service review guide
│   └── message-share.md       # Social share review guide
├── patterns/
│   ├── red-flags.md           # Code-level dangerous patterns (11 categories)
│   ├── social-engineering.md  # Social engineering patterns (8 categories)
│   └── supply-chain.md        # Supply chain attack patterns (7 categories)
└── templates/
    ├── report-skill.md        # Skill assessment report template
    ├── report-repo.md         # Repository assessment report template
    ├── report-url.md          # URL/document assessment report template
    ├── report-onchain.md      # On-chain assessment report template
    └── report-product.md      # Product/service assessment report template

Risk Rating System

Level Meaning Agent Action
🟢 LOW Information-only, no execution, no data collection, trusted source Inform user, proceed if requested
🟡 MEDIUM Limited capability, clear scope, known source, some risk Full report with risk items, recommend caution
🔴 HIGH Involves credentials, funds, system modification, unknown source Detailed report, must have human approval
⛔ REJECT Matches red-flag patterns, confirmed malicious, unacceptable design Refuse to proceed, explain why

Trust Hierarchy

Tier Source Type Scrutiny Level
1 Official project/exchange org Moderate
2 Known security teams/researchers Moderate
3 ClawHub high-download + multi-version Moderate-High
4 GitHub high-star + actively maintained High — verify code
5 Unknown source, new account Maximum scrutiny

Optional Integration

Usage Examples

Example 1: Skill Review

When a user asks to install a skill:

  1. Reference reviews/skill-mcp.md
  2. Scan files using patterns/red-flags.md
  3. Output report using templates/report-skill.md

Example 2: On-Chain Address Review

When a user provides a blockchain address:

  1. Validate address format
  2. Query AML risk data (via available tools)
  3. Output report using templates/report-onchain.md

Contributing

This framework is maintained by SlowMist. Contributions welcome:

  • New attack patterns
  • Improved detection rules
  • Additional review templates

Credits

License

MIT License — Free to use, modify, and distribute.


Security is not a feature — it's a prerequisite. 🛡️

SlowMist · https://slowmist.com

探索相关项目

加载中…