Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

GitHits MCP server

by githits-com/githits-cliApache-2.0 licenceAudited 7 Oct 2026 · source 56c51cf464ff

npm @githits/mcp 0.27.1stdiostreamable-http★ 114
✕BLOCKGrade F · 59/100 · 7 Oct 2026 · 56c51cf

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score59/100✕BLOCK F
0 critical2 high4 medium25 low9 info

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
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-04 Network egressCWE-200 · CWE-319Layer L1
`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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

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
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .lintstagedrc.js
F-13 Inventory / provenanceCWE-1104Layer L0
.lintstagedrc.js
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .node-version
F-13 Inventory / provenanceCWE-1104Layer L0
.node-version
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · .github/workflows/mcp-release.yml:184
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
"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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
path: "👨👩👧👦",
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · packages/mcp/src/shared/code-diff-text.test.ts:161
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
" 한     | 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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
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
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
`e\u0301👩💻 ${colors.bold}${colors.yellow}hit${colors.reset}`,
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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

7 read1 write0 destructive
ToolWhat it doesRisk
quick_startNo description in the sourcewrite
default-testdefault testread
experimental_probetest-only experimental factoryread
githits-mcpGuideread
pkg_changelogNo description in the sourceread
pkg_infoNo description in the sourceread
pkg_vulnsNo description in the sourceread
readNo description in the sourceread

Audit history

  1. ✕BLOCK F 59 / 100

    First audit · 56c51cf464ff

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

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?
CLI & MCP for GitHits - The Code Context Layer for AI Coding Agents
What tools does GitHits expose?
8 in total: 7 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is GitHits safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (59/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does GitHits need?
It reads ANTHROPIC_API_KEY, GITHITS_API_TOKEN, GITHITS_AUTH_STORAGE and OPENAI_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does GitHits run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @githits/mcp at 0.27.1.
How current is this page?
The grade is for one exact copy of the source (56c51cf464ff), read on 2026-10-07. The repository is watched and re-audited when it changes.
I already installed GitHits. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

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.