Skip to main content
Glama
sparkvibe-io

GuardianShield

by sparkvibe-io

GuardianShield

PyPI version Python License Tests

ユニバーサルAIセキュリティレイヤー — コードスキャン、PII検出、プロンプトインジェクション防御、シークレット検出、依存関係監査、監査ログのためのオープンソースMCPサーバー。

ゼロ依存 · 27のMCPツール · 5つのセーフティプロファイル · 108以上の検出パターン

機能

  • コード脆弱性スキャン — SQLインジェクション、XSS、コマンドインジェクション、パストラバーサル(CWE ID付き、自動修正レメディエーション)

  • クロスラインデータフロー解析 — DeepEngineはASTベースの汚染伝播(Python)と正規表現(JS/TS)を使用して、複数行にわたるソースからシンクへの汚染データを追跡します

  • 依存関係セキュリティ — PyPI、npm、Go、Packagistエコシステム向けのOSV.devに対するバージョン認識CVEマッチング

  • マニフェスト解析 — 11のフォーマット(requirements.txt、package.json、yarn.lock、go.mod、composer.jsonなど)を自動検出

  • プロンプトインジェクション防御 — 命令上書き、ロールハイジャック、ChatMLインジェクションに対する9以上の検出パターン

  • PII検出 — メール、SSN、クレジットカード、電話番号、IP — 検出結果に自動編集機能付き

  • シークレット検出 — AWSキー、GitHubトークン、Stripeキー、JWT、パスワード、接続文字列

  • セーフティプロファイル — 5つの組み込みプロファイル(一般、教育、医療、金融、子供)

  • 監査ログ — SQLiteベースのスキャン履歴、検出結果の取得とフィルタリング

Related MCP server: zentric-protocol-mcp

インストール

pip install guardianshield

クイックスタート

# Register with Claude Code
claude mcp add guardianshield -- guardianshield-mcp

# Or run directly
guardianshield-mcp

エディター統合

# Claude Code
claude mcp add guardianshield -- guardianshield-mcp

# VS Code (.vscode/mcp.json)
{"servers": {"guardianshield": {"type": "stdio", "command": "guardianshield-mcp"}}}

# Cursor (.cursor/mcp.json)
{"mcpServers": {"guardianshield": {"command": "guardianshield-mcp"}}}

# Claude Desktop (claude_desktop_config.json)
{"mcpServers": {"guardianshield": {"command": "guardianshield-mcp"}}}

MCPツール

スキャン

ツール

説明

scan_code

ソースコードの脆弱性とハードコードされたシークレットをスキャン

scan_file

単一ファイルをスキャン(拡張子から言語を自動検出)

scan_directory

ディレクトリを再帰的にスキャン(フィルタリングと進捗ストリーミング付き)

scan_input

ユーザー/エージェントの入力に対するプロンプトインジェクション試行をチェック

scan_output

AI出力のPII漏洩とコンテンツ違反をチェック

check_secrets

ハードコードされたシークレットと認証情報を検出

scan_files

複数ファイルを一度にスキャン

scan_diff

unified diffを解析し、追加行のみをスキャン

依存関係セキュリティ

ツール

説明

check_dependencies

OSV.dev経由で既知のCVEについてパッケージをチェック(PyPI、npm、Go、Packagist)

sync_vulnerabilities

ローカルのOSV脆弱性データベースを同期

parse_manifest

サポートされている任意のマニフェストファイル(11フォーマット)を依存関係オブジェクトに解析

scan_dependencies

ディレクトリ内のマニフェストファイルをスキャンし、すべての依存関係の脆弱性をチェック

誤検知管理

ツール

説明

mark_false_positive

検出結果を誤検知としてマーク(将来の一致をフラグ)

list_false_positives

アクティブな誤検知レコードをオプションのフィルター付きで一覧表示

unmark_false_positive

フィンガープリントで誤検知レコードを削除

エンジン管理

ツール

説明

list_engines

利用可能な分析エンジンを機能付きで一覧表示

set_engine

コードスキャンに使用するアクティブな分析エンジンを設定

3つのエンジンが組み込みで提供されます:regex(行単位のパターンマッチング、デフォルトで有効)、deep(クロスラインの汚染追跡)、semantic(構造認識の信頼度調整)。

CI & 開発者ワークフロー

ツール

説明

export_sarif

検出結果をSARIF 2.1.0 JSONとしてエクスポート(GitHub Code ScanningおよびCI向け)

save_baseline

現在の検出結果をデルタスキャンのベースラインとして保存

scan_with_baseline

コードをスキャンし、ベースラインと比較して新しい検出結果のみを報告

check_quality_gate

重大度しきい値に対して検出結果を評価(pass/fail/warn)

scan_files

複数ファイルを一度にスキャン

scan_diff

unified diffを解析し、追加行のみをスキャン

設定 & ユーティリティ

ツール

説明

get_profile

現在のセーフティプロファイル設定を取得

set_profile

セーフティプロファイルを切り替え(一般、教育、医療、金融、子供)

test_pattern

カスタムパターン開発のためにサンプルコードに対して正規表現パターンをテスト

audit_log

セキュリティ監査ログを照会

get_findings

フィルター付きで過去の検出結果を取得

shield_status

ヘルス、設定、OSVキャッシュ統計を取得

設定

環境変数を設定して動作をカスタマイズします:

変数

説明

デフォルト

GUARDIANSHIELD_PROFILE

デフォルトのセーフティプロファイル

general

GUARDIANSHIELD_AUDIT_PATH

SQLite監査データベースのパス

~/.guardianshield/audit.db

GUARDIANSHIELD_DEBUG

デバッグログを有効にする(1

無効

ドキュメント

完全なドキュメント:sparkvibe-io.github.io/GuardianShield

ライセンス

Apache 2.0

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
8Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    B
    maintenance
    Predeploy security scanner for AI-generated code. 80+ vulnerability patterns across secrets, auth, injection, config, Supabase, and logging. Runs locally, code never leaves your machine. Optional x402 witnessed attestation.
    136
    Apache 2.0
  • F
    license
    -
    quality
    B
    maintenance
    Security middleware for LLM apps and AI agent pipelines. Detects prompt injection attacks (22 signatures, 7 languages) and anonymizes PII (17 entity types). Deterministic, sub-25ms, GDPR Art.30 compliant.
  • A
    license
    -
    quality
    B
    maintenance
    Provides AI coding assistants with real-time security scanning superpowers, including SAST, secrets detection, dependency CVE scanning, and web vulnerability assessment.
    18
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Threat modeling, code/cloud/pipeline scanning, shadow-AI discovery, compliance checks and fixes.

  • Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.

  • The WAF for agents. Pattern-based + heuristic firewall scans prompts, RAG documents, tool argume...

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sparkvibe-io/GuardianShield'

If you have feedback or need assistance with the MCP directory API, please join our Discord server