OO

opena2a-org/hackmyagent

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

89 stars 16 forks 品質 85 トレンド 36Apache-2.0

AIエージェントのメタスプライト:AIエージェントとMCPサーバーのスキャン、攻撃、修正 オープンソースのセキュリティツールキット.

概要

: CLI・HackMyAgent・シークレットレス・AIM・ブラウザガード・DVAA AIエージェントのセキュリティスキャナー、赤いチームツールキット、および行動シミュレータ。 Apache 2.0 の 設定ファイルがありません。 フラグは必要ありません。 重要な火災や高い火災が起きた場合、コード1を終了します。 - (ナノマインド・セマンティック層を含む88のカテゴリにわたって363チェック)。 クレデンシャル、MCPコンフィグ、OpenClawとNemoClaw、Unicodeのsteganography、CVE、ガバナンス、サプライチェーン、メモリ、RAG中毒、エージェントアイデンティティ、サンドボックスエスケープ。 ライブリストのハッキングマイゼンチェックメタデータを実行します。 - すべてのアーティファクト(スキル、MCPコンフィグ、SOUL.md、システムプロンプト)は、抽象的なセキュリティツリーにコンパイルします。 7つのASTのアナライザはツリーに対して実行します:機能、クレデンシャル、ガバナンス、スコープ、プロンプト、コード、ステゴ。 パターンマッチングは、決定できない機能、制約の弱さ、スコープの不一致、およびスキャナ回避の試みを欠きます。 AST クエリはそれらをキャッチします。 (この29は、セマンティックチェックの固定カタログです。) スキャン出力のチェックラインなど.

概要(AI 翻訳)

OpenA2A:CL・HackMyAgent・Secretless・AIM・ブラウザガード・DVAA

ウェブサイト・デモ・レコーディング

AIエージェントのセキュリティスキャナー マシン上でシャドウAIを見つけます, エージェントのプロジェクトをスキャンし、資格情報のためのパッケージ, 危険なMCPの設定, 迅速な注射と弱いガバナンス, 攻撃ペイロードでエージェントをテスト.

クイックスタート

プロジェクトのスキャン:

設定ファイルやフラグは必要ありません。[[...]]]は省略された行をマークします。 完全な出力、サンプルワークスペースとそれを生成したビルドは、docs/quick-start-capture.txt にあります。 実行出口1は、重要なか、高い発見が発射されるためです。

チェックしたいのは?

-** npx hackmyagent secure を出荷する前に、私自身のプロジェクト。 次: npx hackmyagent secure --fix.

  • パッケージ、リポジトリ、スキル、インストール前: [npx hackmyagent check ]。 次に、ローカルコピーの場合: [npx hackmyagent secure --fix]。
  • あなたが所有するランニングエージェントエンドポイント: [npx hackmyagent attack ]。 次に、すべてのペイロードで[npx hackmyagent attack --intensity aggressive]。
  • プルボディのリクエスト ボディ:** npx hackmyagent scan-text などの 1 つのテキスト。 次にパイプラインで: [npx hackmyagent scan-text - --as pr-body --json].

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

HackMyAgent

OpenA2A: CLI · HackMyAgent · Secretless · AIM · Browser Guard · DVAA

Website · Demos · Discord

Security scanner for AI agents. It finds the shadow AI on a machine, scans agent projects and packages for credentials, risky MCP configs, prompt injection and weak governance, and tests agents with attack payloads.

Quick start

Scan the project you are in:

npx hackmyagent secure
  support-agent  v1.0.0 · library · 5 files analyzed
  [...]
  ── Observations ────────────────────────────────────────────
  Surfaces    library · 5 semantic artifacts · all 5 artifacts reached 0-6 of 7 analyzer families
  Checks      261 static declared · 63 of 63 check groups ran · 5 semantic (NanoMind AST, 0-6 of 7 analyzer families) · 5 files read by static checks
  [...]
  ── Findings ────────────────────────────────────────────────
  [...]
  │ CRITICAL  Overprivileged MCP server scope
  │ .mcp.json:5
  │ Overprivileged filesystem access allows the agent (or an attacker via prompt injection) to read sensitive files like SSH keys, credentials, and system configs.
  │ Verify: sed -n '5p' /home/dev/workspace/support-agent/.mcp.json
  │ Fix: Scope "filesystem" to the project directory: replace "/" with "./" or a specific subdirectory.
  [...]
  Path forward: 53 -> 92 by fixing 1 critical + 3 high

No config file or flag is needed. [...] marks omitted lines. The full output, the sample workspace and the build that produced it are in docs/quick-start-capture.txt. The run exits 1 because a critical or high finding fired.

What do you want to check?

  • My own project, before I ship it: npx hackmyagent secure. Next: npx hackmyagent secure --fix.
  • A package, repository or skill, before I install it: npx hackmyagent check . Next, for a local copy: npx hackmyagent secure --fix.
  • A running agent endpoint you own: npx hackmyagent attack . Next, with every payload: npx hackmyagent attack --intensity aggressive.
GitHub で README 全文を見る

インストール

npx hackmyagent secure
MCP 初心者?mcpskill.org のガイドから始めましょう →