SecHelix

io.github.omarmohelal由 GitHub 帳號 omarmohelal 發布v0.3.0更新於 Oct 24, 2026

Evidence-first security review of authorized repositories. Read-only, root-confined, no shell.

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

概覽

AI 產生的概覽

讓程式開發助理對已獲授權的程式碼儲存庫進行以證據為先的唯讀安全審查,並在回報前驗證候選問題。

可以做什麼
SecHelix 在你指定的儲存庫根目錄上提供七個工具,不使用 shell,也不存取網路。其中六個工具只讀取;稽核工具只會在該根目錄內寫入執行工作區。它會梳理攻擊面與信任邊界、挑選適用的安全檢查、調查候選問題,並把重要候選交給獨立驗證器,其職責是設法推翻該發現。輸出包含有證據支撐的發現、被推翻的候選、根因修復建議、回歸測試、複測狀態,以及 PASS、BLOCKED 或 INCOMPLETE 等發布結論。
適用情境
當你希望助理審查你擁有或已獲授權測試的程式碼安全問題(包括身分驗證、授權、注入、SSRF、檔案處理、供應鏈以及 AI/MCP 相關介面)時適用。它也適合 AI 產生或快速原型的應用程式上線前檢查、拉取請求安全審查,以及產出發布閘門結論。
執行需求
透過 stdio 在本機執行,使用 uvx 從 PyPI 安裝(例如 uvx sechelix mcp /path/to/repository)。README 說明 Agent Skill 形式下 Python 執行環境為選用,而 MCP 轉接器屬於選用的 CLI 執行環境。未宣告驗證、環境變數或標頭。請把根目錄指向要審查的儲存庫,而不是你的家目錄。
安裝前請注意
僅可用於你擁有或明確獲授權評估的系統;它不是網際網路掃描器,也不附帶漏洞利用酬載。稽核工具會在所選根目錄內寫入執行工作區,因此需謹慎限定該根目錄。README 說明 PASS 並非認證,一次盲測在 12 個已知 CVE 中只找到 2 個,精確度為 NOT_MEASURED,且多數發現被標記為未經證實;推理仍由模型完成。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[SecHelix — evidence-first application security for coding agents]

Most AI security tools try to find more. SecHelix tries to prove itself wrong.

[validation] [Apache-2.0]

SecHelix

Every candidate finding goes to an independent verifier whose only job is to disprove it. The report shows you what it refuted and why — and returns INCOMPLETE rather than a clean PASS when it could not actually check.

Open source, Apache-2.0, for code you own or are authorized to test. Runs in Claude Code, Codex, Copilot and other Agent Skills-compatible agents; the Python runtime is optional.

It helps a coding agent:

  • map the attack surface and trust boundaries;
  • review only security checks that apply to the project;
  • investigate authentication, authorization, business logic, injection, SSRF, files, supply chain, AI/MCP and other security surfaces;
  • verify important candidates instead of reporting guesses;
  • fix the root cause;
  • add regression proof and retest;
  • return a clear release decision.

See it work in 90 seconds

bash
git clone https://github.com/omarmohelal/SecHelix && cd SecHelixpython examples/expense-api/prove.py

A small multi-tenant API with two candidate issues. One is a real cross-tenant read that a scanner walks past, because the endpoint does have an authorization check — it just checks the wrong thing. The other is f-string SQL that every pattern matcher flags and that is not exploitable at all.

Walkthrough, root cause, the two-line fix and the regression proof: examples/expense-api.

Or take the same test in your browser — ten cases, three of them decoys, no signup: Can you tell the real bug from the decoy?

Install

Recommended for Agent Skills-compatible coding agents:

bash
npx skills@latest add omarmohelal/SecHelix --skill sechelix

Then open the repository you want to review in your coding agent. The skill installs instructions and data only — no executable code. The optional runtime below is a separate, explicit install.

A compact edition, sechelix-lite, is a single runtime-free review skill (about 200 lines plus five references) for skill directories and hosts where a small context footprint matters. See docs/distribution/awesome-copilot.md.

Use it

Full security audit

Copy this into your agent:

