Mend.io、AI エージェントと MCP サーバーの生産環境セキュリティガイドを公開
本文の状態
日本語全文を表示中
詳細モードで約9分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
MarkTechPost
Mend.io は従来の AppSec が捉えきれない AI エージェントや MCP サーバーのリスクに対応するため、攻撃面マップと設定チェックリストを含む実践的フレームワークを公開した。
AI深層分析を開く2026年8月4日 05:41
AI深層分析
キーポイント
AI セキュリティの根本的な変化
従来のアプリケーションセキュリティはコードの動作に依存するが、AI エージェントはプロンプトやコンテキスト、ツール呼び出しによって振る舞いが動的に変化し、従来の脆弱性管理モデルを無効にする。
5 層のアタックサーフェスマップ
インタラクション、エージェント、統合、モデル、コードの 5 つの層における具体的な攻撃経路(プロンプトインジェクション、権限の過剰付与、ツール記述の汚染など)を定義し、リスクを可視化する。
AI-BOM の拡張と発見手法
エージェントや MCP サーバーのアイデンティティ、モデル依存関係、権限範囲などを追跡する 9 つの項目を持つ AI-BOM を提案し、シャドウエージェントや未登録サーバーを発見するための具体的な 5 つの方法を示す。
実践的な設定チェックリスト
認証情報のスコープ制限、システムプロンプトのバージョン管理、モデルバージョンの固定など、12 の具体的な項目からなるミスコフィギュレーション防止チェックリストを提供する。
優先順位付けとトリアージの自動化基準
到達可能性やビジネスコンテキストなどの信号に基づき、明確な証拠がある場合は自動化し、リスク受容や新規クラスは人間のみで決定する。
重要な引用
Agent behavior emerges from a model, a system prompt, retrieved context, user input, and the tools it may call.
Prompt injection arrives through data, not code.
None appear in a CVE feed.
AI expanded the finding surface, not just the attack surface.
編集コメントを表示
編集コメント
AI エージェントの普及に伴い、コードベースに潜むリスクだけでなく、プロンプトやデータフローにおける新たな脆弱性が顕在化している。このフレームワークは、従来のセキュリティプラクティスではカバーしきれない領域を明確にし、実務レベルでの対策指針として即座に活用できる価値がある。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
エージェント、MCP(Model Context Protocol)連携機能、LLM 搭載アプリケーションがコードベースに導入される速度は、セキュリティプログラムが追いつけるペースを遥かに超えています。Mend.io が新たに公開した実践ガイド『Securing AI agents, MCP servers & LLM apps: A practical framework』は、このギャップを埋めるために設計されました。このフレームワークは「何が重要かを見極める」「重要な課題を迅速に修正する」「本番環境での AI を保護する」という 3 つのステップで構成され、7 つの再利用可能なアーティファクトを提供します。
なぜ従来の AppSec は機能しないのか
AppSec(アプリケーションセキュリティ)は長年、「アプリケーションはコードが指示した通りに動作する」という前提の上に成り立ってきました。しかし、エージェント型 AI の登場はこの前提を崩壊させます。エージェントの振る舞いは、モデルそのもの、システムプロンプト、取得されたコンテキスト、ユーザー入力、そして呼び出し可能なツール群から生まれるものです。そのため、同じデプロイ設定でも異なる挙動を示すことが珍しくありません。
リスクの形態もまた変化しています。プロンプトインジェクションはコード経由ではなくデータを通じて侵入します。権限が過剰なエージェントは、既存の脆弱性を突くことなく有害な行動を実行し得ます。メンテナンス担当者がパッチ適用を停止した後も、古いモデルは予測を提供し続けます。さらに、MCP サーバー上のツール説明が汚染されれば、アプリケーションに一切手を加えずともエージェントの振る舞いを誘導できてしまいます。これらはいずれも CVE フィードには掲載されません。求められるのは、左側(開発初期段階)へのシフトと右側(本番環境)での保護という二重の対策です。
アーティファクト 1.1:5 レイヤー攻撃面マップ
相互作用層:ユーザー入力、取得されたドキュメント、エージェント間メッセージ → プロンプトインジェクション、コンテキスト汚染、データ漏洩
エージェント層:システムプロンプト、設定ファイル、メモリ、自律性設定 → 権限過剰なツール、安全でないデフォルト値、ゴールの乗っ取り
統合リスク:MCP サーバー、ツール定義、プラグイン、API において、悪意のあるツール記述やスコープ外の認証情報、非公式サーバー(シャドウサーバー)への接続が問題となります。
モデルリスク:基盤モデルやファインチューニング済みモデル、埋め込みベクトルにおいては、サポート終了したモデルの継続使用、サプライチェーン上の脆弱性、安全でない生成結果が懸念されます。
コードリスク:AI によって生成されたコード、AI フレームワーク、SDK には、脆弱な実装、フレームワーク固有の CVE(共通脆弱性識別子)、悪意のあるパッケージが含まれる可能性があります。
関連情報:エージェントと MCP の発見については「See: agent and MCP discovery」を参照してください。
エージェントは通常、調達プロセスを通じて導入されるものではありません。警戒すべきは以下の 3 つのカテゴリです。シャドウエージェント、登録されていない MCP サーバー、埋め込まれた AI フレームワークです。すべての MCP サーバーには所有者を明確にし、アクセススコープを定義し、定期的なレビューを実施する必要があります。
発見手法は主に 5 つあります。第一に、リポジトリ内でエージェント特有のシグネチャを検索します。第二に、ネットワークの外部通信(egress)を監視し、モデル API エンドポイントへの呼び出しを捉えます。第三に、サービスアカウントと API キーの監査を行います。第四に、軽量な登録プロセスを導入して宣言コストを下げます。最後に、一度きりの発見では情報がすぐに陳腐化するため、継続的な自動化が不可欠です。
Artifact 2.1 では、AI-BOM(Artificial Intelligence Bill of Materials)を拡張し、各エージェントまたは MCP サーバーについて以下の 9 つの項目を追加しました:ID、モデル依存関係、自律レベル、ツール権限、認証情報スコープ、データ到達範囲、MCP エンドポイント、プロンプトの保存場所、最終レビュー日。
Artifact 2.2 は、12 の項目からなる設定ミスチェックリストです。具体的には、広範なサービスレベルのアクセス権ではなく特定のリソースにスコープを限定した認証情報の使用、エージェント間での共有認証情報の禁止、人間による承認が必要な高影響ツールの管理、本番環境で編集可能なシステムプロンプトの排除(代わりにバージョン管理下に置く)、MCP サーバーによるクライアント認証、導入前のツール説明書に対するインジェクション攻撃のリスクチェック(ツールポイズニング対策)、モデルバージョンの固定と EOL(サポート終了)監視および責任者の明確化などが含まれます。
修正方針:優先順位付けとトリアージ
AI の導入は、単なる攻撃対象領域(アタックサーフェス)を拡大しただけでなく、検出対象となる発見範囲そのものを広げました。対応パイプラインは「検出→優先順位付け→トリアージ」のフローで構成されます。優先順位の判断基準は、価値の高い順に以下の通りです。
- 到達可能性(Reachability)
- 攻撃文脈(Exploitability context)
- ビジネス文脈(Business context)
- エージェントによる増幅効果(Agentic amplification)
- 修正の入手可能性(Fix availability)
Artifact 3.1 は、自動化の適用ラインを定義しています。
- 判断基準:対応方針
- データフローが明確で、既知のクラスに属する到達可能性:完全自動化
- 偽陽性(FP)/真陽性(TP)の評価と証拠の追跡:サンプリング付きで自動化
- Tier-3 または高リスクなアプリケーション:AI が支援し、人間が最終判断
- 新規クラス、AI の振る舞い、証拠不足:人間のみによる対応
- リスク受諾または修正延期:人間のみ、かつ文書化
このプロセスを支配するルールは2 つあります。まず、自動化でクローズされた事案には必ず証拠が伴うこと。もしシステムが「なぜ偽陽性なのか」を示せない場合は、自動的に人間へ回されます。また、誤検知率についてはサンプリングによるレビューを行い、閾値を超えた場合は再学習のトリガーとします。
保護:ランタイムセキュリティ
ランタイム保護には、ガードレールの設定、プロンプトの強化、ポリシーの適用、そして監視が含まれます。AI レッドチームとのループとして機能し、レッドチームによる発見がガードレールを改善し、ガードレールのログが次のレッドチーム活動の指針となります。
ガードレールは2つの方法で展開されます。1 つ目は、オンラインモードまたは分離されたオフラインモードをサポートするアプリ内 Python SDK を介する方法です。2 つ目は、コード変更や Python の依存関係を必要としないスタンドアロンの API サーバー(Docker)として機能させる方法です。
最小限の運用可能なセットアップでは、インバウンドガードレールでプロンプトインジェクション、ポリシー違反リクエスト、そしてジャイブレイクを検知し、アウトバウンドガードレールで機密情報、個人識別情報(PII)、独自コード、危険なコンテンツ、およびポリシー違反を捕捉します。
システムプロンプトの強化には5 つのパターンがあります。それは「漏洩を前提とする」「指示とデータを分離する」「影響範囲を制限する」「バージョン管理とレビューを行う」「敵対的テストを実施する」です。厳格な権限設定は、プロンプト内の指示よりも効果的です。ツールのアクセス権を制限すれば、危険なアクションを行わないよう指示を出す必要がなくなります。
Artifact 4.1 には7 つの検証チェックが含まれています。
成熟度ロードマップ
4 つの段階があります:Emerging(萌芽期)、Developing(発展期)、Controlling(制御期)、Leading(主導期)です。これは NIST AI RMF、OWASP AIMA、ISO/IEC 42001、および EU AI Act に準拠しています。
Artifact 5.1 は15問の自己評価チェックリストです:0–5 が Emerging、6–10 が Developing、11–13 が Controlling、14–15 が Leading です。
主要なポイント
エージェントの振る舞いはコードだけでなく、モデル、プロンプト、コンテキスト、入力、そしてツールから生じます。
リスクは5 つの層に分かれます:インタラクション、エージェント、統合、モデル、コードです。
影のエージェント、未登録のMCPサーバー、埋め込まれたAIフレームワークを狩り出せ。
証拠に基づく自動トリアージを実装し、リスク受容と新規発見は人間のみが行うようにする。
ガードレールは、組み込みPython SDKとして、またはスタンドアロンのDocker APIサーバーとして提供される。
詳細ガイドはこちらをご覧ください。
本記事の執筆にあたり、Mend.ioチームに知見やリソースを提供いただいたことに感謝します。本記事はMend.ioのスポンサーシップにより掲載されています。
「How to Secure AI Agents, MCP Servers, and LLM Apps in Production」という投稿は、MarkTechPostで最初にお読みいただけます。
原文を表示
Agents, MCP integrations, and LLM-powered applications are entering codebases faster than most security programs can track them. Mend.io’s new practitioner guide, ‘Securing AI agents, MCP servers & LLM apps: A practical framework’, targets that gap. It is organized around three moves: see what matters, fix what matters faster, protect AI in production and ships seven reusable artifacts.
Why traditional AppSec breaks
AppSec was built on one assumption: applications do what their code says. Agentic AI breaks it. Agent behavior emerges from a model, a system prompt, retrieved context, user input, and the tools it may call. Two identical deployments can behave differently.
The failure modes are new too. Prompt injection arrives through data, not code. An over-permissioned agent can take harmful actions without any vulnerability being exploited. A deprecated model keeps serving predictions after its maintainer stops patching it. A poisoned tool description on an MCP server can redirect an agent’s behavior without touching the application. None appear in a CVE feed. The mandate is two-sided: shift left, and protect right.
Artifact 1.1: the five-layer attack surface map
Interaction: user inputs, retrieved documents, inter-agent messages → prompt injection, context poisoning, data exfiltration
Agent: system prompts, configs, memory, autonomy settings → over-permissioned tools, unsafe defaults, goal hijacking
Integration: MCP servers, tool definitions, plugins, APIs → poisoned tool descriptions, unscoped credentials, shadow servers
Model: foundation and fine-tuned models, embeddings → EOL models, supply chain risk, unsafe generations
Code: AI-generated code, AI frameworks, SDKs → vulnerable code, framework CVEs, malicious packages
See: agent and MCP discovery
Agents rarely arrive through procurement. Three categories to hunt: shadow agents, unregistered MCP servers, and embedded AI frameworks. Every MCP server needs an owner, an access scope, and a review.
There are five discovery methods. First, scan repositories for agentic signatures. Second, watch network egress for calls to model API endpoints. Third, audit service accounts and API keys. Fourth, make declaration cheap via lightweight registration. Finally, automate continuously, since point-in-time discovery goes stale fast.
Artifact 2.1 extends the AI-BOM with nine fields per agent or MCP server: identity, model dependency, autonomy level, tool permissions, credential scope, data reach, MCP endpoints, prompt location, last review.
Artifact 2.2 is a 12-point misconfiguration checklist: credentials scoped to specific resources, not broad service-level access; no shared credentials between agents; high-impact tools requiring human approval; system prompts in version control, not editable in production; MCP servers authenticating clients; tool descriptions reviewed for injection-bearing content before adoption (tool poisoning); model versions pinned with EOL monitoring and an owner.
Fix: prioritization and triage
AI expanded the finding surface, not just the attack surface. The pipeline is enrich → prioritize → triage. Prioritization signals, in order of value: reachability, exploitability context, business context, agentic amplification, fix availability.
Artifact 3.1 draws the automation line:
DecisionDisposition
Reachability/dataflow, well-understood classesAutomate
FP/TP assessment with evidence trailsAutomate, with sampling
Tier-3/high-risk applicationsAI-assist, human decides
Novel classes, AI behaviors, no evidenceHuman only
Accepting risk or deferring a fixHuman only, documented
Two rules govern it. Every automated closure carries evidence; if the system cannot show why something is a false positive, it goes to a human. Error rates get sampled review, with thresholds triggering retraining.
Protect: runtime security
Runtime protection involves guardrails, prompt hardening, policy enforcement, and monitoring. Operating as a loop with AI red teaming, red team discoveries improve guardrails, while guardrail logs guide subsequent red teaming.
Guardrails deploy in two ways: via an in-app Python SDK (supporting Online or isolated Offline modes) or as a standalone API Server (Docker) requiring no code changes or Python dependencies. The minimal viable setup includes inbound guardrails catching prompt injections, out-of-policy requests, and jailbreaks, alongside outbound guardrails catching credentials, PII, proprietary code, unsafe content, and policy violations.
System prompt hardening follows five patterns: assuming disclosure, separating instructions from data, constraining the blast radius, versioning/reviewing, and adversarial testing. Setting strict permissions is more effective than prompt instructions—preventing tool access removes the need to instruct against dangerous actions. Artifact 4.1 contains seven validation checks.
The maturity roadmap
Four stages: Emerging, Developing, Controlling, Leading. It is aligned to NIST AI RMF, OWASP AIMA, ISO/IEC 42001, and the EU AI Act. Artifact 5.1 is a 15-question self-assessment: 0–5 Emerging, 6–10 Developing, 11–13 Controlling, 14–15 Leading.
Key takeaways
Agent behavior emerges from model, prompt, context, input, and tools — not code alone.
Five risk layers: interaction, agent, integration, model, code.
Hunt shadow agents, unregistered MCP servers, embedded AI frameworks.
Automate evidence-backed triage; keep risk acceptance and novel findings human-only.
Guardrails ship as an embedded Python SDK or a standalone Docker API Server.
Check out the full guide here.
Thanks to the Mend.io team for the thought leadership / resources for this article. This article is sponsored by Mend.io.
The post How to Secure AI Agents, MCP Servers, and LLM Apps in Production appeared first on MarkTechPost.
AI算出
技術分析ainew評価標準
記事は AI セキュリティという核心テーマを扱い、従来の AppSec の限界を超えた新しい実践的アプローチ(3 ステップフレームワークと 7 つのアーティファクト)を具体的に提案しているため新規性は高い。ただし、特定の日本企業や日本固有の規制・価格情報に言及がないため、日本関連性は低めとなる。
6つの評価軸を見る
- AI関連度
- 100
- 情報源の信頼性
- 25
- 新規性
- 75
- 調べる価値
- 75
- 重複の少なさ
- 100
- 日本での有用性
- 25
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み