Jeremy Blankenship
Jeremy Blankenship
**Severity**: P2 (medium) — silent gate bypass on missing data **Component**: `enoch_control_plane/control_plane/research_quality_freshness.py:22-31` **Evidence**: ```python parsed = parse_utc_datetime(str(report_mtime or "")) if parsed is None: return { "report_age_hours": None, "report_stale_after_hours": stale_after_hours, "report_is_stale":...
**Severity**: P1 (high) — feature flags silently regress on parse error or partial write **Component**: `enoch_control_plane/feature_flags.py:34-49` **Evidence**: ```python def _load(path: Path) -> dict: if not path.exists(): return {} try: return...
**Severity**: P1 (high) — silent safety-flag disable on deploy **Component**: `enoch_control_plane/feature_flags.py:34-42`, `_save:44-49` **Evidence**: ```python def _load(self) -> dict[str, dict[str, Any]]: if not self._path.exists(): return {} try: data = json.loads(self._path.read_text(encoding="utf-8")) except...
**Severity**: P1 (high) — secret rotation breaks all in-flight deliveries; replay-protection is implicit **Component**: `enoch_control_plane/callback_signing.py:18-23` **Evidence**: ```python ts = int(time.time() if timestamp is None else timestamp) signed = b".".join([str(ts).encode("ascii"), body])...
**Severity**: P0 (auth/integrity gap) — outbound HMAC signatures have no inbound verifier **Component**: `enoch_control_plane/callback_signing.py:12,18` **Evidence**: ```python def signature_headers(body: bytes, secret: str) -> dict: ts = int(time.time()) signed = b".".join([str(ts).encode("ascii"), body])...
**Severity**: P1 (high) — duplicate-callback guard does not actually guard **Component**: `enoch_control_plane/control_plane/gate.py:80-85` **Evidence**: ```python def _is_duplicate_gate_callback(self, callback: dict) -> bool: last = self._last_callback if not last: return False return last.get('received_at')...
**Severity**: P1 (high) — duplicate-callback detection can let duplicates through **Component**: `enoch_control_plane/control_plane/gate.py:80-85` **Evidence**: ```python def _is_duplicate_gate_callback(record: RunRecord) -> bool: if not record.last_idempotency_key: return False last_seen = record.last_idempotency_key.rsplit(":", maxsplit=1)[-1] current_seen =...
**Severity**: P1 (high) — security primitive with no test coverage **Component**: `tests/` — missing `test_callback_signing.py` **Evidence**: `enoch_control_plane/callback_signing.py` is 24 lines. It defines `SIGNATURE_HEADER`, `TIMESTAMP_HEADER`, `SIGNATURE_PREFIX`, and the single producer-side function...
**Severity**: P1 (data loss) — operator can silently publish wrong version **Component**: `scripts/bump_version.py:56` **Evidence**: ```python def update_version_file(new_version: str) -> None: VERSION_FILE.write_text(format_version_file(new_version), encoding="utf-8") ... update_changelog(new_version) ``` **Impact**: - No `git diff`...
**Severity**: P1 (CI security) — privileged long-lived runner with persistent state **Component**: `.github/workflows/ci.yml:16` **Evidence**: ```yaml runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'self-hosted' }} ``` **Impact**: - PRs from...