text
Use SecHelix for a complete authorized security audit of this repository.Start STATIC and use LOCAL only if it is safe and useful.Map the attack surface and trust boundaries first.Verify important candidates before reporting them.Fix root causes, add regression tests, retest, and give me the final release gate.

Fast security review

text
Use SecHelix to triage this repository for security issues.Prioritize authentication, authorization, business logic, secrets, injection, SSRF, file handling, supply chain, dangerous configuration, and AI/MCP surfaces.Return evidence-backed findings and clearly mark anything unproven.

AI-built app launch audit

Use this before launching an AI-generated, agent-generated, rapidly prototyped, or vibe-coded application:

text
Use SecHelix's AI-Built App Launch Audit on this authorized application.Evaluate launch checks 01-36 from references/ai-built-app-launch.md.Do not mark PASS without exact code, configuration, policy, test, log, or safe runtime evidence.For every FAIL or security-relevant UNKNOWN, give the realistic failure mode, smallest root-cause fix, and exact safe verification step.After fixes, re-run the failed/unknown checks and produce the normal SecHelix release gate.

The launch profile covers practical pre-release failures around secrets, auth/authz, cross-user data, database/storage permissions, debug exposure, input validation, SQL/NoSQL injection, XSS/CSRF, uploads, traversal, SSRF, password reset, sessions/JWT, CORS, rate limiting, staging, default credentials, webhooks, payments/entitlements, IDOR/BOLA, sensitive logs, and production artifacts.

Review a pull request

text
Review this PR with SecHelix.Focus on security changes introduced by the diff, verify important candidates, and tell me whether the PR introduces a verified blocker or known risk.

Fix findings

text
Use SecHelix Fix Mode on the verified findings.Fix the root cause, look for variants of the same bug, add security regression tests, and retest the original finding.

More copy-paste workflows: Command Cookbook.

What should I ask SecHelix to do?

GoalAsk for
Full repository reviewcomplete security audit
Quick first passsecurity triage
AI-built/vibe-coded app before launchAI-Built App Launch Audit
Broken access controlauthorization / IDOR / BOLA audit
Login and sessionsauthentication / session / OAuth audit
Input handlinginjection / XSS / SSRF / files audit
Payments and workflowsbusiness logic / race / idempotency audit
Dependencies and CIsupply chain / CI/CD audit
LLMs, agents and toolsAI / Agent / MCP security audit
A code changePR security review
Existing verified issuesFix Mode
Release decisionrelease gate
Shareable outputsecurity report

You do not need to memorize special slash commands. SecHelix is primarily a skill: tell the coding agent what security job you want done.

How the review works

text
scope  → map attack surface  → select applicable checks  → investigate  → independently verify important candidates  → fix root cause  → add regression proof  → retest  → report + release gate

A scanner match or model suspicion is treated as a candidate, not automatically as a vulnerability.

A strong finding should show the affected surface, attacker control or security boundary involved, reachability, impact, root cause, safe evidence, the fix, and regression/retest status.

What SecHelix does not claim

  • It is not a certification. PASS means the release-gate rules found no unresolved blocking condition in what was reviewed, not that the software has no vulnerabilities.
  • On real code it found 2 of 12 known CVEs. A blinded run against the vulnerable and patched trees of 12 recent CVEs found 2 cleanly under the pre-registered rule, 3 with hand adjudication, and no finding it marked VERIFIED was one of the known defects (report). Precision is NOT_MEASURED.
  • The model still does the reasoning. SecHelix structures the review and labels unproven claims as unproven rather than dropping them: in that run 92 of 106 findings were marked LIKELY_BUT_UNPROVEN or HYPOTHESIS. It does not make a model see a bug it cannot reason about.
  • Host support varies. Installation is verified for the Claude Code plugin, the Agent Skills CLI, the portable bundle and the curated Copilot CLI plugin; other hosts are documented paths (compatibility).
  • Authorized targets only. It is not an internet scanner and ships no exploit payloads.

Full local runtime: SecHelix + embedded Strix

For the complete local stack, including the exact Strix source revision that SecHelix has compatibility-tested, clone with submodules and run the bootstrap:

bash
git clone --recurse-submodules https://github.com/omarmohelal/SecHelix.gitcd SecHelixbash scripts/bootstrap-full.sh

This materializes Strix under engines/strix inside the SecHelix checkout and installs both projects into one Python 3.12 virtual environment. The source is embedded for reproducible installation, while the SecHelix adapter remains the authorization/evidence boundary. OpenRouter setup and first-run commands are in docs/full-install.md.

Optional CLI runtime

The Agent Skill works without the Python runtime. The runtime is optional and adds stored runs, coverage tracking, replayable evidence, reports, CI-friendly exit codes, and an MCP adapter.

Install it with:

bash
pipx install sechelixsechelix doctor

uv tool install sechelix and python -m pip install sechelix are also supported.

Useful CLI commands

CommandWhat it does
sechelix doctorShows available components and reasoning executors
sechelix audit . --executor claude-codeRuns an audit using Claude Code as the reasoning executor
sechelix audit . --executor gemini-cliRuns an audit using Gemini CLI as the reasoning executor
sechelix audit . --resume-from .sechelix/checkpoints/RUN-....json --executor nexusResumes only unfinished nodes after verifying the sealed checkpoint against the same target, scope, graph and input world
sechelix launch-audit . --executor claude-codeRuns evidence-routed AI-built-app launch checks 19-36 without turning “no candidate” into PASS
sechelix runsLists saved runs and checks their integrity
sechelix coverageShows what previous runs did not examine
sechelix reportRenders the latest saved run
sechelix replay <run_id>Replays a recorded run offline and checks consistency
sechelix mcp .Serves the local MCP adapter over stdio

Example:

bash
sechelix doctorsechelix audit . --executor claude-codesechelix launch-audit . --executor claude-codesechelix coveragesechelix report --format markdown

sechelix audit . with the default --executor none intentionally does not pretend to analyze code. Reasoning nodes are blocked and the run remains incomplete until a real executor is configured.

Audit and launch-audit runs now write a self-sealed node-boundary checkpoint under .sechelix/checkpoints/ by default. If the process or host dies, pass that file to --resume-from; completed node evidence is kept, remaining nodes can use a different executor/provider, and resume fails closed if the target commit, scope, graph, input world, budget limits, or checkpoint digest changed.

For all CLI flags:

bash
sechelix --helpsechelix audit --help

Advanced runtime guide: V4 Runtime Quickstart.

GitHub Action

yaml
- uses: omarmohelal/[email protected]  with:    executor: none

Outputs PASS, PASS_WITH_KNOWN_RISK, BLOCKED or INCOMPLETE, writes SARIF for code scanning, and uploads the run as an artifact. The default executor: none deliberately reports INCOMPLETE rather than a green check it did not earn — configure a reasoning executor to get an actual review.

Full reference: GitHub Action.

MCP adapter

bash
uvx sechelix mcp /path/to/the/repository

Seven tools over a root you choose, no shell, no network. Six only read; sechelix_audit writes only a run workspace inside that root. The root is the security boundary: point it at the repository under review, not at your home directory.

Reference: MCP adapter.

Execution modes

ModeUse it for
STATICSource, configuration and schema review without dynamic traffic
LOCALSafe dynamic proof against a local app and fixtures
STAGINGExplicitly authorized non-production testing
PRODUCTION_SAFEBounded, non-destructive verification only

Only test systems you own or are explicitly authorized to assess. See SECURITY.md.

Output

Depending on the workflow and available runtime, SecHelix can produce:

  • evidence-backed findings and refuted candidates;
  • root-cause remediation guidance or fixes;
  • security regression tests;
  • retest status;
  • Markdown, redacted JSON, SARIF or HTML reports;
  • a release decision: PASS, PASS_WITH_KNOWN_RISK, BLOCKED, or INCOMPLETE.

Documentation

Start with the practical docs and use the deeper material only when you need it:

The repository also contains detailed schemas, catalogs, adapters, evaluation fixtures and research material. They support the framework; you do not need to read them to start using SecHelix.

License

Apache-2.0. See LICENSE.

來源:README.md,提交 52529ff

工具

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

版本歷史

1
  1. v0.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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