veritensor 1.6.2__tar.gz → 1.7.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.
- {veritensor-1.6.2/src/veritensor.egg-info → veritensor-1.7.0}/PKG-INFO +23 -9
- {veritensor-1.6.2 → veritensor-1.7.0}/README.md +20 -8
- {veritensor-1.6.2 → veritensor-1.7.0}/pyproject.toml +3 -1
- veritensor-1.7.0/src/veritensor/__init__.py +2 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/cli/main.py +283 -47
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/config.py +11 -3
- veritensor-1.7.0/src/veritensor/core/networking.py +59 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/safe_zip.py +9 -3
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/streaming.py +7 -6
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/types.py +1 -1
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/content/injection.py +23 -89
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/content/pii.py +18 -7
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/data/dataset_engine.py +72 -32
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/data/excel_engine.py +2 -1
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/hashing/readers.py +19 -14
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/dependency_engine.py +35 -5
- veritensor-1.7.0/src/veritensor/engines/static/mcp_scanner.py +355 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/notebook_engine.py +17 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/pickle_engine.py +17 -6
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/signatures.yaml +11 -104
- veritensor-1.7.0/src/veritensor/integrations/enterprise_scanner.py +159 -0
- veritensor-1.7.0/src/veritensor/reporting/html_report.py +351 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/reporting/manifest.py +3 -1
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/reporting/sarif.py +4 -3
- veritensor-1.7.0/src/veritensor/reporting/sbom.py +191 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/reporting/telemetry.py +6 -4
- {veritensor-1.6.2 → veritensor-1.7.0/src/veritensor.egg-info}/PKG-INFO +23 -9
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor.egg-info/SOURCES.txt +3 -1
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor.egg-info/requires.txt +2 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/veritensor.yaml +4 -12
- veritensor-1.6.2/src/veritensor/core/networking.py +0 -36
- veritensor-1.6.2/src/veritensor/core/utils.py +0 -43
- veritensor-1.6.2/src/veritensor/integrations/__init__.py +0 -1
- veritensor-1.6.2/src/veritensor/reporting/sbom.py +0 -50
- {veritensor-1.6.2 → veritensor-1.7.0}/LICENSE +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/MANIFEST.in +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/setup.cfg +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/__main__.py +0 -0
- {veritensor-1.6.2/src/veritensor → veritensor-1.7.0/src/veritensor/cli}/__init__.py +0 -0
- {veritensor-1.6.2/src/veritensor/cli → veritensor-1.7.0/src/veritensor/core}/__init__.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/cache.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/entropy.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/file_utils.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/core/text_utils.py +0 -0
- {veritensor-1.6.2/src/veritensor/core → veritensor-1.7.0/src/veritensor/engines}/__init__.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines → veritensor-1.7.0/src/veritensor/engines/container}/__init__.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/container/archive_engine.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines/container → veritensor-1.7.0/src/veritensor/engines/content}/__init__.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines/content → veritensor-1.7.0/src/veritensor/engines/data}/__init__.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines/data → veritensor-1.7.0/src/veritensor/engines/hashing}/__init__.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/hashing/calculator.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/hashing/lfs.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines/hashing → veritensor-1.7.0/src/veritensor/engines/static}/__init__.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/keras_engine.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/engines/static/rules.py +0 -0
- {veritensor-1.6.2/src/veritensor/engines/static → veritensor-1.7.0/src/veritensor/integrations}/__init__.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/chroma_guard.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/cosign.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/huggingface.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/langchain_guard.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/llamaindex_guard.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor/integrations/unstructured_guard.py +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor.egg-info/dependency_links.txt +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor.egg-info/entry_points.txt +0 -0
- {veritensor-1.6.2 → veritensor-1.7.0}/src/veritensor.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: veritensor
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.7.0
|
|
4
4
|
Summary: Antivirus for the AI Supply Chain. Scans models, datasets, notebooks, and RAG documents for threats.
|
|
5
5
|
Author-email: Arsenii Brazhnyk <veritensor@gmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -27,6 +27,8 @@ Requires-Dist: requests>=2.31.0
|
|
|
27
27
|
Requires-Dist: pyyaml>=6.0
|
|
28
28
|
Requires-Dist: huggingface_hub>=0.19.0
|
|
29
29
|
Requires-Dist: cyclonedx-python-lib>=6.0.0
|
|
30
|
+
Requires-Dist: jinja2>=3.1.0
|
|
31
|
+
Requires-Dist: pillow>=12.2.0
|
|
30
32
|
Provides-Extra: test
|
|
31
33
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
32
34
|
Requires-Dist: pytest-mock>=3.10.0; extra == "test"
|
|
@@ -92,7 +94,7 @@ Unlike standard SAST tools (which focus on code), Veritensor understands the bin
|
|
|
92
94
|
* **De-obfuscation Engine:** Automatically detects and decodes **Base64** strings to uncover hidden payloads (e.g., `SWdub3Jl...` -> `Ignore previous instructions`).
|
|
93
95
|
* **Magic Number Validation:** Detects malware masquerading as safe files (e.g., an `.exe` renamed to `invoice.pdf`).
|
|
94
96
|
* **Smart Filtering & Entropy Analysis:** Drastically reduces false positives in Jupyter Notebooks. Uses Shannon Entropy to find real, unknown API keys (WandB, Pinecone, Telegram) while ignoring safe UUIDs and standard imports.
|
|
95
|
-
|
|
97
|
+
* **CISO-Ready HTML Reports:** Generate beautiful, standalone HTML security reports with interactive charts and severity breakdowns using the `--html` flag.
|
|
96
98
|
---
|
|
97
99
|
|
|
98
100
|
## 📦 Installation
|
|
@@ -175,6 +177,12 @@ Check code cells, markdown, and saved outputs for threats:
|
|
|
175
177
|
veritensor scan ./research/experiment.ipynb
|
|
176
178
|
```
|
|
177
179
|
|
|
180
|
+
### 10. Generate a CISO-Friendly HTML Report
|
|
181
|
+
Create a standalone, interactive HTML dashboard of your scan results:
|
|
182
|
+
```bash
|
|
183
|
+
veritensor scan ./project --html
|
|
184
|
+
```
|
|
185
|
+
|
|
178
186
|
**Example Output:**
|
|
179
187
|
```Text
|
|
180
188
|
╭────────────────────────────────╮
|
|
@@ -296,17 +304,23 @@ with DAG('secure_rag_ingestion', start_date=datetime(2026, 1, 1)) as dag:
|
|
|
296
304
|
|
|
297
305
|
Veritensor supports industry-standard formats for integration with security dashboards and audit tools.
|
|
298
306
|
|
|
299
|
-
### 1.
|
|
307
|
+
### 1. Interactive HTML Dashboard
|
|
308
|
+
Generate a visually rich, standalone HTML report designed for CISOs and security audits. Includes severity breakdowns, charts, and easy copy-to-clipboard functionality for Jira tickets.
|
|
309
|
+
```bash
|
|
310
|
+
veritensor scan ./models --html
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### 2. GitHub Security (SARIF)
|
|
300
314
|
Generate a report compatible with GitHub Code Scanning:
|
|
301
315
|
```bash
|
|
302
316
|
veritensor scan ./models --sarif > veritensor-report.sarif
|
|
303
317
|
```
|
|
304
|
-
###
|
|
318
|
+
### 3. Software Bill of Materials (SBOM)
|
|
305
319
|
Generate a CycloneDX v1.5 SBOM to inventory your AI assets:
|
|
306
320
|
```bash
|
|
307
321
|
veritensor scan ./models --sbom > sbom.json
|
|
308
322
|
```
|
|
309
|
-
###
|
|
323
|
+
### 4. Raw JSON
|
|
310
324
|
For custom parsers and SOAR automation:
|
|
311
325
|
```bash
|
|
312
326
|
veritensor scan ./models --json
|
|
@@ -360,7 +374,7 @@ jobs:
|
|
|
360
374
|
steps:
|
|
361
375
|
- uses: actions/checkout@v4
|
|
362
376
|
- name: Veritensor Scan
|
|
363
|
-
uses: arsbr/Veritensor@v1.
|
|
377
|
+
uses: arsbr/Veritensor@v1.7.0
|
|
364
378
|
with:
|
|
365
379
|
path: '.'
|
|
366
380
|
jobs: '4'
|
|
@@ -371,7 +385,7 @@ Prevent committing malicious models to your repository. Add this to .pre-commit-
|
|
|
371
385
|
```yaml
|
|
372
386
|
repos:
|
|
373
387
|
- repo: https://github.com/arsbr/Veritensor
|
|
374
|
-
rev: v1.
|
|
388
|
+
rev: v1.7.0
|
|
375
389
|
hooks:
|
|
376
390
|
- id: veritensor-scan
|
|
377
391
|
```
|
|
@@ -399,8 +413,8 @@ veritensor_audit:
|
|
|
399
413
|
| **Datasets** | `.parquet`, `.csv`, `.tsv`, `.jsonl`, `.ndjson`, `.ldjson` | Streaming Regex Scan (URLs, Injections, PII) |
|
|
400
414
|
| **Notebooks** | `.ipynb` | JSON Structure Analysis + Code AST + Markdown Phishing |
|
|
401
415
|
| **Documents** | `.pdf`, `.docx`, `.pptx`, `.txt`, `.md`, `.html` | DOM Extraction, Stealth/CSS Detection, PII |
|
|
402
|
-
| **Archives** | `.zip`, `.tar`, `.gz`, `.
|
|
403
|
-
| **
|
|
416
|
+
| **Media & Archives** | `.png`, `.jpg`, `.zip`, `.tar`, `.gz`, `.whl` | EasyOCR, LSB Steganography, YARA (Enterprise) |
|
|
417
|
+
| **Supply Chain** | `requirements.txt`, `pyproject.toml`, `poetry.lock`, `Pipfile.lock` | Typosquatting, OSV.dev CVE Lookup |
|
|
404
418
|
|
|
405
419
|
---
|
|
406
420
|
|
|
@@ -34,7 +34,7 @@ Unlike standard SAST tools (which focus on code), Veritensor understands the bin
|
|
|
34
34
|
* **De-obfuscation Engine:** Automatically detects and decodes **Base64** strings to uncover hidden payloads (e.g., `SWdub3Jl...` -> `Ignore previous instructions`).
|
|
35
35
|
* **Magic Number Validation:** Detects malware masquerading as safe files (e.g., an `.exe` renamed to `invoice.pdf`).
|
|
36
36
|
* **Smart Filtering & Entropy Analysis:** Drastically reduces false positives in Jupyter Notebooks. Uses Shannon Entropy to find real, unknown API keys (WandB, Pinecone, Telegram) while ignoring safe UUIDs and standard imports.
|
|
37
|
-
|
|
37
|
+
* **CISO-Ready HTML Reports:** Generate beautiful, standalone HTML security reports with interactive charts and severity breakdowns using the `--html` flag.
|
|
38
38
|
---
|
|
39
39
|
|
|
40
40
|
## 📦 Installation
|
|
@@ -117,6 +117,12 @@ Check code cells, markdown, and saved outputs for threats:
|
|
|
117
117
|
veritensor scan ./research/experiment.ipynb
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
+
### 10. Generate a CISO-Friendly HTML Report
|
|
121
|
+
Create a standalone, interactive HTML dashboard of your scan results:
|
|
122
|
+
```bash
|
|
123
|
+
veritensor scan ./project --html
|
|
124
|
+
```
|
|
125
|
+
|
|
120
126
|
**Example Output:**
|
|
121
127
|
```Text
|
|
122
128
|
╭────────────────────────────────╮
|
|
@@ -238,17 +244,23 @@ with DAG('secure_rag_ingestion', start_date=datetime(2026, 1, 1)) as dag:
|
|
|
238
244
|
|
|
239
245
|
Veritensor supports industry-standard formats for integration with security dashboards and audit tools.
|
|
240
246
|
|
|
241
|
-
### 1.
|
|
247
|
+
### 1. Interactive HTML Dashboard
|
|
248
|
+
Generate a visually rich, standalone HTML report designed for CISOs and security audits. Includes severity breakdowns, charts, and easy copy-to-clipboard functionality for Jira tickets.
|
|
249
|
+
```bash
|
|
250
|
+
veritensor scan ./models --html
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### 2. GitHub Security (SARIF)
|
|
242
254
|
Generate a report compatible with GitHub Code Scanning:
|
|
243
255
|
```bash
|
|
244
256
|
veritensor scan ./models --sarif > veritensor-report.sarif
|
|
245
257
|
```
|
|
246
|
-
###
|
|
258
|
+
### 3. Software Bill of Materials (SBOM)
|
|
247
259
|
Generate a CycloneDX v1.5 SBOM to inventory your AI assets:
|
|
248
260
|
```bash
|
|
249
261
|
veritensor scan ./models --sbom > sbom.json
|
|
250
262
|
```
|
|
251
|
-
###
|
|
263
|
+
### 4. Raw JSON
|
|
252
264
|
For custom parsers and SOAR automation:
|
|
253
265
|
```bash
|
|
254
266
|
veritensor scan ./models --json
|
|
@@ -302,7 +314,7 @@ jobs:
|
|
|
302
314
|
steps:
|
|
303
315
|
- uses: actions/checkout@v4
|
|
304
316
|
- name: Veritensor Scan
|
|
305
|
-
uses: arsbr/Veritensor@v1.
|
|
317
|
+
uses: arsbr/Veritensor@v1.7.0
|
|
306
318
|
with:
|
|
307
319
|
path: '.'
|
|
308
320
|
jobs: '4'
|
|
@@ -313,7 +325,7 @@ Prevent committing malicious models to your repository. Add this to .pre-commit-
|
|
|
313
325
|
```yaml
|
|
314
326
|
repos:
|
|
315
327
|
- repo: https://github.com/arsbr/Veritensor
|
|
316
|
-
rev: v1.
|
|
328
|
+
rev: v1.7.0
|
|
317
329
|
hooks:
|
|
318
330
|
- id: veritensor-scan
|
|
319
331
|
```
|
|
@@ -341,8 +353,8 @@ veritensor_audit:
|
|
|
341
353
|
| **Datasets** | `.parquet`, `.csv`, `.tsv`, `.jsonl`, `.ndjson`, `.ldjson` | Streaming Regex Scan (URLs, Injections, PII) |
|
|
342
354
|
| **Notebooks** | `.ipynb` | JSON Structure Analysis + Code AST + Markdown Phishing |
|
|
343
355
|
| **Documents** | `.pdf`, `.docx`, `.pptx`, `.txt`, `.md`, `.html` | DOM Extraction, Stealth/CSS Detection, PII |
|
|
344
|
-
| **Archives** | `.zip`, `.tar`, `.gz`, `.
|
|
345
|
-
| **
|
|
356
|
+
| **Media & Archives** | `.png`, `.jpg`, `.zip`, `.tar`, `.gz`, `.whl` | EasyOCR, LSB Steganography, YARA (Enterprise) |
|
|
357
|
+
| **Supply Chain** | `requirements.txt`, `pyproject.toml`, `poetry.lock`, `Pipfile.lock` | Typosquatting, OSV.dev CVE Lookup |
|
|
346
358
|
|
|
347
359
|
---
|
|
348
360
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "veritensor"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.7.0"
|
|
8
8
|
description = "Antivirus for the AI Supply Chain. Scans models, datasets, notebooks, and RAG documents for threats."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -32,6 +32,8 @@ dependencies = [
|
|
|
32
32
|
"pyyaml>=6.0",
|
|
33
33
|
"huggingface_hub>=0.19.0",
|
|
34
34
|
"cyclonedx-python-lib>=6.0.0",
|
|
35
|
+
"jinja2>=3.1.0",
|
|
36
|
+
"pillow>=12.2.0",
|
|
35
37
|
# Fickling removed from here to avoid installing PyTorch (800MB+) for regular users
|
|
36
38
|
]
|
|
37
39
|
|