Flagrix MCP server
io.github.flagrix-io/flagrix·v0.1.0·2 starsScan GitHub repos and profiles for malware before cloning — commit-pinned risk verdicts for agents
2 stars46 downloads/wk
Reviews
Write oneNobody has reviewed Flagrix yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Flagrix tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
scan_github_repoScans a GitHub repository for malicious patterns (backdoors, data exfiltration, supply-chain attacks, known-bad packages) BEFORE cloning or installing it. The verdict is pinned to the repository's current commit SHA. Call this before cloning any untrusted repository.
scan_github_userScores a GitHub user profile for throwaway-account and scam signals (account age, followers, activity, repository authenticity). Useful for vetting a 'recruiter' or 'client' before engaging with their repositories.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan6 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 74 days ago12/15
- Maintainer identityregistry namespace matches repository owner7/10
Findings (1)
- mediumeval / new Function used
exec.evalassets/signatures-snapshot.json: …`]{0,200}[\"'`]", "description": "eval(), new Function(), or setTimeout/setInte…
How Flagrix compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 69/100
- higher than 28% of 1,119 Developer tools servers
- Tools
- 2
- the typical Developer tools server has 7
- Tools that change things
- 0%
- typical: 5%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 65% of 855 Developer tools servers
- Downloads a week
- 46
- more than 34% of 436 Developer tools servers with a package
What its tools let an agent do: 2 read
Install Flagrix in Claude Code, Cursor or VS Code
Runs npx -y flagrix on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add flagrix -- npx -y flagrix
What the publisher says
From the Flagrix repository's README, as published. We do not edit it. Read it on GitHub
flagrix
Scan GitHub repositories and profiles for malware before you clone — from the terminal, CI, or an AI agent. The same commit-pinned verdict as the Flagrix browser extension, made callable.
npx flagrix scan https://github.com/some-org/coding-assignmentsome-org/coding-assignment @ 3f9c2a1
HIGH RISK — Do not clone security score 12/100
3 files scanned · 10 dependencies · 2 issues
CRITICAL Data exfiltration patterns detected: Keylogger Pattern
assignment.js:14
14 document.addEventListener("keydown", (e) => send(e.key))Built after real fake-recruiter campaigns ("coding assignment" repos that steal wallets, SSH keys, and browser sessions) started targeting developers.
Commands
flagrix scan <url | owner/repo> # scan a repository (--ref <branch|sha>)
flagrix scan-user <username> # score a GitHub profile for scam signals
flagrix mcp # MCP server (stdio) for AI agentsExit codes
--json (automatic when stdout is piped) emits the full result. The verdict is pinned to the scanned commit (commitSha in the JSON): every file is read at that SHA, so a push mid-scan or after the verdict can't silently invalidate it.
AI agents
claude mcp add flagrix -- npx -y flagrix mcpTools: scangithubrepo, scangithubuser. A Claude Code hook that gates every git clone on a scan ships in hooks/ — see docs/agent-gating.md.
Tokens & rate limits
Unauthenticated scans use GitHub's 60 req/h budget (a scan issues one request per scanned file, up to ~50). Set GITHUBTOKEN (or FLAGRIXGITHUB_TOKEN, or --token) to raise it to 5,000/h and to scan private repositories.
Privacy
Fully local. No telemetry, no accounts, no Flagrix backend — the only network calls go to the GitHub/npm APIs and the public detection-rules repository (signature refresh, cached 6 h, with a bundled offline snapshot).
How it works
Scanning logic lives in @flagrix/scanner-core (MIT), signatures in flagrix-detection-rules (MIT) — the same engine and rules the browser extension uses. Verdicts are risk assessments, not definitive fraud determinations; always verify through official channels.
AI Disclosure
This project leverages Claude AI for boilerplate generation, test-suite expansion, and optimization. All AI-generated code is strictly reviewed, refactored, and verified by human maintainers before merging.
License
MIT — see LICENSE.
Nothing above is checked by us. What we check is on the safety report.
Flagrix: common questions
- Is Flagrix MCP server safe?
- With care: it is graded C, so read the findings first (69/100). Read the Flagrix safety report
- How do I install Flagrix?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Flagrix need an API key?
- Yes. The registry entry asks for
GITHUB_TOKEN. - Is Flagrix maintained?
- The last commit was 114 days ago (2026-07-13). The latest release is v0.1.0.
- What can I use instead of Flagrix?
- Servers from other publishers that do the same job: GitHub MCP server, Gk CLI MCP server and OctoCounts MCP Server.
- How does Flagrix compare with other Developer tools MCP servers?
- safety score 69/100 (higher than 28% of 1,119 Developer tools servers); tools 2 (the typical Developer tools server has 7); tools that change things 0% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Flagrix
Same job from other publishers: the closest match first, then the best rated.
- GitHubConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.not reviewedEstablishedA
Gk CLIThe GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.not reviewedEstablishedB- OctoCounts MCP ServerAnalyze and compare public GitHub repo line counts (SLOC) via OctoCounts, from any MCP client.not reviewedGrowingA
- GitDiagramArchitecture diagrams, explanations and Mermaid source for public GitHub repositories.not reviewedEstablishedA
- Agent HarnessesAgent-harness picks, decision guides, setup templates, and skills; live GitHub/HN discovery.not reviewedEstablishedA