MCP server · Audited from source
GitHits MCP server
by githits-com/githits-cliApache-2.0 licenceAudited 7 Oct 2026 · source 56c51cf464ff
Is it safe? No — BLOCK, grade F (59/100). It exposes 8 tools: 7 read, 1 write and 0 destructive. The audit recorded 40 findings (0 critical, 2 high, 4 medium, 25 low). Maintainer's description: CLI & MCP for GitHits - The Code Context Layer for AI Coding Agents
Cite
Cite this page
ModelsAtlas. “GitHits MCP server (githits-com/githits-cli)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/githits-com/githits
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Code injection at src/services/exec-service.ts:107. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
40 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared4 observations
- ShellDeclared2 observations
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
Findings (40)
Sorted by severity · the 25 most severe of 40 are listed
HIGHCode injectioncode.eval_exec · src/services/exec-service.ts:107
exec(
- Why
- evaluates text as code
- Fix
- remove; use a parser or a dispatch table
HIGHPrompt injectionprompt.credential_read · skills/githits-onboarding/SKILL.md:18
- Never ask the user to paste passwords, OAuth codes, cookies, access tokens, refresh tokens, or API keys into chat.
- Why
- asks the agent to read credentials
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · scripts/proxy-node-smoke.mjs:91
`http://127.0.0.1:${direct.port}/direct`,- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/commands/init/claude-user-config.test.ts:150
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/commands/init/init.test.ts:4744
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/commands/init/init.test.ts:4782
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInventory / provenanceinv.symlink · CLAUDE.md
CLAUDE.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · GEMINI.md
GEMINI.md
- Why
- link not followed
- Fix
- —
LOWFilesystem / pathfs.traversal · .github/workflows/mcp-release.yml:184
run: bun run ../../scripts/publish-npm.ts
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · eval/agentic/context-loading/fixture-server.test.ts:5
import { getMcpToolDescriptors } from "../../../packages/mcp/src/mcp/server.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · eval/agentic/context-loading/fixture-server.test.ts:6
import { EXTERNAL_CONTENT_POSTURE } from "../../../packages/mcp/src/tools/guardrails.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · eval/agentic/context-loading/fixture-server.ts:3
import { buildMcpQuickStart } from "../../../packages/mcp/src/mcp/instructions.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · eval/agentic/context-loading/fixture-server.ts:4
import { getMcpToolDescriptors } from "../../../packages/mcp/src/mcp/server.js";- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · packages/core-internal/src/services/config.test.ts:42
"http://127.0.0.1:4000",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/commands/doctor.test.ts:359
redirectUri: "http://127.0.0.1:8080/callback",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/commands/doctor.test.ts:441
redirectUri: "http://127.0.0.1:8080/callback",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/commands/login.test.ts:147
redirectUri: "http://127.0.0.1:8080/callback",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/code-diff-text.test.ts:146
path: "👨👩👧👦",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/code-diff-text.test.ts:161
" 한 | 1 +\n longer | 1 -\n 👨👩👧👦 | 2 +-\n",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/unified-search-semantic-text.test.ts:238
text: "e\u0301👩💻 hit",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/unified-search-semantic-text.test.ts:251
expect(plain).toContain("> 143 | ...e\u0301👩💻 hit...");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/unified-search-semantic-text.test.ts:255
`e\u0301👩💻 ${colors.bold}${colors.yellow}hit${colors.reset}`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @napi-rs/keyring, fast-string-width, jsonc-parser, open, smol-toml, yaml, zod
- Why
- 13 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
8 declared in source · 0 destructive
| Tool | What it does | Risk |
|---|---|---|
quick_start | No description in the source | write |
default-test | default test | read |
experimental_probe | test-only experimental factory | read |
githits-mcp | Guide | read |
pkg_changelog | No description in the source | read |
pkg_info | No description in the source | read |
pkg_vulns | No description in the source | read |
read | No description in the source | read |
Safer alternatives
All code intelligence servers →codefromkarl/contextatlas
ContextAtlas — context infrastructure for AI coding agents: hybrid retrieval, project memory and retrieval observability via CLI, MCP server or embeddable library. Tree-sitter indexing, LanceDB vector search, FTS5 and token-aware context packing.
exa-labs/exa-mcp-server
Exa MCP for web search and web crawling!
srclight/srclight
Deep code indexing MCP server for AI agents. 25 tools: hybrid FTS5 + embedding search, call graphs, git blame/hotspots, build system analysis. Multi-repo workspaces, GPU-accelerated semantic search, 10 languages via tree-sitter. Fully local, zero cloud dependencies.
Audit history
- ✕BLOCK F 59 / 100
First audit ·
56c51cf464ff
README badge
Badges show the current verdict, BLOCK included
A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.
Questions about GitHits MCP server
What is the GitHits MCP server?
What tools does GitHits expose?
Is GitHits safe to connect to an agent?
What credentials does GitHits need?
How does GitHits run?
How current is this page?
I already installed GitHits. What should I do?
Can the verdict change?
Sources
- githits-com/githits-cli on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 56c51cf464ffObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the GitHits MCP server?
- What tools does GitHits expose?
- Is GitHits safe to connect to an agent?