About Casbin Gateway
Casbin Gateway is an MCP server published by apache in the Agents category: see what every AI coding agent on your machine is doing, and whether the API behind it is the one you paid for. Claude Code, Codex, Cursor, Gemini CLI and more: one endpoint for 44 model vendors, A–F API authenticity grading, per-agent permissions, usage and prompt records. No package is published for it, so it installs from a source checkout.
The repository has 653 stars and 76 forks, is licensed Apache-2.0, and its last commit was on 25 Nov 2026. The latest release is v1.72.0 (16 Feb 2026): Features fix dockerfile missing package (tzdata) (#160)… It follows v1.71.0 (16 Feb 2026), and the 5 most recent releases go back to v1.68.0 (29 Jan 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include access-control, agent-monitoring, ai-gateway, api-proxy, casbin and codex-cli.
Install
git clone https://github.com/apache/casbin-gatewaySecurity checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 9.6K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and 2 more.
- !No dynamic code executionScanned 613 source files and found 3 calls to eval or shell execution, in agentconfig/link_windows.go:37, agentprocess/launch_windows.go:40 and agentsession/command_windows.go:33. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 46 callsagent/scan_linux.go:230, agentauth/login.go:275, agentauth/login_windows.go:38
- Outbound network calls
- 75 callsagentconfig/archive.go:134, agenthook/decide.go:182, agenthook/decide.go:191
- Writes or deletes files
- 183 callsagent/instance.go:213, agent/instance.go:236, agent/instance.go:240
- Lockfile
- go.sum and 2 more
Pattern matches on the source text of 613 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 9.6K words, fetched yesterday. The original in the repository is authoritative.
Read full README