Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

aegis-audit宙斯盾审计

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

41,352

周安装

1,723

GitHub Stars

公开资料未说明

下载量

13,784
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aegis-audit(宙斯盾审计)
来源仓库:https://github.com/sanguineseal/aegis-audit
安装命令:
openclaw skills install aegis-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install aegis-audit

简介

针对 AI Agent Skill和 MCP 工具的深度行为安全审计。执行确定性静态分析(AST + Semgrep + 15 个专用扫描仪)、加密锁定文件生成和可选的 LLM 支持的意图分析。在安装、审查或批准任何技能、工具、插件或 MCP 服务器时使用 - 特别是在首次使用之前。用完整的 CWE 映射、OWASP 标记、行引用的安全报告替换基本安全摘要。

SKILL.md

name
aegis-audit
description
>
version
0.1.10
homepage
https://github.com/Aegis-Scan/aegis-scan
url
https://pypi.org/project/aegis-audit/
metadata
{"openclaw":{"emoji":"🔍","homepage":"https://github.com/Aegis-Scan/aegis-scan","requires":{"bins":["aegis"],"config":["~/.aegis/config.yaml"]},"install":[{"kind":"uv","package":"aegis-audit","bins":["aegis"]}]}}

Aegis Audit

Behavioral security scanner for AI agent skills and MCP tools.

Aegis is a defensive security auditing tool. It detects malicious patterns in other skills so users can avoid dangerous installs. This skill does not teach or enable attacks — it helps users vet skills before trusting them.

The "SSL certificate" for AI agent skills — scan, certify, and govern before you trust.

Source: github.com/Aegis-Scan/aegis-scan | Package: pypi.org/project/aegis-audit | License: AGPL-3.0


What Aegis does

Aegis answers the question every agent user should ask: *"What can this skill actually do, and should I trust it?"*

  • Deterministic static analysis — AST parsing + Semgrep + 15 specialized scanners. Same code = same report, every time.
  • Scope-resolved capabilities — Not just "accesses the filesystem" but exactly which files, URLs, hosts, and ports.
  • Risk scoring — 0-100 composite score with CWE/OWASP-mapped findings and severity tiers.
  • Cryptographic proof — Ed25519-signed lockfile with Merkle tree for tamper detection.
  • Optional LLM analysis — Bring your own key (Gemini, Claude, OpenAI, Ollama, local). Disabled by default. See the privacy notice below before enabling.

Install

Install from PyPI using pip or uv:

pip install aegis-audit
uv tool install aegis-audit

Both commands install the same package. Pin to a specific version when possible (e.g. pip install aegis-audit==1.3.0) and verify the publisher on PyPI before installing. The package source is at github.com/Aegis-Scan/aegis-scan.

After install, the aegis CLI is available on your PATH.


Quick start

Aegis runs fully offline by default. No API keys, no network access, no data leaves your machine.

aegis scan --no-llm

This scans the current directory and produces a security report. All commands default to . (current directory) when no path is given.

aegis scan ./some-skill --no-llm

CLI reference

CommandDescription
aegis scan [path]Full security scan with risk scoring
aegis lock [path]Scan + generate signed aegis.lock
aegis verify [path]Verify lockfile against current code
aegis badge [path]Generate shields.io badge markdown
aegis setupInteractive LLM configuration wizard
aegis mcp-serveStart the MCP server (stdio transport)
aegis mcp-configPrint MCP config JSON for Cursor / Claude Desktop
aegis versionShow the Aegis version

Common flags: --no-llm (skip LLM, the default), --json (CI output), -v (verbose).


Lockfiles

Generate a signed lockfile after scanning:

aegis lock

This produces aegis.lock — a cryptographically signed snapshot of the skill's security state. Commit it alongside the skill so consumers can verify nothing changed.

Verify a lockfile:

aegis verify

If any file was modified since the lockfile was created, the Merkle root will not match and verification fails.


Optional: LLM analysis

Privacy notice: LLM analysis is disabled by default. When enabled, Aegis sends scanned code to the configured third-party LLM provider (Google, OpenAI, or Anthropic). No data is transmitted unless you explicitly configure an API key and run a scan without --no-llm. Do not enable LLM mode on repositories containing secrets or sensitive code unless you trust the provider.

To enable LLM analysis, run the interactive setup:

aegis setup

This saves your config to ~/.aegis/config.yaml. Alternatively, set one of these environment variables:

  • GEMINI_API_KEY — Google Gemini
  • OPENAI_API_KEY — OpenAI
  • ANTHROPIC_API_KEY — Anthropic Claude

These environment variables are optional. Aegis works fully offline without them. Only set a key if you want the AI second-opinion feature and accept that scanned code will be sent to the corresponding provider.

