Sentrik

السجل الرسمي أدوات المطورين

Governance runtime for AI-generated code. Enforce compliance and security standards.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package sentrik
Claude Code
claude mcp add sentrik -e 'GUARD_LICENSE_KEY=<your guard_license_key>' -- npx -y sentrik@1.2.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "sentrik": {
            "command": "npx",
            "args": [
                "-y",
                "sentrik@1.2.0"
            ],
            "env": {
                "GUARD_LICENSE_KEY": "<your guard_license_key>"
            }
        }
    }
}

متغيرات البيئة

  • GUARD_LICENSE_KEY سري Sentrik license key for Team/Organization features (optional — free tier works without it)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Sentrik
  2. What is Sentrik?
  3. Install
  4. Quick Start
  5. Free Tier (forever, no credit card)
  6. Paid Tiers
  7. CI/CD Integration
  8. AI Agent Integration
  9. Example Configurations
  10. Community
  11. Support
  12. License

Sentrik

Governance runtime for AI-generated code

Scan, gate, and trace compliance automatically — before it ships.

Website • Docs • Community • Pricing


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:

PackRulesWhat it catches
OWASP Top 1069SQL injection, XSS, auth flaws, SSRF, and more
SOC 230Trust services criteria for security & availability
Python Security18eval/exec, pickle, subprocess, Django/Flask vulns
Go Security15Injection, crypto misuse, unsafe, concurrency bugs
Supply Chain Security26SLSA, SBOM, dependency integrity, AI tool supply chain
C/C++ Coding Standards35Modern C/C++ safety and security practices

Plus built-in commands at every tier:

  • sentrik scan / sentrik gate - Scan and enforce
  • sentrik vulns - Dependency vulnerability scanning (CVEs)
  • sentrik sbom - Software bill of materials
  • sentrik secrets - Hardcoded secrets detection
  • sentrik dashboard - Web UI with findings, charts, and reports
  • sentrik threat-model - STRIDE threat analysis
  • sentrik quality-score - Code quality scoring (0-100)

Paid Tiers

FreeTeamOrganization
Standards packs6 (193 rules)18 (475 rules)24 (595 rules)
OWASP, SOC 2, Supply Chain, C/C++YesYesYes
HIPAA, PCI-DSS, ISO 27001, GDPR-YesYes
FDA IEC 62304, NIST, CMMC, Cloud IaC-YesYes
MISRA-C, DO-178C, ISO 26262--Yes
Vulnerability scanningYesYesYes
DashboardYesYesYes
Work item reconciliation-YesYes
Custom rule packs525100
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

ChannelFor
GitHub DiscussionsQuestions, ideas, community help
support@sentrik.devDirect support (paid tiers)
sales@sentrik.devPricing and licensing

License

Proprietary. Free tier available forever with no credit card required.

الأسئلة الشائعة

ما هو Sentrik؟

Governance runtime for AI-generated code. Enforce compliance and security standards.

كيف أثبّت Sentrik؟

يعمل على جهازك. في Claude Code: claude mcp add sentrik -e 'GUARD_LICENSE_KEY=<your guard_license_key>' -- npx -y sentrik@1.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Sentrik إلى مفتاح API؟

نعم. يتطلب GUARD_LICENSE_KEY، وتضبطها في إعداداته.

هل Sentrik مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Sentrik؟

ينشره maxgerhardson. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.