Is GitMCP safe?
- Node.js network egress
- npm prepare hook
- MCP tool surface detected
git-mcp is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 3 risky constructs are reported for review. It can: install time execution, mcp tools detected and network egress — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
git-mcp 1.0.0
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of GitMCP's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (3)
package.json has a 'prepare' script (runs on git/local installs and before publishing).
"prepare": "husky"
Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.
Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.
The component makes outbound network requests.
const response = await fetch(url);
const response = await fetch(searchUrl, {const response = await fetch(url, {const response = await fetch(url, {const response = await fetch(url);
const response = await fetch(robotsTxtUrl);
async fetch(request: Request, env: any, ctx: any) {return await MyMCP.serve("/*").fetch(request, env, ctx);const res = await env.ASSETS.fetch(`${origin}/README.md`);fetch(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>): Promise<Response>;
declare function fetch(input: RequestInfo | URL, init?: RequestInit<RequestInitCfProperties>): Promise<Response>;
fetch(request: Request): Response | Promise<Response>;
fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
An MCP tool surface (manifest or tool definitions) was found.
const mcp = new McpServer({mcp.tool("fetch_documentation", "Fetch documentation for a repository (URL will be provided when called).", {mcp.tool("search_documentation", "Search documentation for a repository (URL will be provided when called).", {server = new McpServer({Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →