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 分