github Python analyzed f70545d

cognis-digital/mcpharden

github

MCP server hardening linter — capability declarations, transport, tool descriptions

maintainer
cognis-digital
licence
NOASSERTION
first seen
2026-06-08
last seen
2026-07-05
releases · 30d
0
short id

Drift inferred · capture-to-capture

  1. HIGH code analysis flagged committed secret in cognis-digital/mcpharden
  2. HIGH code analysis flagged dynamic code execution in cognis-digital/mcpharden
  3. HIGH code analysis flagged committed secret in cognis-digital/mcpharden
  4. HIGH code analysis flagged committed secret in cognis-digital/mcpharden
capabilities 0 tools
transport stdio · http · sse counts 0 tools · 0 res · 0 prompts permission surface via code analysis

No tools enumerated yet for this server.

skills & danger signals github-tarball
prompt-surface shipped agent-instruction files + hidden-content / dangerous-code findings — quoted from the analyzed source

analyzed commit f70545d · analyzer v33 · 1w ago

danger signals5

code evidence vwalkthrough-v1 · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 43

filesystem 7

  • fs cognis-digital-mcpharden-f70545d/mcpharden/cli.py :88 with open(out, "w", encoding="utf-8") as fh:
  • fs cognis-digital-mcpharden-f70545d/mcpharden/configaudit.py :146 with open(path, "r", encoding="utf-8") as fh:
  • fs cognis-digital-mcpharden-f70545d/mcpharden/connect.py :73 text = sys.stdin.read() if a.input == "-" else open(a.input, encoding="utf-8").read()
  • fs cognis-digital-mcpharden-f70545d/mcpharden/core.py :120 with open(path, "r", encoding="utf-8") as fh:
  • fs (weak) cognis-digital-mcpharden-f70545d/tests/test_deep.py :102 with open(p, "w", encoding="utf-8") as fh:
  • fs (weak) cognis-digital-mcpharden-f70545d/tests/test_posture.py :470 with open(os.path.join(d, "good.json"), "w") as fh:
  • fs (weak) cognis-digital-mcpharden-f70545d/tests/test_smoke.py :22 with open(path, "w", encoding="utf-8") as fh:

shell / exec 1

  • shell (weak) cognis-digital-mcpharden-f70545d/tests/test_smoke.py :5 import subprocess

network 2

  • net cognis-digital-mcpharden-f70545d/integrations/webhook.py :8 import argparse, json, sys, urllib.request
  • net cognis-digital-mcpharden-f70545d/livesearch.py :28 import urllib.parse

declared dependencies 5

  • mcp@>=1.0
  • cognis-connect@@ git+https://github.com/cognis-digital/cognis-connect.git
  • fastapi@>=0.110
  • uvicorn@>=0.27
  • pytest@>=8.0