Atlas / MCP servers / githits-com / GitHits

GitHitsBLOCK

mcp/githits-com/githits

CLI & MCP for GitHits - The Code Context Layer for AI Coding Agents

Verdict
BLOCK
Grade
F
Trust score
59 /100
Exposed tools
8 7r · 1w · 0d
Transport
stdio · streamable-http
License
Apache-2.0
Stars
114
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

GitHits CLI

The code context layer for AI coding agents.

Website · Documentation · Issues

G

Read from source at commit 56c51cf464ffOBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add githits -- npx -y [email protected] mcp start
03

Exposed tools (8)

7 read · 1 write · 0 destructive.

ToolRiskDescription
default-testreaddefault test
experimental_probereadtest-only experimental factory
githits-mcpreadGuide
pkg_changelogread
pkg_inforead
pkg_vulnsread
quick_startwrite
readread
04

Trust audit

BLOCKgrade F · trust 59/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (4 observation(s))
Shell
declared (2 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (25)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
src/services/exec-service.ts:107
exec(
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHPrompt injection · prompt.credential_read · CWE-94, CWE-1427
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 it matters. asks the agent to read credentials
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
scripts/proxy-node-smoke.mjs:91
`http://127.0.0.1:${direct.port}/direct`,
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/commands/init/claude-user-config.test.ts:150
const secret = "super-secret-credential";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/commands/init/init.test.ts:4744
const secret = "claude-malformed-secret";
MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
src/commands/init/init.test.ts:4782
const secret = "claude-permission-secret";
LOWInventory / provenance · inv.hidden_file · CWE-1104
.lintstagedrc.js
.lintstagedrc.js
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.node-version
.node-version
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.symlink · CWE-1104
CLAUDE.md
CLAUDE.md
Why it matters. link not followed
LOWInventory / provenance · inv.symlink · CWE-1104
GEMINI.md
GEMINI.md
Why it matters. link not followed
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
.github/workflows/mcp-release.yml:184
run: bun run ../../scripts/publish-npm.ts
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
eval/agentic/context-loading/fixture-server.test.ts:5
import { getMcpToolDescriptors } from "../../../packages/mcp/src/mcp/server.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
eval/agentic/context-loading/fixture-server.test.ts:6
import { EXTERNAL_CONTENT_POSTURE } from "../../../packages/mcp/src/tools/guardrails.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
eval/agentic/context-loading/fixture-server.ts:3
import { buildMcpQuickStart } from "../../../packages/mcp/src/mcp/instructions.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
eval/agentic/context-loading/fixture-server.ts:4
import { getMcpToolDescriptors } from "../../../packages/mcp/src/mcp/server.js";
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
packages/core-internal/src/services/config.test.ts:42
"http://127.0.0.1:4000",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/commands/doctor.test.ts:359
redirectUri: "http://127.0.0.1:8080/callback",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/commands/doctor.test.ts:441
redirectUri: "http://127.0.0.1:8080/callback",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
src/commands/login.test.ts:147
redirectUri: "http://127.0.0.1:8080/callback",
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/mcp/src/shared/code-diff-text.test.ts:146
path: "👨👩👧👦",
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/mcp/src/shared/code-diff-text.test.ts:161
" 한     | 1 +\n longer | 1 -\n 👨👩👧👦     | 2 +-\n",
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/mcp/src/shared/unified-search-semantic-text.test.ts:238
text: "e\u0301👩💻 hit",
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/mcp/src/shared/unified-search-semantic-text.test.ts:251
expect(plain).toContain("> 143 | ...e\u0301👩💻 hit...");
LOWObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
packages/mcp/src/shared/unified-search-semantic-text.test.ts:255
`e\u0301👩💻 ${colors.bold}${colors.yellow}hit${colors.reset}`,
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @napi-rs/keyring, fast-string-width, jsonc-parser, open, smol-toml, yaml, zod
Why it matters. 13 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 56c51cf464fffull audit observations/trust-audit/mcp-server/githits-com__githits.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0756c51cf464ffBLOCKF59first audit
06

Questions

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.

Advertisement