Local RAG server over the Model Context Protocol. Semantic search of your documents for Claude, Codex and Gemini, fully local. One-click Windows installer, no Python required.
Drift inferred · capture-to-capture
- HIGH code analysis flagged dynamic code execution in VBlackJack/Cortex
transport stdio counts 4 tools · 0 res
· 0 prompts
permission surface via code analysis
tools
-
cortex_freshness
-
cortex_list_sections
-
cortex_search
-
cortex_sync
prompt-surface
shipped agent-instruction files + hidden-content / dangerous-code findings —
quoted from the analyzed source
analyzed commit 6f6ef9e · analyzer v28 · 1d ago
danger signals1
- dynamic code execution __import__ sink VBlackJack-Cortex-6f6ef9e/tests/test_write_lock.py :124
env={**__import__("os").environ, "CORTEX_WRITE_LOCK_PATH": str(lock_path),
evidence-backed
findings quoted directly from the published source artifact — not inferred
code files: 73
filesystem 28
- fs VBlackJack-Cortex-6f6ef9e/chroma_client.py :19
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/chunker.py :21
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/chunker_pdf.py :19
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/chunker_utils.py :23
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/config.py :16
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/conftest.py :19
import shutil - fs VBlackJack-Cortex-6f6ef9e/cortex_logging.py :21
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/data_home.py :20
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/doctor.py :23
import shutil - fs VBlackJack-Cortex-6f6ef9e/eval/measure_fragmentation.py :29
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/prep_layer2.py :29
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/probe_embedding.py :31
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/probe_fusion_cap.py :32
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/probe_reranker.py :28
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/run_layer1.py :27
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/run_layer3_cost.py :26
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/run_layer3_latency.py :30
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/setup_drift.py :29
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/eval/teardown_drift.py :28
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/freshness.py :21
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/indexer.py :29
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/lexical_index.py :22
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/offline_models.py :35
from pathlib import Path, PurePosixPath - fs VBlackJack-Cortex-6f6ef9e/packaging/windows/build_installer.py :22
import shutil - fs VBlackJack-Cortex-6f6ef9e/setup_config.py :25
import shutil - fs VBlackJack-Cortex-6f6ef9e/sync_hash_aware.py :21
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/user_config.py :24
from pathlib import Path - fs VBlackJack-Cortex-6f6ef9e/write_lock.py :30
from pathlib import Path
shell / exec 3
- shell VBlackJack-Cortex-6f6ef9e/doctor.py :25
import subprocess - shell VBlackJack-Cortex-6f6ef9e/packaging/windows/build_installer.py :23
import subprocess - shell VBlackJack-Cortex-6f6ef9e/setup_config.py :26
import subprocess
database 3
- db VBlackJack-Cortex-6f6ef9e/doctor.py :24
import sqlite3 - db VBlackJack-Cortex-6f6ef9e/indexer.py :26
import sqlite3 - db VBlackJack-Cortex-6f6ef9e/lexical_index.py :19
import sqlite3
tool registrations 4
- cortex_search VBlackJack-Cortex-6f6ef9e/server.py :113
- cortex_sync VBlackJack-Cortex-6f6ef9e/server.py :181
- cortex_list_sections VBlackJack-Cortex-6f6ef9e/server.py :230
- cortex_freshness VBlackJack-Cortex-6f6ef9e/server.py :260
declared dependencies 6
- mypy@==2.2.0
- pre-commit@==4.6.0
- pytest@==9.0.3
- pytest-asyncio@==1.3.0
- ruff@==0.15.21
- pyinstaller@>=6.0