maxilun-knowledge-graph

Pass

Audited by Gen Agent Trust Hub on Nov 24, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses local subprocess calls to execute git diff for architectural impact analysis. The commands are hardcoded in a list format (e.g., ["git", "diff", "--name-only"]) and do not use a shell, which prevents command injection. Evidence: mcp_server.py line 186.
  • [COMMAND_EXECUTION]: The skill launches a local HTTP server (defaulting to 127.0.0.1) to serve an interactive graph visualizer. The server implementation includes several security best practices: it validates the Host header to prevent DNS rebinding, checks the Origin header for CSRF protection on the /api/scan endpoint, and uses strict path resolution to prevent path traversal when serving files or validating scan paths. Evidence: server.py methods _validate_host_and_origin, _get_safe_cors_origin, and the path traversal checks in do_GET and do_POST.
  • [SAFE]: The search and retrieval component (locate.py) explicitly excludes sensitive file patterns from its index and excerpts. This includes .env files, private keys (.pem, .key, id_rsa), and filenames containing keywords like secret or credential. Evidence: locate.py regex SENSITIVE.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 24, 2026, 02:21 PM