Korext: AI Code Governance
Governance copilot for AI-assisted coding. 72 packs, 532 rules, proof bundles.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http korext-ai-code-governance 'https://app.korext.com/api/mcp' --header 'Authorization: <Bearer token from app.korext.com Settings. Format: Bearer <token>>'
{
"mcpServers": {
"korext-ai-code-governance": {
"type": "http",
"url": "https://app.korext.com/api/mcp",
"headers": {
"Authorization": "<Bearer token from app.korext.com Settings. Format: Bearer <token>>"
}
}
}
}
korextclaude mcp add korext-ai-code-governance -- npx -y korext@1.0.0
{
"mcpServers": {
"korext-ai-code-governance": {
"command": "npx",
"args": [
"-y",
"korext@1.0.0"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
KOREXT Enforce Action
Enforce compliance policies on AI generated code in your GitHub workflows.
72 policy packs. 532 rules. 13 languages. Violations appear as GitHub Code Scanning annotations on pull requests.
Quick Start
Add this to .github/workflows/korext.yml:
name: Korext Enforcement
on: [push, pull_request]
permissions:
contents: read
security-events: write
jobs:
enforce:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Korext/enforce-action@v3
with:
api-token: ${{ secrets.KOREXT_API_TOKEN }}
Korext scans your code on every push and PR using the default web policy pack.
How It Works
- Install: The action installs the Korext CLI
- Scan: Runs
korext enforceagainst your codebase with the selected policy pack - Report: Generates a SARIF file and uploads it to GitHub Code Scanning
- Gate: Fails the workflow if critical or high severity violations are found
Violations appear as annotations directly on the PR diff, powered by GitHub Code Scanning.
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
directory | Directory to scan for policy violations | No | . |
pack | Policy Pack ID to enforce | No | web |
api-token | Korext API token for authenticated mode | No | (anonymous) |
fail-on-violations | Fail workflow on critical/high violations | No | true |
sarif-upload | Upload SARIF to GitHub Code Scanning | No | true |
region | Data processing region (us, eu, apac) | No | (default) |
sign-bundles | Request signed proof bundles | No | true |
Outputs
| Output | Description |
|---|---|
violations | Total number of policy violations found |
sarif-file | Path to the generated SARIF results file |
bundle-count | Number of proof bundles generated |
bundles-signed | Number of signed proof bundles |
bundle-ids | Comma separated list of proof bundle IDs |
Examples
Multiple Policy Packs
- uses: Korext/enforce-action@v3
with:
pack: web,pci-dss-v1,owasp-v1
api-token: ${{ secrets.KOREXT_API_TOKEN }}
EU Data Sovereignty
- uses: Korext/enforce-action@v3
with:
pack: gdpr-v1
region: eu
api-token: ${{ secrets.KOREXT_API_TOKEN }}
Scan Specific Directory
- uses: Korext/enforce-action@v3
with:
directory: src/
pack: hipaa-v1
api-token: ${{ secrets.KOREXT_API_TOKEN }}
Warn Only (do not fail)
- uses: Korext/enforce-action@v3
with:
pack: web
fail-on-violations: 'false'
Authentication
For full access to all policy packs and signed proof bundles, create an API token in your KOREXT dashboard and add it as a GitHub secret:
- Go to app.korext.com > Settings > API Tokens
- Create a new token
- Add it as
KOREXT_API_TOKENin your repo's Settings > Secrets and variables > Actions
Without a token, the action runs in anonymous mode (20 requests per hour, limited packs).
Links
License
Proprietary. See Terms of Service.
Questions fréquentes
Qu'est-ce que Korext: AI Code Governance ?
Governance copilot for AI-assisted coding. 72 packs, 532 rules, proof bundles.
Comment installer Korext: AI Code Governance ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http korext-ai-code-governance 'https://app.korext.com/api/mcp' --header 'Authorization: <Bearer token from app.korext.com Settings. Format: Bearer <token>>'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Korext: AI Code Governance ?
Oui. Il attend Authorization, à renseigner dans sa configuration.
Korext: AI Code Governance est-il open source ?
Oui. Son code est sur GitHub sous licence Apache-2.0.
Qui maintient Korext: AI Code Governance ?
Il est publié par Korext. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.