verisight 2.2.1__tar.gz → 2.2.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.
- {verisight-2.2.1 → verisight-2.2.2}/PKG-INFO +18 -1
- {verisight-2.2.1 → verisight-2.2.2}/README.md +17 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/__init__.py +1 -1
- {verisight-2.2.1 → verisight-2.2.2}/backend/agent.py +1 -1
- {verisight-2.2.1 → verisight-2.2.2}/backend/main.py +4 -4
- {verisight-2.2.1 → verisight-2.2.2}/backend/mcp_server.py +2 -2
- {verisight-2.2.1 → verisight-2.2.2}/pyproject.toml +1 -1
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/PKG-INFO +18 -1
- {verisight-2.2.1 → verisight-2.2.2}/LICENSE +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/aws_adapter.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/benchmark_runner.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/cli.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/forensics.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/generate_demo_samples.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/generate_real_life_samples.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/test_mcp_tools.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/backend/test_sanity.py +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/setup.cfg +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/SOURCES.txt +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/dependency_links.txt +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/entry_points.txt +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/requires.txt +0 -0
- {verisight-2.2.1 → verisight-2.2.2}/verisight.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: verisight
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Sub-3ms Physical Multi-Spectral Image Forensics & Presentation Attack Detection engine powered by OpenCV 5 and Model Context Protocol (MCP).
|
|
5
5
|
Author-email: Aditya Raj Tiwari <adityasantosh2026@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -77,6 +77,23 @@ Authentic Image ──> Generative AI Inpaint (Flux / Firefly) ──> Instant R
|
|
|
77
77
|
| **Generalization & Drift** | Vulnerable to adversarial attacks & new diffusion models | **Grounded in mathematical physical optics & sensor physics** |
|
|
78
78
|
| **Audit Explainability** | Black-box softmax probabilities | **Deterministic mathematical proof (ELA, PRNU, 2D FFT, Ghosts)** |
|
|
79
79
|
| **Recapture Attack Defense**| None (Foiled by 2D screen or paper printout) | **Built-in Presentation Attack Detection (PAD)** |
|
|
80
|
+
| **External API Cost** | \$0.01–\$0.05/image via VLM/SaaS wrappers | **\$0.00 (100% offline/local C++ OpenCV 5)** |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 🎯 Verified Real-World Evaluation Suite (`10/10` Passing in CI)
|
|
85
|
+
|
|
86
|
+
Verified automatically on every commit via [`backend/test_sanity.py`](backend/test_sanity.py) and [`backend/test_mcp_tools.py`](backend/test_mcp_tools.py):
|
|
87
|
+
|
|
88
|
+
| Test Scenario | Ground Truth | VeriSight Verdict | Risk Score |
|
|
89
|
+
| :--- | :--- | :--- | :---: |
|
|
90
|
+
| Genuine Unedited Photo | Authentic | `AUTO_APPROVE_CLAIM` | `10.9%` |
|
|
91
|
+
| Generative AI Inpainted Damage | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
92
|
+
| Genuine Digital Coupon Screenshot | Authentic | `AUTO_APPROVE_CLAIM` | `30.8%` |
|
|
93
|
+
| AI Altered Coupon Code (`D` → `C`) | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
94
|
+
| Printed Card Recapture Attack | PAD Attack | `REJECT_RECAPTURED_2D_MEDIA` | `97.5%` |
|
|
95
|
+
| Duplicate Photo Reuse (Sybil Ring) | Reuse Fraud | `REJECT_DUPLICATE_CLAIM_FRAUD` | `99.4%` |
|
|
96
|
+
| Selfie / Off-Subject in Produce or Invoice | Invalid Subject | `REJECT_INVALID_CLAIM_SUBJECT` | `Blocked` |
|
|
80
97
|
|
|
81
98
|
---
|
|
82
99
|
|
|
@@ -44,6 +44,23 @@ Authentic Image ──> Generative AI Inpaint (Flux / Firefly) ──> Instant R
|
|
|
44
44
|
| **Generalization & Drift** | Vulnerable to adversarial attacks & new diffusion models | **Grounded in mathematical physical optics & sensor physics** |
|
|
45
45
|
| **Audit Explainability** | Black-box softmax probabilities | **Deterministic mathematical proof (ELA, PRNU, 2D FFT, Ghosts)** |
|
|
46
46
|
| **Recapture Attack Defense**| None (Foiled by 2D screen or paper printout) | **Built-in Presentation Attack Detection (PAD)** |
|
|
47
|
+
| **External API Cost** | \$0.01–\$0.05/image via VLM/SaaS wrappers | **\$0.00 (100% offline/local C++ OpenCV 5)** |
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 🎯 Verified Real-World Evaluation Suite (`10/10` Passing in CI)
|
|
52
|
+
|
|
53
|
+
Verified automatically on every commit via [`backend/test_sanity.py`](backend/test_sanity.py) and [`backend/test_mcp_tools.py`](backend/test_mcp_tools.py):
|
|
54
|
+
|
|
55
|
+
| Test Scenario | Ground Truth | VeriSight Verdict | Risk Score |
|
|
56
|
+
| :--- | :--- | :--- | :---: |
|
|
57
|
+
| Genuine Unedited Photo | Authentic | `AUTO_APPROVE_CLAIM` | `10.9%` |
|
|
58
|
+
| Generative AI Inpainted Damage | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
59
|
+
| Genuine Digital Coupon Screenshot | Authentic | `AUTO_APPROVE_CLAIM` | `30.8%` |
|
|
60
|
+
| AI Altered Coupon Code (`D` → `C`) | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
61
|
+
| Printed Card Recapture Attack | PAD Attack | `REJECT_RECAPTURED_2D_MEDIA` | `97.5%` |
|
|
62
|
+
| Duplicate Photo Reuse (Sybil Ring) | Reuse Fraud | `REJECT_DUPLICATE_CLAIM_FRAUD` | `99.4%` |
|
|
63
|
+
| Selfie / Off-Subject in Produce or Invoice | Invalid Subject | `REJECT_INVALID_CLAIM_SUBJECT` | `Blocked` |
|
|
47
64
|
|
|
48
65
|
---
|
|
49
66
|
|
|
@@ -31,7 +31,7 @@ from mcp_server import MCP_TOOLS_MANIFEST, handle_json_rpc
|
|
|
31
31
|
app = FastAPI(
|
|
32
32
|
title="VeriSight MCP - OpenCV 5 Agentic Forensics Engine",
|
|
33
33
|
description="Multi-spectral forensic vision agent powered by OpenCV 5 on AWS Graviton Arm64",
|
|
34
|
-
version="2.2.
|
|
34
|
+
version="2.2.2"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
app.add_middleware(
|
|
@@ -47,7 +47,7 @@ def root_status():
|
|
|
47
47
|
return {
|
|
48
48
|
"service": "VeriSight MCP - Autonomous Physical AI Forensics Engine",
|
|
49
49
|
"status": "ONLINE",
|
|
50
|
-
"version": "2.2.
|
|
50
|
+
"version": "2.2.2",
|
|
51
51
|
"engine": "OpenCV 5.0.0 (ARM64 SIMD)",
|
|
52
52
|
"docs_url": "/docs",
|
|
53
53
|
"api_url": "/api",
|
|
@@ -56,7 +56,7 @@ def root_status():
|
|
|
56
56
|
|
|
57
57
|
@app.get("/health")
|
|
58
58
|
def health_check():
|
|
59
|
-
return {"status": "healthy", "service": "verisight-backend", "version": "2.2.
|
|
59
|
+
return {"status": "healthy", "service": "verisight-backend", "version": "2.2.2"}
|
|
60
60
|
|
|
61
61
|
@app.get("/api")
|
|
62
62
|
@app.get("/api/")
|
|
@@ -64,7 +64,7 @@ def api_index():
|
|
|
64
64
|
return {
|
|
65
65
|
"service": "VeriSight MCP REST API",
|
|
66
66
|
"status": "ONLINE",
|
|
67
|
-
"version": "2.2.
|
|
67
|
+
"version": "2.2.2",
|
|
68
68
|
"documentation": "/docs",
|
|
69
69
|
"endpoints": {
|
|
70
70
|
"health": "/health",
|
|
@@ -251,7 +251,7 @@ def handle_json_rpc(payload: Dict[str, Any], agent_pipeline_callback) -> Optiona
|
|
|
251
251
|
},
|
|
252
252
|
"serverInfo": {
|
|
253
253
|
"name": "verisight-mcp-engine",
|
|
254
|
-
"version": "2.2.
|
|
254
|
+
"version": "2.2.2"
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -268,7 +268,7 @@ def handle_json_rpc(payload: Dict[str, Any], agent_pipeline_callback) -> Optiona
|
|
|
268
268
|
"protocol_version": "2024-11-05",
|
|
269
269
|
"server_info": {
|
|
270
270
|
"name": "verisight-mcp-engine",
|
|
271
|
-
"version": "2.2.
|
|
271
|
+
"version": "2.2.2",
|
|
272
272
|
"capabilities": {"tools": True, "resources": False, "prompts": False}
|
|
273
273
|
}
|
|
274
274
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: verisight
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Sub-3ms Physical Multi-Spectral Image Forensics & Presentation Attack Detection engine powered by OpenCV 5 and Model Context Protocol (MCP).
|
|
5
5
|
Author-email: Aditya Raj Tiwari <adityasantosh2026@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -77,6 +77,23 @@ Authentic Image ──> Generative AI Inpaint (Flux / Firefly) ──> Instant R
|
|
|
77
77
|
| **Generalization & Drift** | Vulnerable to adversarial attacks & new diffusion models | **Grounded in mathematical physical optics & sensor physics** |
|
|
78
78
|
| **Audit Explainability** | Black-box softmax probabilities | **Deterministic mathematical proof (ELA, PRNU, 2D FFT, Ghosts)** |
|
|
79
79
|
| **Recapture Attack Defense**| None (Foiled by 2D screen or paper printout) | **Built-in Presentation Attack Detection (PAD)** |
|
|
80
|
+
| **External API Cost** | \$0.01–\$0.05/image via VLM/SaaS wrappers | **\$0.00 (100% offline/local C++ OpenCV 5)** |
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 🎯 Verified Real-World Evaluation Suite (`10/10` Passing in CI)
|
|
85
|
+
|
|
86
|
+
Verified automatically on every commit via [`backend/test_sanity.py`](backend/test_sanity.py) and [`backend/test_mcp_tools.py`](backend/test_mcp_tools.py):
|
|
87
|
+
|
|
88
|
+
| Test Scenario | Ground Truth | VeriSight Verdict | Risk Score |
|
|
89
|
+
| :--- | :--- | :--- | :---: |
|
|
90
|
+
| Genuine Unedited Photo | Authentic | `AUTO_APPROVE_CLAIM` | `10.9%` |
|
|
91
|
+
| Generative AI Inpainted Damage | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
92
|
+
| Genuine Digital Coupon Screenshot | Authentic | `AUTO_APPROVE_CLAIM` | `30.8%` |
|
|
93
|
+
| AI Altered Coupon Code (`D` → `C`) | Fraud | `REJECT_SYNTHETIC_TAMPER` | `99.4%` |
|
|
94
|
+
| Printed Card Recapture Attack | PAD Attack | `REJECT_RECAPTURED_2D_MEDIA` | `97.5%` |
|
|
95
|
+
| Duplicate Photo Reuse (Sybil Ring) | Reuse Fraud | `REJECT_DUPLICATE_CLAIM_FRAUD` | `99.4%` |
|
|
96
|
+
| Selfie / Off-Subject in Produce or Invoice | Invalid Subject | `REJECT_INVALID_CLAIM_SUBJECT` | `Blocked` |
|
|
80
97
|
|
|
81
98
|
---
|
|
82
99
|
|
|
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
|