
google/mantis
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIコーディングエージェントが自律的に脆弱性を見つけ、再現し、パッチを当てるための、モジュール式でスタックに依存しないセキュリティレビュースキルのツールキットです。
概要
このスイートは、不安定または予期せぬ動作を行う可能性のある自律生成コードの生成および実行を目的としています。本番システム、機密データ、内部ネットワークにアクセスできるマシン上でこのスイートを実行しないでください。必須のハードニング要件については「無人向けクラウド展開」セクションをご覧ください。 AIモデルは非決定論的であり、発見を幻覚的に見せたり誤ったパッチを生成したりすることがあります。未検証のAI生成レポートをオープンソースの管理者に大量送信しないでください。脆弱性を自動的に再現できなかったからといって、それが間違いなく偽陽性であることを意味するわけではなく、成功した再現者がすべての文脈でバグを悪用可能だと保証するわけではありません。これらのスキルを責任を持って活用してください。 Mantisは、コーディングエージェントと共に使用するために設計された、分離された順序的かつセキュリティ重視のスキルセットです。厳格な命令セットではなく、出発点として意図されています。
概要(AI 翻訳)
[!注意] 使用は自己責任でお願いします。非常に注意してください。 このスイートは 自律的に生成されたコードを生成し実行するよう設計されています。 不安定だったり、予期せぬ行動をとる。これは単独でのみ使用してください。 制限された環境。 このスイートは、 本番システム、機密データ、内部ネットワークなどです。
[!重要] 責任ある使用 AIモデルは非決定的であり、 幻覚を生んだり、誤ったパッチを作成したりします。すべての所見は 報告前にセキュリティ専門家による手動検証が必要です。 絶対にしないでください 未検証のAI生成レポートをオープンソースの管理者に大量に提出します。A 脆弱性を自動的に再現できない>が、必ずしも それが偽陽性であり、成功した再現者が必ずしもバグがそうだと保証するわけではありません あらゆる文脈で悪用可能です。Mantisは責任を持って使いましょう。
[!警告] プルリクエストスキャンは未検証です。 GitHubのアクション
action/、mantis-pr-scanおよびmantis-knowledge-refreshのワークフローは以下の通りです.github/workflows/およびreference/scripts/setup_github_action.shは スタブに対してレビューと演習が行われましたが、まだエンドツーエンドの実行は行われていません
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Mantis: Portable Toolkit for Building Secure Software
[!CAUTION] USE AT YOUR OWN RISK. BE EXTREMELY CAREFUL. This suite is designed to generate and execute autonomously generated code that may be unstable or perform unexpected actions. USE THIS ONLY IN ISOLATED, RESTRICTED ENVIRONMENTS. Never run this suite on a machine with access to production systems, sensitive data, or internal networks.
[!IMPORTANT] RESPONSIBLE USE AI models are non-deterministic and can hallucinate findings or generate incorrect patches. All findings must be manually verified by a security expert before being reported. Do not mass-file unverified, AI-generated reports to open-source maintainers. A failure to automatically reproduce a vulnerability does not definitively mean it is a false positive, nor does a successful reproducer guarantee the bug is exploitable in all contexts. Use Mantis responsibly.
[!WARNING] The pull request scan is untested. The GitHub Action in
action/, themantis-pr-scanandmantis-knowledge-refreshworkflows under.github/workflows/, andreference/scripts/setup_github_action.shhave been reviewed and exercised against stubs, but have not yet been run end-to-end against a live project. Do not use the action to gate merges. The status note at the top of reference/docs/github-action.md lists what execution has not verified and will be removed when it has.
Mantis is a set of skills along with an ADK reference harness for building secure software in the new AI era of software development.
skills/– the method: the skills an agent loads on demand, from threat modelling through research, review, patching and reporting.reference/– an ADK harness that runs the method as a pipeline, with its own two skills to configure and launch it. Meant to be adapted; works as is.action/– a GitHub Action that runs the harness over a pull request (see the warning above).
Getting Started
First, install python3-venv such as with sudo apt install python3-venv, then
run the install script. Mantis comes with automated configuration and launcher
tools (mantis-configure and mantis-launch):
cd reference && ./install.sh
# 0. Authenticate Google Cloud Application Default Credentials (ADC) if using Vertex AI
gcloud auth application-default login
# 1. Fast Configuration & Capability Auto-Detection (or --interactive wizard)
python3 scripts/configure.py --auto
# 2. Fast Preflight Validation (~1s) & Live Reachability Probe
python3 scripts/configure.py --test --probe
# 3. Launch Vulnerability Review Campaign (file or repository)
./run.sh path/to/code # a file or a directory
# 4. (Optional) Tell the planner what to hunt for, in plain language (standard pipeline)
./run.sh path/to/code --focus "look for IDOR"
# 4b. (Optional) Leave vendored or generated code out of the scan
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add google/mantis