codetrust 2.3.0__tar.gz → 2.3.2__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.
- {codetrust-2.3.0 → codetrust-2.3.2}/CHANGELOG.md +8 -1
- {codetrust-2.3.0 → codetrust-2.3.2}/CONTRIBUTING.md +7 -7
- {codetrust-2.3.0 → codetrust-2.3.2}/PKG-INFO +11 -12
- {codetrust-2.3.0 → codetrust-2.3.2}/README.md +8 -8
- {codetrust-2.3.0 → codetrust-2.3.2}/SECURITY.md +1 -1
- {codetrust-2.3.0 → codetrust-2.3.2}/action/action.yml +1 -1
- {codetrust-2.3.0 → codetrust-2.3.2}/action/scan_runner.py +1 -1
- {codetrust-2.3.0 → codetrust-2.3.2}/metrics.json +1 -1
- {codetrust-2.3.0 → codetrust-2.3.2}/pyproject.toml +3 -4
- {codetrust-2.3.0 → codetrust-2.3.2}/src/config.py +2 -2
- {codetrust-2.3.0 → codetrust-2.3.2}/.codetrust.toml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/.cursorrules +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/.env.example +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/.gitignore +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/Dockerfile +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/LICENSE +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/Procfile +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/action/entrypoint.sh +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/action/scan.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/action.yml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/alembic/README +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/alembic/env.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/alembic/script.py.mako +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/alembic/versions/b74aff4dff57_initial_schema_users_api_keys_scan_logs_.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/alembic.ini +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/dashboard/.env.example +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/docker-compose.yml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/hooks/pre-commit +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/icon.png +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/railway.toml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/scripts/export_openapi.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/scripts/generate_icons.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/scripts/generate_metrics.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/scripts/validate_readme_metrics.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/setup.sh +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/smoke_test.sh +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/api.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/cli.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/formatters/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/formatters/sarif.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/audit.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/custom_rules.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/interceptor.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/policies.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/server.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/siem.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/gateway/webhooks.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/middleware/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/middleware/ip_rate_limit.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/middleware/metrics.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/models/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/models/database.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/models/enums.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/models/requests.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/models/responses.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/rules/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/rules/anti_patterns.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/rules/enterprise.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/server.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/ast_analyzer.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/auth.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/billing.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/cache.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/database.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/docker_verify.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/gdpr.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/import_verifier.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/rate_limiter.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/registry.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/sandbox.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/sso.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/static_analyzer.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/services/tenant.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/CLAUDE.md +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/codetrust-scan.yml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/codetrust.schema.json +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/codetrust.toml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/cursorrules +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/pre-commit +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/templates/taplo.toml +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/utils/__init__.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/utils/parsers.py +0 -0
- {codetrust-2.3.0 → codetrust-2.3.2}/src/utils/similarity.py +0 -0
|
@@ -13,7 +13,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
-
## [2.3.
|
|
16
|
+
## [2.3.2] - 2026-02-16
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Release surfaces synced: docs/README/action snippets updated to a single tag
|
|
21
|
+
- VS Code extension settings/help text clarified (no "localhost" in public-facing descriptions)
|
|
22
|
+
|
|
23
|
+
## [2.3.1] - 2026-02-16
|
|
17
24
|
|
|
18
25
|
### Added
|
|
19
26
|
|
|
@@ -20,8 +20,8 @@ interactions.
|
|
|
20
20
|
### Development Setup
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
# Clone the repository
|
|
24
|
-
|
|
23
|
+
# Clone the repository (private)
|
|
24
|
+
# Request access via the website, then clone using your internal remote URL
|
|
25
25
|
cd codetrust
|
|
26
26
|
|
|
27
27
|
# Create virtual environment
|
|
@@ -51,13 +51,13 @@ npm run compile
|
|
|
51
51
|
|
|
52
52
|
### Reporting Bugs
|
|
53
53
|
|
|
54
|
-
1.
|
|
55
|
-
2.
|
|
56
|
-
3.
|
|
54
|
+
1. Report issues privately (the repository is not public)
|
|
55
|
+
2. Include: Python version, OS, steps to reproduce, expected vs actual behavior
|
|
56
|
+
3. Website: <https://codetrust.saidborna.com>
|
|
57
57
|
|
|
58
58
|
### Suggesting Features
|
|
59
59
|
|
|
60
|
-
1.
|
|
60
|
+
1. Send feature requests privately (the repository is not public)
|
|
61
61
|
2. Describe the use case, not just the solution
|
|
62
62
|
3. Be specific about which component (CLI, API, Extension, Gateway)
|
|
63
63
|
|
|
@@ -154,5 +154,5 @@ contributions will be licensed under the same terms as the project.
|
|
|
154
154
|
|
|
155
155
|
## Questions?
|
|
156
156
|
|
|
157
|
-
-
|
|
157
|
+
- Website: <https://codetrust.saidborna.com>
|
|
158
158
|
- Email: <codetrust@saidborna.com>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codetrust
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.2
|
|
4
4
|
Summary: AI code safety platform — 133 rules, 10 enforcement layers, 3 moats no other tool has. AI Governance Gateway blocks destructive AI agent actions before execution (57 real-time rules). Hallucination Detection verifies every import against PyPI/npm/crates.io/Go proxy. Trust Score tracks code safety drift over time. 27 API endpoints, 17 MCP tools, 1358 tests. CLI, VS Code extension, GitHub Action, and MCP server.
|
|
5
5
|
Project-URL: Homepage, https://codetrust.saidborna.com
|
|
6
|
-
Project-URL: Repository, https://github.com/S-Borna/codetrust
|
|
7
6
|
Project-URL: Documentation, https://codetrust.saidborna.com
|
|
8
|
-
Project-URL:
|
|
9
|
-
Author-email: Said Borna <codetrust@
|
|
7
|
+
Project-URL: Support, https://codetrust.saidborna.com
|
|
8
|
+
Author-email: Said Borna <codetrust@saidborna.com>
|
|
10
9
|
License-Expression: LicenseRef-Proprietary
|
|
11
10
|
License-File: LICENSE
|
|
12
11
|
Keywords: ai-safety,claude-code,code-quality,cursor,devops,governance,hallucination,kubernetes,mcp,react,sarif,security,verification
|
|
@@ -56,21 +55,19 @@ Description-Content-Type: text/markdown
|
|
|
56
55
|
</p>
|
|
57
56
|
|
|
58
57
|
<p align="center">
|
|
59
|
-
<code>Current: v2.3.
|
|
58
|
+
<code>Current: v2.3.2</code> · <code>1358 tests</code> · <code>133 rules</code> · <code>10 layers</code>
|
|
60
59
|
</p>
|
|
61
60
|
|
|
62
61
|
<p align="center">
|
|
63
62
|
<a href="https://pypi.org/project/codetrust/"><img src="https://img.shields.io/pypi/v/codetrust?style=flat-square&color=38d8fd" alt="PyPI"></a>
|
|
64
63
|
<a href="https://marketplace.visualstudio.com/items?itemName=SaidBorna.codetrust"><img src="https://img.shields.io/visual-studio-marketplace/v/SaidBorna.codetrust?style=flat-square&color=5bca78" alt="VS Code Marketplace"></a>
|
|
65
64
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Proprietary-333?style=flat-square" alt="License"></a>
|
|
66
|
-
<a href="https://github.com/S-Borna/codetrust/actions"><img src="https://img.shields.io/github/actions/workflow/status/S-Borna/codetrust/ci.yml?style=flat-square&label=CI" alt="CI"></a>
|
|
67
65
|
</p>
|
|
68
66
|
|
|
69
67
|
<p align="center">
|
|
70
68
|
<a href="https://codetrust.saidborna.com">Website</a> ·
|
|
71
69
|
<a href="https://pypi.org/project/codetrust/">PyPI</a> ·
|
|
72
70
|
<a href="https://marketplace.visualstudio.com/items?itemName=SaidBorna.codetrust">VS Code</a> ·
|
|
73
|
-
<a href="https://github.com/S-Borna/codetrust">GitHub</a> ·
|
|
74
71
|
<a href="CHANGELOG.md">Changelog</a>
|
|
75
72
|
</p>
|
|
76
73
|
|
|
@@ -233,7 +230,7 @@ codetrust scan .
|
|
|
233
230
|
|---------|---------|--------------|
|
|
234
231
|
| **CLI** | `pip install codetrust` | Full scan from terminal with exit code enforcement |
|
|
235
232
|
| **VS Code** | Install from Marketplace | Scan on save, inline diagnostics, AI governance |
|
|
236
|
-
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.
|
|
233
|
+
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.2` | PR checks with SARIF upload to Security tab |
|
|
237
234
|
| **MCP Server** | 17 tools for AI agents | Claude Code / Cursor get real-time safety feedback |
|
|
238
235
|
| **REST API** | 27 endpoints with rate limiting | Integrate into any pipeline or platform |
|
|
239
236
|
|
|
@@ -286,8 +283,8 @@ code --install-extension SaidBorna.codetrust
|
|
|
286
283
|
|
|
287
284
|
| Setting | Default | Description |
|
|
288
285
|
|---------|---------|-------------|
|
|
289
|
-
| `codetrust.apiUrl` | `https://codetrust-api
|
|
290
|
-
| `codetrust.apiKey` | `""` |
|
|
286
|
+
| `codetrust.apiUrl` | `https://codetrust-api.saidborna.com` | API server URL |
|
|
287
|
+
| `codetrust.apiKey` | `""` | Deprecated: stored in VS Code Secret Storage. Use Guided Onboarding to set it |
|
|
291
288
|
| `codetrust.scanOnSave` | `true` | Auto-scan on save |
|
|
292
289
|
| `codetrust.scanOnType` | `false` | Scan while typing (embedded offline scanner) |
|
|
293
290
|
| `codetrust.scanOnTypeDebounceMs` | `600` | Debounce delay for scan while typing |
|
|
@@ -299,6 +296,8 @@ code --install-extension SaidBorna.codetrust
|
|
|
299
296
|
| `codetrust.governance.enabled` | `true` | Enable AI governance |
|
|
300
297
|
| `codetrust.governance.mode` | `enforce` | `enforce` / `audit` / `off` |
|
|
301
298
|
|
|
299
|
+
Self-hosting: set `codetrust.apiUrl` to your own API base URL.
|
|
300
|
+
|
|
302
301
|
---
|
|
303
302
|
|
|
304
303
|
## GitHub Action
|
|
@@ -314,7 +313,7 @@ permissions:
|
|
|
314
313
|
```
|
|
315
314
|
|
|
316
315
|
```yaml
|
|
317
|
-
- uses: S-Borna/codetrust@v2.3.
|
|
316
|
+
- uses: S-Borna/codetrust@v2.3.2
|
|
318
317
|
with:
|
|
319
318
|
fail-on: block
|
|
320
319
|
scan-type: static
|
|
@@ -396,7 +395,7 @@ See `codetrust init` for a starter configuration.
|
|
|
396
395
|
|---------|---------|
|
|
397
396
|
| **PyPI** | `pip install codetrust` |
|
|
398
397
|
| **VS Code Marketplace** | `code --install-extension SaidBorna.codetrust` |
|
|
399
|
-
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.
|
|
398
|
+
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.2` |
|
|
400
399
|
| **Cloud API** | Available at `codetrust-api.saidborna.com` |
|
|
401
400
|
| **MCP Server** | Included in the package |
|
|
402
401
|
| **Website** | [codetrust.saidborna.com](https://codetrust.saidborna.com) |
|
|
@@ -7,21 +7,19 @@
|
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<code>Current: v2.3.
|
|
10
|
+
<code>Current: v2.3.2</code> · <code>1358 tests</code> · <code>133 rules</code> · <code>10 layers</code>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
<p align="center">
|
|
14
14
|
<a href="https://pypi.org/project/codetrust/"><img src="https://img.shields.io/pypi/v/codetrust?style=flat-square&color=38d8fd" alt="PyPI"></a>
|
|
15
15
|
<a href="https://marketplace.visualstudio.com/items?itemName=SaidBorna.codetrust"><img src="https://img.shields.io/visual-studio-marketplace/v/SaidBorna.codetrust?style=flat-square&color=5bca78" alt="VS Code Marketplace"></a>
|
|
16
16
|
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Proprietary-333?style=flat-square" alt="License"></a>
|
|
17
|
-
<a href="https://github.com/S-Borna/codetrust/actions"><img src="https://img.shields.io/github/actions/workflow/status/S-Borna/codetrust/ci.yml?style=flat-square&label=CI" alt="CI"></a>
|
|
18
17
|
</p>
|
|
19
18
|
|
|
20
19
|
<p align="center">
|
|
21
20
|
<a href="https://codetrust.saidborna.com">Website</a> ·
|
|
22
21
|
<a href="https://pypi.org/project/codetrust/">PyPI</a> ·
|
|
23
22
|
<a href="https://marketplace.visualstudio.com/items?itemName=SaidBorna.codetrust">VS Code</a> ·
|
|
24
|
-
<a href="https://github.com/S-Borna/codetrust">GitHub</a> ·
|
|
25
23
|
<a href="CHANGELOG.md">Changelog</a>
|
|
26
24
|
</p>
|
|
27
25
|
|
|
@@ -184,7 +182,7 @@ codetrust scan .
|
|
|
184
182
|
|---------|---------|--------------|
|
|
185
183
|
| **CLI** | `pip install codetrust` | Full scan from terminal with exit code enforcement |
|
|
186
184
|
| **VS Code** | Install from Marketplace | Scan on save, inline diagnostics, AI governance |
|
|
187
|
-
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.
|
|
185
|
+
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.2` | PR checks with SARIF upload to Security tab |
|
|
188
186
|
| **MCP Server** | 17 tools for AI agents | Claude Code / Cursor get real-time safety feedback |
|
|
189
187
|
| **REST API** | 27 endpoints with rate limiting | Integrate into any pipeline or platform |
|
|
190
188
|
|
|
@@ -237,8 +235,8 @@ code --install-extension SaidBorna.codetrust
|
|
|
237
235
|
|
|
238
236
|
| Setting | Default | Description |
|
|
239
237
|
|---------|---------|-------------|
|
|
240
|
-
| `codetrust.apiUrl` | `https://codetrust-api
|
|
241
|
-
| `codetrust.apiKey` | `""` |
|
|
238
|
+
| `codetrust.apiUrl` | `https://codetrust-api.saidborna.com` | API server URL |
|
|
239
|
+
| `codetrust.apiKey` | `""` | Deprecated: stored in VS Code Secret Storage. Use Guided Onboarding to set it |
|
|
242
240
|
| `codetrust.scanOnSave` | `true` | Auto-scan on save |
|
|
243
241
|
| `codetrust.scanOnType` | `false` | Scan while typing (embedded offline scanner) |
|
|
244
242
|
| `codetrust.scanOnTypeDebounceMs` | `600` | Debounce delay for scan while typing |
|
|
@@ -250,6 +248,8 @@ code --install-extension SaidBorna.codetrust
|
|
|
250
248
|
| `codetrust.governance.enabled` | `true` | Enable AI governance |
|
|
251
249
|
| `codetrust.governance.mode` | `enforce` | `enforce` / `audit` / `off` |
|
|
252
250
|
|
|
251
|
+
Self-hosting: set `codetrust.apiUrl` to your own API base URL.
|
|
252
|
+
|
|
253
253
|
---
|
|
254
254
|
|
|
255
255
|
## GitHub Action
|
|
@@ -265,7 +265,7 @@ permissions:
|
|
|
265
265
|
```
|
|
266
266
|
|
|
267
267
|
```yaml
|
|
268
|
-
- uses: S-Borna/codetrust@v2.3.
|
|
268
|
+
- uses: S-Borna/codetrust@v2.3.2
|
|
269
269
|
with:
|
|
270
270
|
fail-on: block
|
|
271
271
|
scan-type: static
|
|
@@ -347,7 +347,7 @@ See `codetrust init` for a starter configuration.
|
|
|
347
347
|
|---------|---------|
|
|
348
348
|
| **PyPI** | `pip install codetrust` |
|
|
349
349
|
| **VS Code Marketplace** | `code --install-extension SaidBorna.codetrust` |
|
|
350
|
-
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.
|
|
350
|
+
| **GitHub Action** | `uses: S-Borna/codetrust@v2.3.2` |
|
|
351
351
|
| **Cloud API** | Available at `codetrust-api.saidborna.com` |
|
|
352
352
|
| **MCP Server** | Included in the package |
|
|
353
353
|
| **Website** | [codetrust.saidborna.com](https://codetrust.saidborna.com) |
|
|
@@ -39,7 +39,7 @@ vulnerability, please report it responsibly.
|
|
|
39
39
|
The following are in scope:
|
|
40
40
|
|
|
41
41
|
- **CodeTrust CLI** (`pip install codetrust`)
|
|
42
|
-
- **CodeTrust API** (codetrust-api
|
|
42
|
+
- **CodeTrust API** (codetrust-api.saidborna.com)
|
|
43
43
|
- **CodeTrust VS Code Extension** (SaidBorna.codetrust)
|
|
44
44
|
- **CodeTrust MCP Server** (codetrust-mcp)
|
|
45
45
|
- **AI Governance Gateway** (src/gateway/)
|
|
@@ -10,7 +10,7 @@ inputs:
|
|
|
10
10
|
api-url:
|
|
11
11
|
description: "CodeTrust API URL"
|
|
12
12
|
required: false
|
|
13
|
-
default: "https://codetrust-api
|
|
13
|
+
default: "https://codetrust-api.saidborna.com"
|
|
14
14
|
api-key:
|
|
15
15
|
description: "CodeTrust API key for cloud scanning"
|
|
16
16
|
required: false
|
|
@@ -168,7 +168,7 @@ def parse_args() -> argparse.Namespace:
|
|
|
168
168
|
help="Hard gate: auto (default), always, or never. When enabled on PRs, gates only on new findings vs base SHA.",
|
|
169
169
|
)
|
|
170
170
|
parser.add_argument("--api-key", default="")
|
|
171
|
-
parser.add_argument("--api-url", default="https://codetrust-api
|
|
171
|
+
parser.add_argument("--api-url", default="https://codetrust-api.saidborna.com")
|
|
172
172
|
return parser.parse_args()
|
|
173
173
|
|
|
174
174
|
|
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codetrust"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.2"
|
|
8
8
|
description = "AI code safety platform — 133 rules, 10 enforcement layers, 3 moats no other tool has. AI Governance Gateway blocks destructive AI agent actions before execution (57 real-time rules). Hallucination Detection verifies every import against PyPI/npm/crates.io/Go proxy. Trust Score tracks code safety drift over time. 27 API endpoints, 17 MCP tools, 1358 tests. CLI, VS Code extension, GitHub Action, and MCP server."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "LicenseRef-Proprietary"
|
|
11
11
|
requires-python = ">=3.12"
|
|
12
12
|
authors = [
|
|
13
|
-
{ name = "Said Borna", email = "codetrust@
|
|
13
|
+
{ name = "Said Borna", email = "codetrust@saidborna.com" },
|
|
14
14
|
]
|
|
15
15
|
keywords = ["mcp", "ai-safety", "governance", "code-quality", "verification", "hallucination", "claude-code", "cursor", "devops", "react", "kubernetes", "sarif", "security"]
|
|
16
16
|
classifiers = [
|
|
@@ -57,9 +57,8 @@ dependencies = [
|
|
|
57
57
|
|
|
58
58
|
[project.urls]
|
|
59
59
|
Homepage = "https://codetrust.saidborna.com"
|
|
60
|
-
Repository = "https://github.com/S-Borna/codetrust"
|
|
61
60
|
Documentation = "https://codetrust.saidborna.com"
|
|
62
|
-
|
|
61
|
+
Support = "https://codetrust.saidborna.com"
|
|
63
62
|
|
|
64
63
|
[project.optional-dependencies]
|
|
65
64
|
dev = [
|
|
@@ -13,7 +13,7 @@ class Settings(BaseSettings):
|
|
|
13
13
|
host: str = "0.0.0.0"
|
|
14
14
|
port: int = 8000
|
|
15
15
|
debug: bool = False
|
|
16
|
-
version: str = "2.3.
|
|
16
|
+
version: str = "2.3.2"
|
|
17
17
|
|
|
18
18
|
# --- Auth ---
|
|
19
19
|
api_key: str = "" # Empty = no auth required (local dev)
|
|
@@ -97,7 +97,7 @@ class Settings(BaseSettings):
|
|
|
97
97
|
|
|
98
98
|
# --- SARIF ---
|
|
99
99
|
sarif_schema_url: str = "https://json.schemastore.org/sarif-2.1.0.json"
|
|
100
|
-
tool_info_uri: str = "https://
|
|
100
|
+
tool_info_uri: str = "https://codetrust.saidborna.com"
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
settings = Settings()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|