Jeremy Blankenship

Results issues of Jeremy Blankenship

**Severity**: P1 (high) — concurrent appends corrupt events.log **Component**: `enoch_control_plane/state_store.py:58-60` **Evidence**: ```python def append_event(self, payload: dict) -> None: with self.events_log.open("a", encoding="utf-8") as handle: handle.write(json.dumps(payload, sort_keys=True) + "\n") ``` **Impact**: -...

bug
P1-high
area:control-plane
area:database

**Severity**: P1 (high) — phantom quality violations bias operator action string **Component**: `enoch_control_plane/research_quality/status.py:467-479` **Evidence**: ```python candidates = [row for row in candidate_scores or [] if isinstance(row, dict)] decisions = [row...

bug
P1-high
area:control-plane
area:observability

**Severity**: P1 (high) — corrupt runs become invisible; subsequent save overwrites with no warning **Component**: `enoch_control_plane/state_store.py:29-56` and `enoch_control_plane/research_quality/status.py:1104-1115` **Evidence**: ```python # state_store.py:29-36 def load_run(self, run_id: str) -> RunRecord | None:...

bug
P1-high
area:control-plane
area:observability

**Severity**: P1 (high) — NVML handle leak; future workers fail to init **Component**: `enoch_control_plane/telemetry.py:90-103` **Evidence**: ```python def __init__(self) -> None: self._nvml_ready = False self._last_nvml_error: str | None = None ......

bug
P1-high
area:control-plane
area:observability

**Severity**: P1 (high) — NVML resource leak; locks prevent library reinit **Component**: `enoch_control_plane/telemetry.py:90-103` **Evidence**: ```python _nvml_initialized = False def _ensure_nvml(): global _nvml_initialized if _nvml_initialized: return True try: pynvml.nvmlInit() _nvml_initialized =...

bug
P1-high

**Severity**: P1 (high) — corrupted log on concurrent appends **Component**: `enoch_control_plane/state_store.py:58-60` **Evidence**: ```python def append_event(event: dict) -> None: with open(self._events_path, 'a', encoding='utf-8') as f: f.write(json.dumps(event, sort_keys=True) + '\n') ``` **Impact**:...

bug
P1-high

**Severity**: P1 (high) — config example masquerades as usable; ships in archives **Component**: `etc/enoch-control-plane/config.example.json:1-15` **Evidence**: ```json { "control_api_bearer_token": "REPLACE_ME_AFTER_BOOTSTRAP", "github_token_file": "/etc/enoch-control-plane/github-token", "supabase_url": "https://example.supabase.co", "supabase_service_role_key": "eyJ......" } ``` **Impact**: - The...

bug
P1-high
area:security

**Severity**: P1 (high) — production gate can crashloop silently **Component**: `deploy/enoch-worker-gate.service` **Evidence**: ```ini [Service] Type=simple ... Restart=on-failure RestartSec=3 TimeoutStopSec=30 KillMode=mixed FinalKillSignal=SIGKILL ``` **Impact**: - A Python exception that fails the...

bug
P1-high
area:worker

**Severity**: P2 (medium) — provenance-check unit reads DB credentials but lacks hardening **Component**: `deploy/enoch-source-lineage-check.service` **Evidence**: ```ini [Service] Type=oneshot User=enoch Group=enoch WorkingDirectory=/opt/enoch-control-plane Environment=ENOCH_CONFIG=/etc/enoch-control-plane/config.json EnvironmentFile=-/etc/enoch-control-plane/postgres.env EnvironmentFile=-/etc/enoch-control-plane/supabase.env ... ExecStart=/opt/enoch-control-plane/.venv/bin/python /opt/enoch-control-plane/deploy/enoch_source_lineage_check.py --json ``` **Impact**:...

bug
P2-medium
area:worker
area:security

**Severity**: P1 (high) — root RCE vector via any of the 4 root-running services **Component**: `deploy/enoch-corpus-import-autopilot.service`, `deploy/enoch-research-autopilot.service`, `deploy/enoch-paper-material-graph.service`, `deploy/enoch-queue-alert-check.service` **Evidence**: ```ini # enoch-corpus-import-autopilot.service [Service] Type=oneshot WorkingDirectory=/opt/enoch-control-plane Environment=HOME=/root Environment=ENOCH_CONFIG=/etc/enoch-control-plane/config.json ... Environment=ENOCH_GITHUB_TOKEN_FILE=/root/.config/enoch/github-token...

bug
P1-high
area:worker
area:security