For local LLM servers (Ollama, LM Studio, llama.cpp, vLLM), see aegis setup — no third-party data transmission occurs with local models.


MCP server

Aegis runs as an MCP server for Cursor, Claude Desktop, and any MCP-compatible client. Three tools are exposed: scan_skill, verify_lockfile, and list_capabilities.

Add this to your .cursor/mcp.json:

{
  "mcpServers": {
    "aegis": {
      "command": "aegis",
      "args": ["mcp-serve"]
    }
  }
}

Or generate it automatically:

aegis mcp-config

Aegis uses stdio transport — no network server needed.


What gets scanned

ScannerWhat it detects
AST Parser750+ Python function/method patterns across 15+ categories
Semgrep Rules80+ regex rules for Python, JavaScript, and secrets
Secret ScannerAPI keys, tokens, private keys, connection strings (30+ patterns)
Shell AnalyzerPipe-to-shell, reverse shells, inline exec
JS AnalyzerXSS, eval, prototype pollution, dynamic imports
Dockerfile AnalyzerPrivilege escalation, secrets in ENV/ARG, unpinned images
Config AnalyzerDangerous settings in YAML, JSON, TOML, INI
Social EngineeringMisleading filenames, Unicode tricks, trust manipulation
SteganographyHidden payloads in images, homoglyph attacks
Shadow Module DetectorStdlib-shadowing files (os.py, sys.py in the skill)
Combo AnalyzerMulti-capability attack chains (exfiltration, C2, ransomware)
Taint AnalysisSource-to-sink data flows (commands, URLs, SQL, paths)
Complexity AnalyzerCyclomatic complexity warnings for hard-to-audit functions
Skill Meta AnalyzerSKILL.md vs actual code cross-referencing
Persona ClassifierOverall trust profile (LGTM, Permission Goblin, etc.)

Vibe Check personas

Aegis assigns each scanned skill a persona based on deterministic analysis:

  • Cracked Dev — Clean code, smart patterns, minimal permissions.
  • LGTM — Permissions match the intent, scopes are sane, nothing weird.
  • Trust Me Bro — Polished on the outside, suspicious on the inside.
  • You Sure About That? — Messy code, missing pieces, docs that overpromise.
  • Co-Dependent Lover — Tiny logic, huge dependency tree. Supply chain risk.
  • Permission Goblin — Wants everything: filesystem, network, secrets.
  • Spaghetti Monster — Unreadable chaos. High complexity.
  • The Snake — Code that looks clean but is not. Potentially malicious.

JSON output for CI

aegis scan --json --no-llm
aegis scan --json --no-llm | jq '.deterministic.risk_score_static'
aegis scan --json --no-llm | jq -e '.deterministic.risk_score_static <= 50'

The JSON report contains two payloads:

  • Deterministic — Merkle tree, capabilities, findings, risk score (reproducible, signed)
  • Ephemeral — LLM analysis, risk adjustment (non-deterministic, not signed)

For skill developers

Run Aegis on your own skill before publishing:

cd ./my-skill
aegis scan --no-llm -v

Fix PROHIBITED findings. Document RESTRICTED ones. Ship with an aegis.lock:

aegis lock

See the Skill Developer Best Practices guide.


Architecture

aegis scan ./skill
    |
    +-- coordinator.py       File discovery (git-aware / directory walk)
    +-- ast_parser.py        AST analysis + pessimistic scope extraction
    +-- secret_scanner.py    30+ secret patterns
    +-- shell_analyzer.py    Dangerous shell patterns
    +-- js_analyzer.py       JS/TS vulnerability patterns
    +-- config_analyzer.py   YAML/JSON/TOML/INI risky settings
    +-- combo_analyzer.py    Multi-capability attack chains
    +-- taint_analyzer.py    Source-to-sink data flow tracking
    +-- binary_detector.py   External binary classification
    +-- social_eng_scanner   Social engineering detection
    +-- stego_scanner        Steganography + homoglyphs
    +-- hasher.py            Lazy Merkle tree
    +-- signer.py            Ed25519 signing
    +-- rule_engine.py       Policy evaluation
    +-- reporter/            JSON + Rich console output
         |
         v
    aegis_report.json + aegis.lock

License

Aegis is dual-licensed:

  • Open Source: AGPL-3.0 — free to use, modify, and distribute. Network service deployments must release source.
  • Commercial: Proprietary license available for embedding in proprietary products, running without source disclosure, SLAs, and support.

See LICENSING.md for full details.


Contributing

Contributions welcome. By contributing, you agree to the Contributor License Agreement.

cd aegis-core
pip install -e ".[dev]"
pytest

Python 3.11+ required. No network access needed for deterministic scans. Works offline.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.12%
按下载量换算10,906

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills