An offline-first, portable Third-Party Risk Management (TPRM) platform for AI vendor assessment, control mapping, and risk posture auditing aligned with the NIST AI Risk Management Framework (AI RMF SP 1270) and Cloud Security Alliance (CSA) CAIQ v4.
🔗 GitHub Repository: https://github.com/amitkpconsulting-spec/AITPRM
As organizations rapidly adopt generative, agentic, and third-party AI models, traditional TPRM questionnaires fail to capture AI-specific lifecycle risks like model drift, data lineage, autonomous action boundaries, prompt injection vulnerabilities, and cross-border transfers.
This platform empowers risk officers, CISOs, and enterprise compliance auditors to:
- Evaluate AI Vendors: Assess vendors against 13 core controls covering Data Governance, Model Lifecycle, and Agentic AI Safeguards.
- NIST AI RMF Alignment: Categorize risks across the 4 NIST SP 1270 functions:
- Govern: Organizational risk management culture, accountability, data residency, and AI strategy.
- Map: Contextualizing risks, mapping data lineage, pseudonymization, and cross-border impacts.
- Measure: Quantitative & qualitative evaluations, bias testing, model drift monitoring, and red-teaming.
- Manage: Priority mitigation, cryptographic safeguards, OWASP Top 10 LLM defenses, and Human-In-The-Loop (HITL) gates.
- Executive Visualization: Interactive NIST AI RMF Radar Chart and "What is Good / What is Not" gap analysis showcase.
- Vendor Risk Passports: Generate and export downloadable compliance passports and audit reports.
┌─────────────────────────────────────────────────────────────────────────┐
│ Client Browser / Local Execution Environment │
│ │
│ ┌──────────────────────┐ ┌──────────────────────┐ ┌────────────────┐ │
│ │ Embedded Vector │ │ In-Memory Property │ │ Agentic Risk │ │
│ │ Store │ │ Compliance Graph │ │ Auditor │ │
│ │ (Transformers.js/KNN)│ │ (Multi-hop Topology) │ │ (Local RAG/Graph)
│ └──────────┬───────────┘ └──────────┬───────────┘ └───────┬────────┘ │
└─────────────┼─────────────────────────┼──────────────────────┼──────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────────────────┐
│ Offline Local LLM Sidecar (Ollama / Local Heuristic Auditor Fallback) │
└─────────────────────────────────────────────────────────────────────────┘
-
Embedded Vector Database (
src/vectorStore.ts)- Uses
@xenova/transformers(Xenova/bge-small-en-v1.5) for client-side dense text embeddings. - Chunks evidence narratives and computes local cosine K-Nearest Neighbor (KNN) searches filtered by vendor and control ID.
- Uses
-
In-Memory Compliance Property Graph (
src/graphEngine.ts)- Models typed nodes (
Vendor,AISystem,Risk,Control,RMFFunction,Evidence) and edges (DEPLOYS,EXPOSES,MITIGATED_BY,MAPS_TO,PROVES). - Computes multi-hop risk blast radius scores and downstream impacts when controls fail.
- Models typed nodes (
-
Agentic Zero-Trust Auditor (
src/agenticAuditor.ts)- Synthesizes RAG vector search chunks and graph blast radius context to evaluate control maturity (
Ad-hoc,Managed,Optimized). - Queries local Ollama sidecar endpoints (
http://localhost:11434/api/generate) with automatic zero-trust local heuristic fallback when offline.
- Synthesizes RAG vector search chunks and graph blast radius context to evaluate control maturity (
For air-gapped or portable Windows (x64) execution without manual CLI configuration:
-
Run Portable Environment Setup (
setup.bat) Double-clicksetup.bator execute in Command Prompt (cmd.exe):setup.bat
What
setup.batperforms automatically:- Checks for Node.js v18+ (or uses portable Node runtime from
.\bin\node\) - Installs all local NPM package dependencies (
npm install) - Verifies local Ollama LLM sidecar binary or path configuration
- Pre-fetches ONNX embedding model weights (
bge-small-en-v1.5) & verifies vector store - Runs end-to-end self-test pipeline checks and compiles production assets
- Checks for Node.js v18+ (or uses portable Node runtime from
-
Launch Portable Platform Server (
start.bat) Double-clickstart.bator execute in Command Prompt:start.bat
What
start.batperforms automatically:- Checks & starts local Ollama LLM sidecar listener service on port 11434 (if installed)
- Automatically launches your default web browser at
http://localhost:3000 - Starts the local application server on port 3000
- Node.js: v18.0 or higher
- npm: v9.0 or higher
- (Optional) Ollama: For local offline LLM evaluation (
ollama run llama3)
-
Clone the repository and install dependencies:
git clone https://github.com/amitkpconsulting-spec/AITPRM.git cd AITPRM npm install -
Start the local development server:
npm run dev
Open your browser at
http://localhost:3000. -
(Optional) Enable Local Ollama LLM Sidecar: If you have Ollama running locally, start the service and serve a model:
ollama run llama3
The platform will automatically detect and query
http://localhost:11434/api/generate. If Ollama is not active, the auditor seamlessly switches to the zero-trust local heuristic engine.
- 100% Client-Side Processing: All vector embeddings, KNN searches, graph traversals, and score calculations run inside the client browser runtime or local Node process.
- No Remote Cloud Dependencies: No third-party API keys or external SaaS connections are required.
- Offline Data Persistence: Vendor assessment profiles, evidence stores, and vector indices persist locally in
localStorageand can be exported as Portable JSON dossiers or imported across air-gapped environments.
Technoscope (Amit Kumar Pandey) Proprietary Source-Available License Copyright (c) 2026 Technoscope (Amit Kumar Pandey). All Rights Reserved.
This software and associated documentation files (the "Software") are the proprietary property of Technoscope (Amit Kumar Pandey).
By downloading, accessing, or using the Software, you agree to the following terms:
1. Grant of Limited License
You are granted a limited, non-exclusive, non-transferable right to download, install, and evaluate the Software for internal, non-commercial testing purposes only.
2. Absolute Ownership
The Software is licensed, not sold. Technoscope (Amit Kumar Pandey) retains all intellectual property rights, title, and interest in and to the Software. You may not claim ownership of the Software, its source code, or any derivative works under any circumstances.
3. Restrictions on Use
Without prior explicit, written permission from the copyright holder, you MAY NOT:
Use the Software for commercial purposes, including in production environments.
Modify, alter, or create derivative works of the Software.
Distribute, sub-license, host, or sell the Software to any third party.
Remove or alter any copyright notices or proprietary markings.
4. Consultancy, Advisory, and Commercial Use
Any production deployment, commercial usage, or requirement for technical support, implementation advisory, and compliance consultancy must be obtained directly from Technoscope (Amit Kumar Pandey).
To request commercial licensing, advisory services, or permission for restricted uses, please contact: [amitkp.consulting@gmail.com / www.technoscope.com]
5. Limitation of Liability
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.