Github (0xshariq) MCP Server

@0xshariq/github-mcp-server npm v2.5.0

Published by @0xshariq — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

A comprehensive Model Context Protocol (MCP) server that provides Git repository management capabilities for AI assistants and automation tools. Includes 29 Git operations + 11 workflow combinations with complete CLI alias system and advanced developer pr

Trust grade
C
78/100
Last scanned get badge →
Trust
C · 78/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
C Why this grade threat 85 − adoption risk = 78/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 15.4 = 85. What the published surface and source actually contain:

PointsWhat was foundCategory
−15.4 Untrusted input concatenated into a command sink ×10 MTC-SRC-009 injection

2. Client adoption risk — 85 − 7 = 78. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 20

high Shell/command execution in server code (bin/advanced/gbackup.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gbackup.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import fs from 'fs'; import chalk from 'chalk'; // Che

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gbackup.js

high Shell/command execution in server code (bin/advanced/gclean.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gclean.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import chalk from 'chalk'; function validateRepository() { try { execSync

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gclean.js

high Shell/command execution in server code (bin/advanced/gdev.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gdev.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import chalk from 'chalk'; // Check if we're in a git

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gdev.js

high Shell/command execution in server code (bin/advanced/gfix.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gfix.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import chalk from 'chalk'; function validateRepository() { try { execSync

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gfix.js

high Shell/command execution in server code (bin/advanced/gflow.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gflow.js:28`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import chalk from 'chalk'; import fs from 'fs'; // Che

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gflow.js

high Shell/command execution in server code (bin/advanced/gfresh.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gfresh.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import chalk from 'chalk'; function validateRepository() { try { execSync

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gfresh.js

high Shell/command execution in server code (bin/advanced/glist.js)MTC-SRC-002

In the server's implementation (`bin/advanced/glist.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import fs from 'fs'; import chalk from 'chalk'; // Che

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/glist.js

high Shell/command execution in server code (bin/advanced/gquick.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gquick.js:20`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import chalk from 'chalk'; // Check if we're in a git

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gquick.js

high Shell/command execution in server code (bin/advanced/grelease.js)MTC-SRC-002

In the server's implementation (`bin/advanced/grelease.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import fs from 'fs'; import path from 'path'; import chalk from 'chalk'; // Che

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/grelease.js

high Shell/command execution in server code (bin/advanced/gsave.js)MTC-SRC-002

In the server's implementation (`bin/advanced/gsave.js:21`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: port { execSync } from 'child_process'; import path from 'path'; import chalk from 'chalk'; // Check if we're in a git

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gsave.js

medium Untrusted input concatenated into a command sink (bin/advanced/gdev.js)MTC-SRC-009

In the server's implementation (`bin/advanced/gdev.js:90`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: anchName) { try { execSync(`git show-ref --verify --quiet refs/heads/${branchName}`, { stdio: 'pipe' }); retur

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gdev.js

medium Untrusted input concatenated into a command sink (bin/advanced/grelease.js)MTC-SRC-009

In the server's implementation (`bin/advanced/grelease.js:190`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: y { const commits = execSync(`git log ${lastTag}..HEAD --pretty=format:"- %s (%h)"`, { encoding: 'utf8' });

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/grelease.js

medium Untrusted input concatenated into a command sink (bin/advanced/gsync.js)MTC-SRC-009

In the server's implementation (`bin/advanced/gsync.js:105`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: 'origin') { try { execSync(`git remote get-url ${remoteName}`, { stdio: 'pipe' }); return true; } catch (err

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gsync.js

medium Untrusted input concatenated into a command sink (bin/advanced/gworkflow.js)MTC-SRC-009

In the server's implementation (`bin/advanced/gworkflow.js:101`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: anchName) { try { execSync(`git show-ref --verify --quiet refs/heads/${branchName}`, { stdio: 'pipe' }); retur

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/advanced/gworkflow.js

medium Untrusted input concatenated into a command sink (bin/basic/gbranch.js)MTC-SRC-009

In the server's implementation (`bin/basic/gbranch.js:212`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const upstream = execSync(`git rev-parse --abbrev-ref ${cleanBranch}@{upstream} 2>/dev/null || echo ""`, { encodi

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gbranch.js

medium Untrusted input concatenated into a command sink (bin/basic/gcheckout.js)MTC-SRC-009

In the server's implementation (`bin/basic/gcheckout.js:76`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: me) { try { execSync(`git rev-parse --verify ${branchName}`, { stdio: 'pipe' }); return true; }

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gcheckout.js

medium Untrusted input concatenated into a command sink (bin/basic/gclone.js)MTC-SRC-009

In the server's implementation (`bin/basic/gclone.js:424`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: const remoteUrl = execSync(`git remote get-url ${origin}`, { encoding: 'utf8' }).trim(); const commitCount

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gclone.js

medium Untrusted input concatenated into a command sink (bin/basic/gpop.js)MTC-SRC-009

In the server's implementation (`bin/basic/gpop.js:112`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: ash@{0}') { try { execSync(`git show ${stashRef}`, { stdio: 'pipe' }); return true; } catch (error) { re

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gpop.js

medium Untrusted input concatenated into a command sink (bin/basic/gpush.js)MTC-SRC-009

In the server's implementation (`bin/basic/gpush.js:63`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: try { return execSync(`git remote get-url ${remote}`, { encoding: 'utf-8' }).trim(); } catch (error) {

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gpush.js

medium Untrusted input concatenated into a command sink (bin/basic/gstash.js)MTC-SRC-009

In the server's implementation (`bin/basic/gstash.js:164`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: { const files = execSync(`git stash show --name-only ${stashRef}`, { encoding: 'utf8' }); const fileCoun

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server bin/basic/gstash.js

Tools 34

Each tool and what it can reach — statically extracted from the published source.

  • git-addno sensitive capability
  • git-add-allno sensitive capability
  • git-bisectno sensitive capability
  • git-blameno sensitive capability
  • git-branchno sensitive capability
  • git-checkoutno sensitive capability
  • git-cherry-pickno sensitive capability
  • git-cleanno sensitive capability
  • git-cloneno sensitive capability
  • git-commitno sensitive capability
Show 24 more tools ↓
  • git-devno sensitive capability
  • git-diffno sensitive capability
  • git-flowno sensitive capability
  • git-initno sensitive capability
  • git-logno sensitive capability
  • git-mergeno sensitive capability
  • git-pullno sensitive capability
  • git-pushno sensitive capability
  • git-quick-commitno sensitive capability
  • git-rebaseno sensitive capability
  • git-releaseno sensitive capability
  • git-remote-addno sensitive capability
  • git-remote-listno sensitive capability
  • git-remote-removeno sensitive capability
  • git-remote-set-urlno sensitive capability
  • git-removeno sensitive capability
  • git-remove-allno sensitive capability
  • git-resetno sensitive capability
  • git-stashno sensitive capability
  • git-stash-popno sensitive capability
  • git-statusno sensitive capability
  • git-syncno sensitive capability
  • git-tagno sensitive capability
  • github-mcp-serverno sensitive capability

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v2.5.0 latest C 78/100 20 1.13.0 2026-09-07

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: C · 78/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/0xshariq-github-mcp-server/badge.svg)](https://mcptrustchecker.com/registry/0xshariq-github-mcp-server)
HTML
<a href="https://mcptrustchecker.com/registry/0xshariq-github-mcp-server"><img src="https://mcptrustchecker.com/registry/0xshariq-github-mcp-server/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/0xshariq-github-mcp-server/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan @0xshariq/github-mcp-server --online

Use the free API → How scoring works

Other implementations of Github 27

Independent packages implementing the same tool, scanned with the same engine. Compare all 28 side by side →

More in Developer Tools