# CodeGate

CodeGate is a self-hosted ai app. CodeGate was an experimental AI security gateway for developers using AI coding assistants that intercepted requests to detect security risks, protect privacy, and enforce safer code; it is deprecated and no longer... It is open source and self-hosted, installable on TrueNAS.

Canonical page: https://ourlocalhost.com/app/5966/codegate

## Description

CodeGate was an experimental AI security gateway for developers using AI coding assistants that intercepted requests to detect security risks, protect privacy, and enforce safer code; it is deprecated and no longer maintained.

## Platform availability

Available on 1 of 10 platforms: TrueNAS.

## Health score

19/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 58 (789 GitHub stars)
- Easy to install: 15 (0 install platforms, install notes)
- Security check: 10 (3 serious findings, 15 minor, CI, tests)

## Security check

3 serious findings: A private key is committed in the source code; Uses anyio 4.8.0, which has a known critical vulnerability; Uses certifi 2025.1.31, which has a known critical vulnerability.
Automated checks on commit 6bd3c4c, 29 Oct 2026. Not an audit.

## Links

- TrueNAS: https://apps.truenas.com/catalog/codegate/
- Official website: https://codegate.ai
- Documentation: https://docs.codegate.ai
- GitHub: https://github.com/stacklok/codegate

## Common questions

### Does CodeGate intercept traffic between my editor and the AI model?

CodeGate is described as a security proxy that sits between the LLM and the user’s IDE. It filters input and output in that path.

### Can CodeGate review only a single file or a remote repository URL?

Yes. CodeGate can scan directories for project-level visibility, single files for fast triage, and URLs for pre-install review of remote repositories.

### Can CodeGate manage multiple model providers and prompts from one place?

CodeGate provides a centralized, abstracted environment for managing prompts, model provider configurations, and model muxing.

### How should I report missing or incorrect CodeGate documentation?

You can report something missing, wrong, or unclear by opening an issue or a PR on the CodeGate docs repository.

---
Source: Our Local Host (https://ourlocalhost.com/app/5966/codegate), the self-hosted and open-source app directory.
