sechelix 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sechelix-0.1.0/.gitignore +27 -0
- sechelix-0.1.0/CHANGELOG.md +128 -0
- sechelix-0.1.0/LICENSE +198 -0
- sechelix-0.1.0/PKG-INFO +73 -0
- sechelix-0.1.0/catalog/checks.json +18203 -0
- sechelix-0.1.0/catalog/hypothesis-ids.txt +546 -0
- sechelix-0.1.0/docs/packaging/PYPI_PUBLISHING.md +50 -0
- sechelix-0.1.0/docs/packaging/PYPI_README.md +50 -0
- sechelix-0.1.0/docs/packaging/RELEASE.md +69 -0
- sechelix-0.1.0/docs/v4-quickstart.md +156 -0
- sechelix-0.1.0/examples/demo-app/README.md +37 -0
- sechelix-0.1.0/examples/demo-app/clean/fetch_avatar.py +22 -0
- sechelix-0.1.0/examples/demo-app/clean/orders.py +12 -0
- sechelix-0.1.0/examples/demo-app/clean/redeem.py +17 -0
- sechelix-0.1.0/examples/demo-app/clean/refund.py +13 -0
- sechelix-0.1.0/examples/demo-app/clean/render_profile.py +9 -0
- sechelix-0.1.0/examples/demo-app/vulnerable/fetch_avatar.py +10 -0
- sechelix-0.1.0/examples/demo-app/vulnerable/orders.py +10 -0
- sechelix-0.1.0/examples/demo-app/vulnerable/redeem.py +13 -0
- sechelix-0.1.0/examples/demo-app/vulnerable/refund.py +12 -0
- sechelix-0.1.0/examples/demo-app/vulnerable/render_profile.py +6 -0
- sechelix-0.1.0/pyproject.toml +80 -0
- sechelix-0.1.0/schemas/ai-bom-v1.schema.json +128 -0
- sechelix-0.1.0/schemas/applicability-input-v1.schema.json +53 -0
- sechelix-0.1.0/schemas/applicability-output-v1.schema.json +49 -0
- sechelix-0.1.0/schemas/attack-surface-v1.schema.json +76 -0
- sechelix-0.1.0/schemas/calibration-v1.schema.json +131 -0
- sechelix-0.1.0/schemas/catalog-v2.schema.json +81 -0
- sechelix-0.1.0/schemas/dependency-exploitability-v1.schema.json +197 -0
- sechelix-0.1.0/schemas/evidence-v1.schema.json +199 -0
- sechelix-0.1.0/schemas/extension-manifest-v1.schema.json +71 -0
- sechelix-0.1.0/schemas/extension-registry-v1.schema.json +39 -0
- sechelix-0.1.0/schemas/finding-v1.schema.json +81 -0
- sechelix-0.1.0/schemas/gold-check-pack-v1.schema.json +159 -0
- sechelix-0.1.0/schemas/knowledge-graph-v1.schema.json +58 -0
- sechelix-0.1.0/schemas/lesson-card-v1.schema.json +50 -0
- sechelix-0.1.0/schemas/mcp-graph-v1.schema.json +158 -0
- sechelix-0.1.0/schemas/policy-pack-v1.schema.json +135 -0
- sechelix-0.1.0/schemas/report-v1.schema.json +272 -0
- sechelix-0.1.0/schemas/research-packet-v1.schema.json +76 -0
- sechelix-0.1.0/schemas/runtime-trace-v1.schema.json +322 -0
- sechelix-0.1.0/schemas/scope-v1.schema.json +429 -0
- sechelix-0.1.0/schemas/secret-lifecycle-v1.schema.json +178 -0
- sechelix-0.1.0/schemas/source-registry-v1.schema.json +102 -0
- sechelix-0.1.0/sechelix_core/__init__.py +20 -0
- sechelix-0.1.0/sechelix_core/ai_inventory.py +372 -0
- sechelix-0.1.0/sechelix_core/applicability.py +90 -0
- sechelix-0.1.0/sechelix_core/attack_chains.py +339 -0
- sechelix-0.1.0/sechelix_core/attack_surface.py +54 -0
- sechelix-0.1.0/sechelix_core/authz_graph.py +1109 -0
- sechelix-0.1.0/sechelix_core/calibration.py +266 -0
- sechelix-0.1.0/sechelix_core/campaigns.py +271 -0
- sechelix-0.1.0/sechelix_core/catalog.py +258 -0
- sechelix-0.1.0/sechelix_core/contracts.py +441 -0
- sechelix-0.1.0/sechelix_core/dependency_graph.py +584 -0
- sechelix-0.1.0/sechelix_core/diff_review.py +447 -0
- sechelix-0.1.0/sechelix_core/evidence_cache.py +602 -0
- sechelix-0.1.0/sechelix_core/knowledge.py +100 -0
- sechelix-0.1.0/sechelix_core/mcp_graph.py +991 -0
- sechelix-0.1.0/sechelix_core/mistake_memory.py +77 -0
- sechelix-0.1.0/sechelix_core/patch_mode.py +345 -0
- sechelix-0.1.0/sechelix_core/policy_packs.py +326 -0
- sechelix-0.1.0/sechelix_core/pr_review.py +663 -0
- sechelix-0.1.0/sechelix_core/proof_bundle.py +322 -0
- sechelix-0.1.0/sechelix_core/quorum.py +242 -0
- sechelix-0.1.0/sechelix_core/remediation.py +271 -0
- sechelix-0.1.0/sechelix_core/revision.py +208 -0
- sechelix-0.1.0/sechelix_core/runtime_trace.py +974 -0
- sechelix-0.1.0/sechelix_core/schema_validation.py +197 -0
- sechelix-0.1.0/sechelix_core/secret_lifecycle.py +630 -0
- sechelix-0.1.0/sechelix_core/untrusted_repo.py +323 -0
- sechelix-0.1.0/sechelix_core/variant_hunter.py +99 -0
- sechelix-0.1.0/sechelix_core/variant_rules.py +248 -0
- sechelix-0.1.0/sechelix_runner/__init__.py +23 -0
- sechelix-0.1.0/sechelix_runner/adaptive.py +282 -0
- sechelix-0.1.0/sechelix_runner/api.py +204 -0
- sechelix-0.1.0/sechelix_runner/budget.py +225 -0
- sechelix-0.1.0/sechelix_runner/cli.py +458 -0
- sechelix-0.1.0/sechelix_runner/compliance.py +257 -0
- sechelix-0.1.0/sechelix_runner/context.py +194 -0
- sechelix-0.1.0/sechelix_runner/coverage.py +324 -0
- sechelix-0.1.0/sechelix_runner/digests.py +67 -0
- sechelix-0.1.0/sechelix_runner/executor.py +136 -0
- sechelix-0.1.0/sechelix_runner/graph.py +189 -0
- sechelix-0.1.0/sechelix_runner/guidance.py +153 -0
- sechelix-0.1.0/sechelix_runner/mcp_server.py +283 -0
- sechelix-0.1.0/sechelix_runner/native.py +217 -0
- sechelix-0.1.0/sechelix_runner/proof.py +270 -0
- sechelix-0.1.0/sechelix_runner/proof_exec.py +462 -0
- sechelix-0.1.0/sechelix_runner/protocols.py +228 -0
- sechelix-0.1.0/sechelix_runner/providers/__init__.py +31 -0
- sechelix-0.1.0/sechelix_runner/providers/base.py +155 -0
- sechelix-0.1.0/sechelix_runner/providers/claude_code.py +229 -0
- sechelix-0.1.0/sechelix_runner/providers/reasoning.py +233 -0
- sechelix-0.1.0/sechelix_runner/replay.py +177 -0
- sechelix-0.1.0/sechelix_runner/report.py +244 -0
- sechelix-0.1.0/sechelix_runner/roles.py +83 -0
- sechelix-0.1.0/sechelix_runner/runner.py +348 -0
- sechelix-0.1.0/sechelix_runner/sandbox.py +309 -0
- sechelix-0.1.0/sechelix_runner/sandbox_exec.py +160 -0
- sechelix-0.1.0/sechelix_runner/storage.py +305 -0
- sechelix-0.1.0/sechelix_runner/telemetry.py +96 -0
- sechelix-0.1.0/sechelix_runner/threat_model.py +182 -0
- sechelix-0.1.0/sechelix_runner/world.py +180 -0
- sechelix-0.1.0/tests/runner/__init__.py +0 -0
- sechelix-0.1.0/tests/runner/test_api.py +112 -0
- sechelix-0.1.0/tests/runner/test_budget.py +82 -0
- sechelix-0.1.0/tests/runner/test_compliance.py +150 -0
- sechelix-0.1.0/tests/runner/test_coverage_and_adaptive.py +262 -0
- sechelix-0.1.0/tests/runner/test_digests.py +44 -0
- sechelix-0.1.0/tests/runner/test_graph.py +102 -0
- sechelix-0.1.0/tests/runner/test_mcp.py +181 -0
- sechelix-0.1.0/tests/runner/test_optionality.py +73 -0
- sechelix-0.1.0/tests/runner/test_packaging.py +88 -0
- sechelix-0.1.0/tests/runner/test_proof_exec.py +254 -0
- sechelix-0.1.0/tests/runner/test_protocols_and_native.py +109 -0
- sechelix-0.1.0/tests/runner/test_providers.py +244 -0
- sechelix-0.1.0/tests/runner/test_replay_and_cli.py +246 -0
- sechelix-0.1.0/tests/runner/test_report_formats.py +125 -0
- sechelix-0.1.0/tests/runner/test_runner.py +179 -0
- sechelix-0.1.0/tests/runner/test_sandbox_and_proof.py +207 -0
- sechelix-0.1.0/tests/runner/test_sandbox_exec.py +138 -0
- sechelix-0.1.0/tests/runner/test_self_audit.py +115 -0
- sechelix-0.1.0/tests/runner/test_storage.py +142 -0
- sechelix-0.1.0/tests/runner/test_threat_model_and_guidance.py +188 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
|
|
4
|
+
# Intentionally NOT ignored: .agents/skills/ and .claude/skills/
|
|
5
|
+
#
|
|
6
|
+
# `gh skill publish --dry-run` warns that these directories "contain installed
|
|
7
|
+
# skills" and suggests gitignoring them. That heuristic is correct for a
|
|
8
|
+
# consumer repository, where those paths hold third-party skills pulled in by a
|
|
9
|
+
# package manager and re-committing them would vendor someone else's code.
|
|
10
|
+
#
|
|
11
|
+
# SecHelix is the opposite case: it *is* the skill. `skills/sechelix/` is the
|
|
12
|
+
# canonical source, and `.claude/skills/sechelix/` and `.agents/skills/sechelix/`
|
|
13
|
+
# are first-party adapter mirrors of it, published deliberately so the skill
|
|
14
|
+
# resolves in each harness without an install step. Nothing under them is
|
|
15
|
+
# third-party. `scripts/validate_skill.py` and the "Ensure adapter mirrors
|
|
16
|
+
# exist" step in .github/workflows/validate.yml both fail if they are missing,
|
|
17
|
+
# so ignoring them would break CI as well as distribution.
|
|
18
|
+
#
|
|
19
|
+
# The warning is therefore acknowledged and rejected on purpose, not overlooked.
|
|
20
|
+
|
|
21
|
+
# V4 runner: local run workspaces are working data, never repository content.
|
|
22
|
+
.sechelix/
|
|
23
|
+
|
|
24
|
+
# Python packaging artifacts
|
|
25
|
+
/dist/
|
|
26
|
+
/build/
|
|
27
|
+
*.egg-info/
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable SecHelix release changes are summarized here. Detailed release notes live in [`docs/releases/`](docs/releases/), and the Git history remains the authoritative development record.
|
|
4
|
+
|
|
5
|
+
## [4.0.0-alpha.1] - 2026-09-03
|
|
6
|
+
|
|
7
|
+
### V4 evidence runtime
|
|
8
|
+
|
|
9
|
+
- Added the optional standard-library-only runner with deterministic DAG orchestration, least-context routing, budget/coverage state, replayable evidence, loopback API/MCP integration and fail-closed provider execution.
|
|
10
|
+
- Added bounded LOCAL proof execution for authorization/IDOR, traversal, race/idempotency, webhook and SSRF; hardened HTTP proofs to literal loopback with no DNS names, ambient proxies or automatic redirects. Proof behavior never auto-promotes a finding.
|
|
11
|
+
- Added graph-grounded threat modeling, conservative false-positive guidance, deep protocol packs and a candidate-only C/C++/Rust native source lane.
|
|
12
|
+
- Added Opengrep as deterministic candidate evidence.
|
|
13
|
+
|
|
14
|
+
### Measurement and product surfaces
|
|
15
|
+
|
|
16
|
+
- Added the fail-closed Arena protocol for end-to-end applicability, verification, false-positive refutation, root-cause, regression-proof and release-gate measurement. The full workflow remains `NOT_MEASURED`; no competitor score is published in this release.
|
|
17
|
+
- Shipped Workbench V4 on `sechelix.com` for local recorded-run inspection without uploading artifacts.
|
|
18
|
+
- Preserved the existing uncontaminated 76-case blind-label result and its explicit boundary: precision 0.950, recall 1.000 and FP rate 0.053 describe the label task, not the complete V4 workflow.
|
|
19
|
+
|
|
20
|
+
### Distribution
|
|
21
|
+
|
|
22
|
+
- Bumped the Agent Skill/plugin release to `4.0.0-alpha.1` while keeping the optional Python runner at its independent `0.1.0` version.
|
|
23
|
+
- Added release notes and automated release/SBOM publication safeguards. PyPI publication remains blocked on an external publishing credential or trusted-publisher setup.
|
|
24
|
+
|
|
25
|
+
See [`docs/releases/4.0.0-alpha.1.md`](docs/releases/4.0.0-alpha.1.md) for the full notes.
|
|
26
|
+
|
|
27
|
+
## [3.4.0-alpha.2] - 2026-09-02
|
|
28
|
+
|
|
29
|
+
### Evaluation
|
|
30
|
+
|
|
31
|
+
- Published the first uncontaminated blind-label evaluation: precision 0.950, detection recall 1.000, false-positive rate 0.053, false-positive rejection rate 0.947, counts TP 38 / FP 2 / TN 36 / FN 0.
|
|
32
|
+
- Kept the two measurement layers separate everywhere: the **blind label suite is `MEASURED`**, the **full SecHelix workflow remains `NOT_MEASURED`**. `verified_precision` is 0.0 only because `verification_status` was `NOT_RUN` for every case.
|
|
33
|
+
- Corrected the blind packet's published digest, which had been computed on a CRLF working copy and therefore failed verification for anyone following the documented download.
|
|
34
|
+
|
|
35
|
+
### Public record
|
|
36
|
+
|
|
37
|
+
- Synced the evidence boundary across README, ROADMAP, SUPPORT, evaluation and enterprise documents, the website, and the AI-readable `llms.txt` / `llms-full.txt` surfaces.
|
|
38
|
+
- Fixed two 404 links in `llms.txt` (`SKILL.md`, `TROPHY_CASE.md`).
|
|
39
|
+
|
|
40
|
+
### Discovery
|
|
41
|
+
|
|
42
|
+
- Added an `/appsec-agent` product-category pillar and a second research piece on reviewing AI-generated code; declined a third page that would have duplicated the pillar.
|
|
43
|
+
- Recorded a search-intent baseline together with the Search Console state it was not derived from (zero impressions).
|
|
44
|
+
- Named `Google-Extended` explicitly in `robots.txt` with the same public-allow / admin-deny shape, covered by automated assertions. This governs Gemini training and grounding use, not Search ranking.
|
|
45
|
+
- Strengthened entity structured data with stable `@id` values. No rating schema was added.
|
|
46
|
+
|
|
47
|
+
## [3.4.0-alpha.1] - 2026-09-02
|
|
48
|
+
|
|
49
|
+
### Evidence platform
|
|
50
|
+
|
|
51
|
+
- Added versioned policy packs with fail-closed applicability and expiring accepted-risk records.
|
|
52
|
+
- Added blind verifier quorum outcomes for consensus, disagreement, and insufficient evidence.
|
|
53
|
+
- Added root-cause security campaigns and a controlled remediation loop that never applies a patch directly to the caller's primary working tree.
|
|
54
|
+
- Added LOCAL/STAGING runtime evidence correlation, dependency exploitability graphs, secret lifecycle tracking, MCP permission/data-flow graphs, and AI security inventory artifacts.
|
|
55
|
+
- Added an ablation-benchmark design for comparing the same evaluator with and without SecHelix. The scored public benchmark remains **`NOT_MEASURED`** until an uncontaminated evaluator runs the blind packet.
|
|
56
|
+
|
|
57
|
+
### Integrity and safety
|
|
58
|
+
|
|
59
|
+
- Closed an integrity gap where an extra file injected after proof-bundle export could be absent from the manifest yet pass bundle verification.
|
|
60
|
+
- Kept runtime observations, dependency advisories, MCP declarations, and AI inventory declarations as evidence inputs rather than automatically promoting them to verified vulnerabilities.
|
|
61
|
+
- Preserved the open-core boundary: the local security engine remains open-source and unpaywalled.
|
|
62
|
+
|
|
63
|
+
### Repository and distribution
|
|
64
|
+
|
|
65
|
+
- Enforced PR-only, squash-only public history with concise PR-title commits and CI checks against assistant trailers, session URLs, and diary-style commit bodies.
|
|
66
|
+
- Kept existing public history and immutable release references intact rather than rewriting provenance for cosmetic reasons.
|
|
67
|
+
- Aligned compatibility documentation around `VERIFIED`, `DOCUMENTED`, `MODEL_COMPATIBLE`, `UNVERIFIED`, and `NOT_SHIPPED` states.
|
|
68
|
+
|
|
69
|
+
### Website and discovery
|
|
70
|
+
|
|
71
|
+
- Added automated XML sitemap validation, canonical discovery surfaces, RSS/Atom support, trust/early-access pages, and continued `llms.txt` / `llms-full.txt` support.
|
|
72
|
+
- Search and directory visibility remain measured separately from implementation; no ranking or recommendation claim is made by this release.
|
|
73
|
+
|
|
74
|
+
See [`docs/releases/3.4.0-alpha.1.md`](docs/releases/3.4.0-alpha.1.md) for the full notes.
|
|
75
|
+
|
|
76
|
+
## V3.3 development milestone - 2026-09-01
|
|
77
|
+
|
|
78
|
+
- Added confidence calibration with withheld metrics until a sufficient uncontaminated sample exists.
|
|
79
|
+
- Added incremental evidence caching, proof bundles, authorization graph analysis, and PR security review.
|
|
80
|
+
- Added mutation/property tests that found and closed fail-open behavior in the release gate and revision freshness logic.
|
|
81
|
+
- Added a one-command blind-evaluation runbook; the public benchmark remained `NOT_MEASURED`.
|
|
82
|
+
|
|
83
|
+
## [3.2.0-alpha.1] - 2026-09-01
|
|
84
|
+
|
|
85
|
+
- Fixed Agent Skills packaging so installs use the portable skill bundle rather than copying the whole development repository.
|
|
86
|
+
- Moved non-agent documentation out of the executable agent directory and split the Claude marketplace into its own repository.
|
|
87
|
+
- Added untrusted-repository mode, differential review, attack-chain correlation, revision binding, patch mode, and variant-rule generation.
|
|
88
|
+
- Expanded framework-aware and AI/MCP security guidance while preserving independent verification and fail-closed release semantics.
|
|
89
|
+
- Published the first authorized worked case study, including both a verified/fixed finding and a plausible candidate that was independently refuted.
|
|
90
|
+
|
|
91
|
+
See [`docs/releases/3.2.0-alpha.1.md`](docs/releases/3.2.0-alpha.1.md).
|
|
92
|
+
|
|
93
|
+
## [3.0.0-alpha.5] - 2026-09-01
|
|
94
|
+
|
|
95
|
+
- Reconciled the canonical report contract with renderers and release gates.
|
|
96
|
+
- Made missing required evidence fail closed as `INCOMPLETE` rather than silently passing.
|
|
97
|
+
- Reworked blind evaluation export/scoring and recorded the contaminated-evaluator blocker instead of publishing a contaminated score.
|
|
98
|
+
- Expanded the first Gold Check Packs, knowledge graph, and case-study/evidence program.
|
|
99
|
+
|
|
100
|
+
## [3.0.0-alpha.4] - 2026-09-01
|
|
101
|
+
|
|
102
|
+
- Finished the V2 Pro private product surfaces for the verification console, Workbench, Attack Surface, Authorization Matrix, Variant Analysis, Benchmark Lab, and Command Center.
|
|
103
|
+
- Preserved the separation between severity and verification state and kept benchmark UI honest when no measured result exists.
|
|
104
|
+
|
|
105
|
+
## [3.0.0-alpha.3] - 2026-09-01
|
|
106
|
+
|
|
107
|
+
- Added rights-aware source trust, knowledge graph, lesson-card, and live-research contracts.
|
|
108
|
+
- Added explicit human-only boundaries for restricted training curricula and provenance-backed security research states.
|
|
109
|
+
|
|
110
|
+
## [3.0.0-alpha.2] - 2026-09-01
|
|
111
|
+
|
|
112
|
+
- Added the curated extension registry and extension safety/validation lifecycle.
|
|
113
|
+
- Prevented community extensions from self-promoting to official status without maintainer review and fixture evidence.
|
|
114
|
+
|
|
115
|
+
## [3.0.0-alpha.1] - 2026-08-31
|
|
116
|
+
|
|
117
|
+
- Materialized the stable hypothesis catalog, versioned contracts, specialist roles, normalized evidence adapters, report formats, and fail-closed release-gate foundation.
|
|
118
|
+
- Established self-contained Agent Skills distribution and the public/private website-source boundary.
|
|
119
|
+
|
|
120
|
+
## [2.2.0] - 2026-08-31
|
|
121
|
+
|
|
122
|
+
- Rebuilt the public README and repository contribution/security surfaces for open-source launch.
|
|
123
|
+
- Standardized Agent Skills installation and added evidence-only Trophy Case and benchmark methodology documentation.
|
|
124
|
+
|
|
125
|
+
## [2.1.0] - 2026-08-31
|
|
126
|
+
|
|
127
|
+
- Introduced the portable Agent Skills architecture, composable security-family/verification-lens model, independent verifier methodology, company rollout documentation, and first public site/CI foundation.
|
|
128
|
+
- Renamed the early prototype to **SecHelix** and established evidence-based model/tool claims as a project rule.
|
sechelix-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format.
|
|
185
|
+
|
|
186
|
+
Copyright 2026 SecHelix contributors
|
|
187
|
+
|
|
188
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
189
|
+
you may not use this file except in compliance with the License.
|
|
190
|
+
You may obtain a copy of the License at
|
|
191
|
+
|
|
192
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
193
|
+
|
|
194
|
+
Unless required by applicable law or agreed to in writing, software
|
|
195
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
196
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
197
|
+
See the License for the specific language governing permissions and
|
|
198
|
+
limitations under the License.
|
sechelix-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: sechelix
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Optional execution runtime for the SecHelix AppSec Agent Skill: deterministic reasoner DAG, budget governor, coverage ledger and replayable evidence.
|
|
5
|
+
Project-URL: Homepage, https://sechelix.com
|
|
6
|
+
Project-URL: Repository, https://github.com/omarmohelal/SecHelix
|
|
7
|
+
Project-URL: Documentation, https://github.com/omarmohelal/SecHelix/blob/main/docs/v4-quickstart.md
|
|
8
|
+
Project-URL: Changelog, https://github.com/omarmohelal/SecHelix/blob/main/CHANGELOG.md
|
|
9
|
+
Author: Omar Mohamed Helal
|
|
10
|
+
License-Expression: Apache-2.0
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: agent-skills,ai-security,application-security,appsec,mcp-security,security-audit,security-review,static-analysis
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
|
+
Classifier: Topic :: Security
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
|
|
24
|
+
# sechelix
|
|
25
|
+
|
|
26
|
+
Optional execution runtime for the **SecHelix AppSec Agent Skill**.
|
|
27
|
+
|
|
28
|
+
The Agent Skill is the product and works without this package. Install `sechelix`
|
|
29
|
+
when you want the workflow orchestrated by code instead of by an agent reading
|
|
30
|
+
`SKILL.md`.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pipx install sechelix # or: uv tool install sechelix
|
|
34
|
+
sechelix doctor
|
|
35
|
+
sechelix audit .
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## What it does
|
|
39
|
+
|
|
40
|
+
- a deterministic reasoner DAG over 18 node roles, with cycle rejection
|
|
41
|
+
- per-node telemetry: model, provider, tokens, cost, duration, context digest
|
|
42
|
+
- a budget governor that **fails closed** — running out before a required
|
|
43
|
+
verification produces `INCOMPLETE`, never a clean gate
|
|
44
|
+
- least-context specialist views, so a dependency reasoner never sees the whole
|
|
45
|
+
repository narrative
|
|
46
|
+
- a coverage ledger that records what previous runs did **not** examine
|
|
47
|
+
- replayable run workspaces with tamper detection
|
|
48
|
+
|
|
49
|
+
## The first run will say INCOMPLETE
|
|
50
|
+
|
|
51
|
+
That is correct. The runner orchestrates; it does not reason about code. With no
|
|
52
|
+
reasoning executor configured every specialist lane is `BLOCKED` and the run
|
|
53
|
+
reports `No security claim can be made from this run.`
|
|
54
|
+
|
|
55
|
+
A stub returning "no findings" would be indistinguishable from a genuine clean
|
|
56
|
+
audit, and a fail-closed gate would hand out a PASS for a run that examined
|
|
57
|
+
nothing. To actually analyse code, pass `--executor claude-code` with an
|
|
58
|
+
authenticated Claude Code CLI on `PATH`.
|
|
59
|
+
|
|
60
|
+
## No dependencies
|
|
61
|
+
|
|
62
|
+
The runner uses the standard library only, and a test asserts it. A security tool
|
|
63
|
+
that drags in a dependency tree has widened the attack surface of the thing it
|
|
64
|
+
was installed to protect.
|
|
65
|
+
|
|
66
|
+
## Status
|
|
67
|
+
|
|
68
|
+
Alpha. Nothing here has been measured against another tool, and no comparative
|
|
69
|
+
claim is made. See the repository for what is measured and what is not.
|
|
70
|
+
|
|
71
|
+
- Repository: https://github.com/omarmohelal/SecHelix
|
|
72
|
+
- Quickstart: https://github.com/omarmohelal/SecHelix/blob/main/docs/v4-quickstart.md
|
|
73
|
+
- Licence: Apache-2.0
|