Sentrik

io.github.maxgerhardson由 GitHub 帳號 maxgerhardson 發布v1.2.0更新於 Oct 24, 2026

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

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

以 MCP 伺服器方式執行 Sentrik 的合規與安全掃描,讓 AI 編碼助理依標準檢查程式碼並檢視發現的問題。

可以做什麼
Sentrik 是針對 AI 生成程式碼的治理執行環境,透過 sentrik mcp-server 指令提供給助理使用。它讓助理存取合規規則、掃描結果與修復建議,以便依 OWASP Top 10、SOC 2、HIPAA、PCI-DSS 及供應鏈規則等標準檢查生成的程式碼。其底層 CLI 也能掃描程式碼、在 CI 中攔阻不合格的拉取請求、偵測硬編碼密鑰、掃描相依套件漏洞(CVE)、產生 SBOM,以及輸出威脅模型與品質評分。
適用情境
適合 AI 編碼助理產出程式碼的速度快於人工審查,且需要在程式碼發布前強制執行安全、合規或架構標準的團隊。也適合已使用 Sentrik CLI 或 CI 閘門、希望助理看到相同發現與建議的工作流程。
執行需求
以本機 stdio 程序執行,透過 npm 套件 sentrik 安裝(README 亦提供 pip install sentrik)。僅支援桌面端。免費版不需要授權金鑰或註冊;Team 與 Organization 功能需要授權金鑰,透過環境變數 GUARD_LICENSE_KEY 提供。相依套件漏洞掃描與授權啟用需要網路存取。
安裝前請注意
選用的 GUARD_LICENSE_KEY 密鑰從環境變數讀取,應以機密方式保存,不要提交至版本庫。付費版本需聯絡廠商開通。掃描會讀取原始碼與相依套件資料,儀表板與 CI 整合會寫入發現報告與 SARIF 輸出;啟用前請確認上傳至 GitHub Code Scanning 等第三方服務的內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sentrik,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

bash
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 [email protected].

Quick Start

bash
# 1. Initialize your project (auto-detects language, frameworks, CI)sentrik init
# 2. Scan your codesentrik scan
# 3. Enforce the gate in CI (exit 1 on failure)sentrik gate
# 4. Launch the dashboardsentrik 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 [email protected] — see sentrik.dev/pricing.

CI/CD Integration

GitHub Actions (Marketplace)

yaml
# .github/workflows/sentrik.ymlname: Sentrik Gateon: [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:

yaml
      - 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:

yaml
      - uses: maxgerhardson/sentrik-community@v1        id: sentrik      - run: echo "Found ${{ steps.sentrik.outputs.findings-count }} findings"        if: always()

GitLab CI

yaml
sentrik:  image: maxgerhardson/sentrik:latest  script:    - sentrik gate --git-range "origin/main...HEAD"  rules:    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

Azure Pipelines

yaml
- 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:

bash
# Start MCP server for Claude Code, Cursor, VS Codesentrik 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)

yaml
# .sentrik/config.yamlstandards_packs:  - owasp-top-10  - supply-chain-securitygate:  fail_on:    - critical    - high

Healthcare / Medical Device

yaml
standards_packs:  - owasp-top-10  - hipaa  - fda-iec-62304  - supply-chain-securitygate:  fail_on:    - critical    - high    - medium

Fintech

yaml
standards_packs:  - owasp-top-10  - pci-dss  - soc2  - supply-chain-securitygate:  fail_on:    - critical    - high

Government / Defense

yaml
standards_packs:  - owasp-top-10  - nist-800-53  - cmmc  - supply-chain-securitygate:  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
[email protected]Direct support (paid tiers)
[email protected]Pricing and licensing

License

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

來源:README.md,提交 019e929

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。