sentrik
Provides AI coding agents with real-time access to compliance rules, scan results, and remediation guidance to enforce coding standards and security policies on generated code.
README
<p align="center"> <h1 align="center">Sentrik</h1> <p align="center"><strong>Governance runtime for AI-generated code</strong></p> <p align="center">Scan, gate, and trace compliance automatically — before it ships.</p> </p>
<p align="center"> <a href="https://sentrik.dev">Website</a> • <a href="https://docs.sentrik.dev">Docs</a> • <a href="https://github.com/maxgerhardson/sentrik-community/discussions">Community</a> • <a href="https://sentrik.dev/pricing">Pricing</a> </p>
What is Sentrik?
Sentrik is a CLI + dashboard that enforces coding standards, compliance rules, and security policies on every commit. Built for teams using AI coding agents (Claude Code, Cursor, Copilot) where code is generated faster than humans can review it.
The problem: AI agents write code that works but may violate security policies, compliance requirements, or architectural standards. Nobody catches it until audit time.
The solution: Sentrik scans every change against regulatory standards (OWASP, SOC 2, HIPAA, PCI-DSS, FDA IEC 62304, and more), gates PRs that fail, and generates audit-ready evidence.
Install
pip install sentrik
Installing gives you the free tier immediately — 6 standards packs, 193 rules, no license key or sign-up. Paid tiers are activated with a license key from hello@sentrik.dev.
Quick Start
# 1. Initialize your project (auto-detects language, frameworks, CI)
sentrik init
# 2. Scan your code
sentrik scan
# 3. Enforce the gate in CI (exit 1 on failure)
sentrik gate
# 4. Launch the dashboard
sentrik dashboard
Free Tier (forever, no credit card)
Sentrik includes 6 standards packs with 193 rules for free:
| Pack | Rules | What it catches |
|---|---|---|
| OWASP Top 10 | 69 | SQL injection, XSS, auth flaws, SSRF, and more |
| SOC 2 | 30 | Trust services criteria for security & availability |
| Python Security | 18 | eval/exec, pickle, subprocess, Django/Flask vulns |
| Go Security | 15 | Injection, crypto misuse, unsafe, concurrency bugs |
| Supply Chain Security | 26 | SLSA, SBOM, dependency integrity, AI tool supply chain |
| C/C++ Coding Standards | 35 | Modern C/C++ safety and security practices |
Plus built-in commands at every tier:
sentrik scan/sentrik gate- Scan and enforcesentrik vulns- Dependency vulnerability scanning (CVEs)sentrik sbom- Software bill of materialssentrik secrets- Hardcoded secrets detectionsentrik dashboard- Web UI with findings, charts, and reportssentrik threat-model- STRIDE threat analysissentrik quality-score- Code quality scoring (0-100)
Paid Tiers
| Free | Team | Organization | |
|---|---|---|---|
| Standards packs | 6 (193 rules) | 18 (475 rules) | 24 (595 rules) |
| OWASP, SOC 2, Supply Chain, C/C++ | Yes | Yes | Yes |
| HIPAA, PCI-DSS, ISO 27001, GDPR | - | Yes | Yes |
| FDA IEC 62304, NIST, CMMC, Cloud IaC | - | Yes | Yes |
| MISRA-C, DO-178C, ISO 26262 | - | - | Yes |
| Vulnerability scanning | Yes | Yes | Yes |
| Dashboard | Yes | Yes | Yes |
| Work item reconciliation | - | Yes | Yes |
| Custom rule packs | 5 | 25 | 100 |
| Parallel scanning | - | - | Yes |
| Governance & audit log | - | - | Yes |
Paid tiers are available by contacting hello@sentrik.dev — see sentrik.dev/pricing.
CI/CD Integration
GitHub Actions (Marketplace)
# .github/workflows/sentrik.yml
name: Sentrik Gate
on: [pull_request]
jobs:
gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: maxgerhardson/sentrik-community@v1
That's it — one line. The action auto-detects PR context, runs the gate, uploads SARIF to GitHub Code Scanning, and attaches the findings report as an artifact.
With options:
- uses: maxgerhardson/sentrik-community@v1
with:
packs: "owasp-top-10,soc2,supply-chain-security"
fail-on: "critical,high"
license-key: ${{ secrets.SENTRIK_LICENSE_KEY }}
Using outputs:
- uses: maxgerhardson/sentrik-community@v1
id: sentrik
- run: echo "Found ${{ steps.sentrik.outputs.findings-count }} findings"
if: always()
GitLab CI
sentrik:
image: maxgerhardson/sentrik:latest
script:
- sentrik gate --git-range "origin/main...HEAD"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
Azure Pipelines
- script: |
pip install sentrik
sentrik gate --git-range "origin/main...HEAD"
displayName: Sentrik Gate
AI Agent Integration
Sentrik works as an MCP server for AI coding agents:
# Start MCP server for Claude Code, Cursor, VS Code
sentrik mcp-server
The MCP server gives AI agents real-time access to compliance rules, scan results, and remediation guidance — so they write compliant code from the start.
Example Configurations
Starter (web app)
# .sentrik/config.yaml
standards_packs:
- owasp-top-10
- supply-chain-security
gate:
fail_on:
- critical
- high
Healthcare / Medical Device
standards_packs:
- owasp-top-10
- hipaa
- fda-iec-62304
- supply-chain-security
gate:
fail_on:
- critical
- high
- medium
Fintech
standards_packs:
- owasp-top-10
- pci-dss
- soc2
- supply-chain-security
gate:
fail_on:
- critical
- high
Government / Defense
standards_packs:
- owasp-top-10
- nist-800-53
- cmmc
- supply-chain-security
gate:
fail_on:
- critical
- high
- medium
Community
- Discussions - Ask questions, share tips, show what you've built
- Issues - Report bugs or request features
- Documentation - Full CLI reference, configuration guide, API docs
Support
| Channel | For |
|---|---|
| GitHub Discussions | Questions, ideas, community help |
| support@sentrik.dev | Direct support (paid tiers) |
| sales@sentrik.dev | Pricing and licensing |
License
Proprietary. Free tier available forever with no credit card required.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。