ToolTrust
B15/100
tirth8205

code-review-graph

mcpscode-v0.2.1

@tirth8205

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

By tirth8205 | 15 findings | Scanned 9/14/2026 | tooltrust-scanner/v0.3.19 | 31.4k

1 High2 Low12 Info

Risk Summary

Safe With Normal Controls

Dep Visibility is the main signal, but overall risk remains within an acceptable range.

Potential impact: This finding indicates the tool should be reviewed before it is trusted.

Recommended action: No high-risk findings were detected in this scan, but you should still apply least-privilege defaults and rescan after changes.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (15)

  • HighAS-012

    🔄Tool Drift

    Tool set changed silently at vscode-v0.2.1: 8 tool(s) added, 28 tool(s) removed without a version bump.

    + 8 added

    analyze_codebasedetect_cyclesgenerate_mermaid_graphget_calleesget_callersget_file_couplingget_file_functionsget_orphan_functions

    − 28 removed

    analyze_existing_graph_by_nameanalyze_google_search_resultsanalyze_related_search_queriesanalyze_textcreate_knowledge_graphdevelop_conceptual_bridgesdevelop_latent_topicsdevelop_text_tooldifference_between_textsfetchgenerate_content_gapsgenerate_contextual_hintgenerate_knowledge_graphgenerate_research_ideasgenerate_research_questionsgenerate_responses_from_graphgenerate_seo_reportgenerate_topical_clustersget_more_toolslist_graphsmemory_add_relationsmemory_get_relationsmerged_graph_from_textsoptimize_text_structureoverlap_between_textsretrieve_from_knowledge_basesearchsearch_queries_vs_search_results

    Fix: The set of tools exposed by this server changed between scans of the same version — a sign the package was silently updated without a version bump. Audit the changelog and all tool definitions before trusting this server. Pin to a specific commit hash rather than a floating version tag.

  • LowAS-011

    â„šī¸Missing Rate-Limit / Timeout ×2

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    analyze_codebaseget_callers

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

  • InfoAS-002

    âš ī¸Excessive Permissions ×4

    declared capabilities: network access, filesystem access

    analyze_codebase

    declared capabilities: filesystem access

    get_file_functionsget_file_coupling

    declared capabilities: HTTP requests

    get_callers

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • InfoAS-014

    â„šī¸Dependency Inventory Unavailable ×8

    Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.

    analyze_codebaseget_file_functionsget_file_couplingget_callersget_calleesdetect_cyclesget_orphan_functionsgenerate_mermaid_graph

    Fix: Review and remediate the identified issue.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y code-review-graph"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade B](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-b.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)