跳到正文
TakoAPI
返回技能列表

aegis-audit

由 sanguineseal 提供

DevOps & Cloud
808下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Deep behavioral security audit for AI agent skills and MCP tools.

描述

该技能的功能

Aegis runs deterministic static analysis (AST parsing, Semgrep, and 15 specialized scanners) on AI agent skills and MCP tools to produce CWE-mapped, OWASP-tagged security reports with 0-100 risk scores. It generates Ed25519-signed lockfiles for tamper detection and supports optional LLM-powered intent analysis via Gemini, OpenAI, Claude, or local models. Runs fully offline by default.

Deterministic AST and Semgrep analysis with CWE/OWASP mapping produces reproducible, cryptographically signed reports that manual review or basic safety summaries cannot match.

何时使用

  • Scanning a new MCP server before adding it to Cursor
  • Generating a signed lockfile before publishing a skill
  • Running security gates in CI pipelines for skill deployments
  • Auditing a third-party plugin for secret leakage or shell injection
  • Verifying a skill's code hasn't changed since its last audit

示例工作流

输入

User asks: Is this MCP skill safe to install?

智能体
  1. 1

    Runs aegis scan ./skill-directory --no-llm on the target skill

  2. 2

    Parses AST and applies 15 specialized scanners including secret detection and shell analysis

  3. 3

    Maps findings to CWE and OWASP categories with severity tiers

  4. 4

    Assigns a 0-100 composite risk score and a persona classification

  5. 5

    Outputs a full security report to the console or as JSON for CI

输出

Security report listing scoped capabilities, flagged patterns, risk score, and a persona (e.g. 'Permission Goblin' or 'LGTM')

前置要求

  • GEMINI_API_KEY environment variable (optional, for Google Gemini LLM analysis)
  • OPENAI_API_KEY environment variable (optional, for OpenAI LLM analysis)
  • ANTHROPIC_API_KEY environment variable (optional, for Anthropic Claude LLM analysis)

安装

clawhub install sanguineseal/aegis-audit

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接