Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(security): raise complete component scan budget
Rahman62eecb885b77
diff --git a/.github/workflows/codex-security.yml b/.github/workflows/codex-security.ymlindex 14a8ed79..123991c6 100644--- a/.github/workflows/codex-security.yml+++ b/.github/workflows/codex-security.yml@@ -22,7 +22,7 @@ jobs:CODEX_SECURITY_AUTH: api-keyCODEX_SECURITY_FAIL_ON_SEVERITY: highCODEX_SECURITY_COMPONENT_WORKERS: "2"- CODEX_SECURITY_COMPONENT_MAX_COST_USD: "5"+ CODEX_SECURITY_COMPONENT_MAX_COST_USD: "8"CODEX_SECURITY_MODEL: "gpt-5.6-terra"CODEX_SECURITY_EFFORT: "high"diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex 821f65b8..1ec879b1 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -12,6 +12,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.**Fixed**+- `security` raise complete component scan budget- `security` keep Codex scan state private- `security` block recursive credential relocationdiff --git a/docs/SECURITY-ASSURANCE.md b/docs/SECURITY-ASSURANCE.mdindex ff3bc3a9..53820e9f 100644--- a/docs/SECURITY-ASSURANCE.md+++ b/docs/SECURITY-ASSURANCE.md@@ -47,7 +47,7 @@ bun run security:ultimateThe command creates a `0700` private run directory under `~/.mso/security-assurance`, snapshots **tracked files only**, and runs the repository verification plus Trivy, OSV-Scanner, Gitleaks, Semgrep, ShellCheck, the official Codex Security component scan across the full tracked repository and the passive ZAP baseline. Detailed scanner output stays outside the repository. A failing scanner produces a failing command; the script does not convert scanner outages into security passes.-Codex Security is intentionally not an automatic per-commit hosted gate because it consumes model/API budget. MSO uses OpenAI's official `scan-components` command because repeated monolithic Standard scans of this repository reached bounded spend limits without producing a terminal coverage result. The committed [`security/codex-components.json`](../security/codex-components.json) plan was generated by the official planner and covers all tracked files through twenty non-overlapping components. The official auto-plan was refined along subsystem boundaries after bounded trial scans proved that its two largest groups were too broad to reach a terminal result within the per-component guard. Each component receives a Standard scan, then Codex Security performs cross-component root-cause matching; incomplete component coverage or incomplete matching fails closed. The default guard is $5 **per component**, with two concurrent workers. MSO pins the component lane to `gpt-5.6-terra` with `high` reasoning because calibration on the security-critical `lib/host` component reached complete terminal coverage under that bounded budget, while `gpt-5.6-sol` at xhigh/medium repeatedly exhausted bounded spend without a terminal coverage result. Model, effort, budget and workers remain explicit overrides through `CODEX_SECURITY_MODEL`, `CODEX_SECURITY_EFFORT`, `CODEX_SECURITY_COMPONENT_MAX_COST_USD` and `CODEX_SECURITY_COMPONENT_WORKERS`. The result gate independently validates `summary.json` and the combined `findings.json`; High/Critical groups fail the run. A maintainer can explicitly skip the lane with `MSO_SECURITY_SKIP_CODEX=1`, but a run with a skipped lane must not be advertised as the full ultimate gate. ZAP is likewise skippable for offline development, but not for a published assurance run.+Codex Security is intentionally not an automatic per-commit hosted gate because it consumes model/API budget. MSO uses OpenAI's official `scan-components` command because repeated monolithic Standard scans of this repository reached bounded spend limits without producing a terminal coverage result. The committed [`security/codex-components.json`](../security/codex-components.json) plan was generated by the official planner and covers all tracked files through twenty non-overlapping components. The official auto-plan was refined along subsystem boundaries after bounded trial scans proved that its two largest groups were too broad to reach a terminal result within the per-component guard. Each component receives a Standard scan, then Codex Security performs cross-component root-cause matching; incomplete component coverage or incomplete matching fails closed. The default guard is $8 **per component**, with two concurrent workers. MSO pins the component lane to `gpt-5.6-terra` with `high` reasoning because calibration on the security-critical `lib/host` component reached complete terminal coverage under that bounded budget, while `gpt-5.6-sol` at xhigh/medium repeatedly exhausted bounded spend without a terminal coverage result. Model, effort, budget and workers remain explicit overrides through `CODEX_SECURITY_MODEL`, `CODEX_SECURITY_EFFORT`, `CODEX_SECURITY_COMPONENT_MAX_COST_USD` and `CODEX_SECURITY_COMPONENT_WORKERS`. The result gate independently validates `summary.json` and the combined `findings.json`; High/Critical groups fail the run. A maintainer can explicitly skip the lane with `MSO_SECURITY_SKIP_CODEX=1`, but a run with a skipped lane must not be advertised as the full ultimate gate. ZAP is likewise skippable for offline development, but not for a published assurance run.## Reviewed Gitleaks fixturesdiff --git a/scripts/codex-security-components.sh b/scripts/codex-security-components.shindex f9cb8083..cc511089 100755--- a/scripts/codex-security-components.sh+++ b/scripts/codex-security-components.sh@@ -7,7 +7,7 @@ VERSION="${CODEX_SECURITY_VERSION:-0.1.21}"AUTH="${CODEX_SECURITY_AUTH:-auto}"FAIL_ON="${CODEX_SECURITY_FAIL_ON_SEVERITY:-high}"WORKERS="${CODEX_SECURITY_COMPONENT_WORKERS:-2}"-MAX_COST="${CODEX_SECURITY_COMPONENT_MAX_COST_USD:-5}"+MAX_COST="${CODEX_SECURITY_COMPONENT_MAX_COST_USD:-8}"MODEL="${CODEX_SECURITY_MODEL:-gpt-5.6-terra}"EFFORT="${CODEX_SECURITY_EFFORT:-high}"REPO_ROOT="$(git rev-parse --show-toplevel)"diff --git a/scripts/security-ultimate.sh b/scripts/security-ultimate.shindex 870d27ff..38a8308e 100755--- a/scripts/security-ultimate.sh+++ b/scripts/security-ultimate.sh@@ -74,7 +74,7 @@ fiif [[ "${MSO_SECURITY_SKIP_CODEX:-0}" != "1" ]]; thenrun_capture "Codex Security components" env CODEX_SECURITY_FAIL_ON_SEVERITY=high \CODEX_SECURITY_COMPONENT_WORKERS="${CODEX_SECURITY_COMPONENT_WORKERS:-2}" \- CODEX_SECURITY_COMPONENT_MAX_COST_USD="${CODEX_SECURITY_COMPONENT_MAX_COST_USD:-5}" \+ CODEX_SECURITY_COMPONENT_MAX_COST_USD="${CODEX_SECURITY_COMPONENT_MAX_COST_USD:-8}" \CODEX_SECURITY_OUTPUT_ROOT="$RUN_DIR/codex-results" \CODEX_SECURITY_STATE_DIR="$RUN_DIR/codex-state" \./scripts/codex-security-components.sh