mcp-guardrails

v0.5.2 safe
2.7
Low Risk

Drop-in deterministic policy layer for MCP-using AI agents

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 3 test file(s) found

  • 3 test file(s) detected (e.g. test_extensions.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (14717 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 76 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

✓ Outbound Network Calls

No suspicious network call patterns found

✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • and": "python -c \"import os; os.system('id')\""}, alice_ctx, "deny", "Python -c shell-o
  • th / "policy.yaml" syn = subprocess.run( [sys.executable, "-m", "mcp_guard.cli", "synthesize
  • encoding="utf-8") eva = subprocess.run( [sys.executable, "-m", "mcp_guard.cli", "evaluate",
  • "allowed"] is False bt = subprocess.run( [sys.executable, "-m", "mcp_guard.cli", "backtest",
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • _file", {"path": "/etc/shadow"}, alice_ctx, "deny", "MCP cross-tool — system
  • {"path": "../../../etc/passwd"}, alice_ctx, "deny", "Classic path traversal t
  • "Classic path traversal to /etc/passwd", ), BacktestCase( "attack-path
  • {"command": "ls; cat /etc/passwd"}, alice_ctx, "deny", "Command chaining to exfi
  • , {"url": "file:///etc/passwd"}, alice_ctx, "deny", "file:// scheme — local f
  • {"sql": "SELECT pg_read_file('/etc/passwd', 0, 4096)"}, alice_ctx, "deny", "Postgres pg_r
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with mcp-guardrails
Build a simple Python application using the mcp-guardrails package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!