Sign In

korext

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

korext

KOREXT CLI. AI Code Governance. Enforce compliance policies on human written and AI generated code. 72 policy packs. 532 rules. 13 languages. Signed proof bundles.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

KOREXT CLI

AI Code Governance for your terminal and CI/CD pipelines.

Enforce compliance policies on human written and AI generated code. 72 policy packs. 532 detection rules. 13 languages. Cryptographically signed proof bundles.

Install

npm install -g korext

Quick Start

# Sign in
korext login

# Initialize your project
korext init

# Enforce policies on your code
korext enforce .

# Enforce with specific packs
korext enforce . --pack web,pci-dss-v1

# Enforce with a specific region
korext enforce . --region eu --pack web

# Generate a signed proof bundle
korext enforce . --pack web --sign

Commands

CommandDescription
korext loginSign in to your KOREXT account
korext initInitialize a project with korext.json
korext enforce <path>Run policy enforcement on files
korext packs listList all available policy packs
korext industriesList industries and their packs
korext bundle listList your recent proof bundles
korext bundle export <id>Download a proof bundle as PDF
korext bundle verify <id>Verify a proof bundle signature
korext statusShow current configuration and region

Enforce Options

FlagDescriptionDefault
--pack <ids>Comma separated pack IDsweb
--region <name>Data region (us, eu, apac)us
--format <type>Output format (text, json, sarif)text
--signRequest signed proof bundlefalse
--industry <name>Select packs by industry(none)
--offlineRun with local engine onlyfalse

Output Formats

Text (default): Human readable violation list with governance context.

JSON: Machine readable output with full violation details, confidence scores, and proof bundle metadata.

SARIF: Static Analysis Results Interchange Format for CI/CD integration. Compatible with GitHub Code Scanning, Azure DevOps, and other SARIF consumers.

CI/CD Integration

GitHub Actions

- uses: korext/enforce-action@v3
  with:
    pack: web,pci-dss-v1
    region: eu
  env:
    KOREXT_API_TOKEN: ${{ secrets.KOREXT_API_TOKEN }}

Pre-commit Hook

# .husky/pre-commit
korext enforce . --pack web

Generic CI

npm install -g korext
korext login --token $KOREXT_API_TOKEN
korext enforce . --pack web --format sarif --sign

Exit Codes

CodeMeaning
0PASS (no violations)
1BLOCK (violations found)
2ERROR (invalid input, network, auth)

CI pipelines should fail on exit code 1 to block non-compliant code from merging.

Configuration

korext.json

{
  "project": "my-app",
  "targetPacks": ["web", "pci-dss-v1"],
  "region": "eu",
  "industry": "finance"
}

Environment Variables

VariableDescription
KOREXT_API_TOKENAPI token for CI/CD (from dashboard)

Data Sovereignty

Choose your data processing region: US, EU, or Asia Pacific. Set via --region flag, korext.json, or korext init. All enforcement data stays in your chosen region.

  • Website
  • Dashboard
  • Documentation
  • GitHub Action
  • VS Code Extension

License

Proprietary. See Terms of Service.

Keywords

governance

FAQs

Package last updated on 16 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts