You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Audit: guards and checks that pass on empty, missing or failed input (fail-open) #106
Owner question after oxstack/ox-llm#1442: "If empty return ok? Sounds like scary logic. Do we have more things like that?"
acceptance() returned OK for zero check commands, so a task with no checks was done. Find every place where a guard, check, verdict or policy in oxa passes when its input is empty, missing or failed.
Shapes to search (not just one regex):
if x.is_empty() { return Ok(..) } / Ok(true) in a check/verify/approve/admit/authorize/policy function.
Vacuous truth:.all(..) over a possibly empty collection used as a verdict ("all checks green", "all files allowed").
unwrap_or(true), unwrap_or_default(), map_or(true, ..), is_none_or(..) on a decision.
Swallowed errors in guards:Err(_) => Ok(..), .ok() / let _ = on a check result, ? replaced by a default.
Missing means allowed: absent config/field/header treated as permission.
Skipped means passed: a check that is skipped (trust, offline, timeout, missing tool) whose outcome still counts as success.
Already classified by the orchestrator (the simple is_empty → return Ok form, 14 sites on main):
Benign: byte/chunk I/O, empty writes, theme default, end of stream, schema with zero errors, empty token file = not logged in.
Output: a table with file:line, shape, what the guard protects, its verdict on empty/missing/failed input, and dangerous / verify / benign. Every dangerous one gets its own fix issue with a failing test that feeds the empty/missing/failed input. Fix direction: fail closed (refuse, or "unverified"), or make the empty case explicit and visible.
Fail-open audit result (oxa on OpenCode Go DeepSeek, read-only, oxa -p, outcome done)
First attempt on GLM 5.3 failed (#1447). This run used opencode/deepseek-v4.1-flash. Raw output below; the orchestrator verified the top item in code, and the rest are claims to be verified per row before fixing.
Verified dangerous:oxa-config/src/settings.rsread_layer: an existing settings file that is unreadable or not valid JSON becomes Value::Null with only a diagnostic, so the owner's own restrictive settings (oxa.offline, oxa.sandbox.net: off, oxa.engine.allowRemote: false, read paths) silently stop applying. Fix (owner principle: do not block, do not silently weaken): keep a last-known-good copy of each settings layer and fall back to it when the file is unreadable or invalid, with a prominent UI warning; if there is no last-good copy, keep restrictive defaults for privacy/network keys.
Also worth fixing (verify first):dispatch.rs:1200 print-mode exit 0 when an untrusted project's done checks never ran (same family as oxstack/ox-llm#1442); trust.rs:479 a detection miss reads as trusted; exec_hooks.rs:252 blocking hooks skipped when the sandbox check errors.
Raw audit table
file:line
shape
what it protects
behaviour on empty/missing/failed
verdict
one-line reason
oxa/oxa-config/src/settings.rs:426
error read → Value::Null ("never fails")
every setting read from the user/project layer, incl. oxa.offline, oxa.sandbox.net, oxa.engine.allowRemote
a settings file that exists but is unreadable (EACCES) drops all of its settings and the run continues on defaults
dangerous
security switches silently revert to permissive defaults on an I/O error; only a notice remains
oxa/oxa-ext/src/exec_hooks.rs:252
failed check → skipped, Continue
exec hooks that Block/Cancel a tool_call or user_bash
sandbox.check() error ⇒ every hook for that point is skipped and the tool call proceeds
verify
documented ("one warning"), but a blocking hook fails open with no verdict
oxa/oxa-ext/src/exec_hooks.rs:151,190
error/timeout/nonzero-exit → Continue
hook verdicts (Block/Cancel)
a timed-out, killed, crashed or garbled hook never blocks
verify
deliberate ("a failing hook never blocks by accident"); attacker-controlled hook failure = allow
oxa/oxa-perm/src/trust.rs:479
vacuous .all/empty → Trusted
project settings/extensions/skills/mcp/hooks must be user-approved
has_gated == false (nothing detected) returns Trusted without asking
verify
a detection miss (present()/exists() false on an unreadable dir) converts "unknown" into "trusted"
oxa/oxa-perm/src/trust.rs:243
.unwrap_or_default() on a check input
approved-content hash of a gated project file
unreadable file hashes as empty content
verify
two different unreadable files share one hash; sticky approval for content never seen
oxa/oxa-tools/src/checked.rs:29
None => Ok(())
oxstack/ox-llm#518 pin: the opened file must be the location the policy judged
no pin ⇒ the symlink-swap check passes
verify
correct for the documented "direct call", but any caller path that runs a tool without a pin loses the check
oxa/oxa-mcp/src/offline.rs:10
None => Ok(())
the offline refusal for MCP HTTP / OAuth connects
a URL whose host cannot be parsed is not offline-checked at all
verify
relies on the request failing later; nothing states that
benign only because HttpEngine::new re-checks; the startup gate itself is vacuous
oxa/oxa-core/src/session.rs:1753
None => !contains("://")
draft-prefill privacy (unsent draft leaves the machine?)
a base URL the parser cannot read counts as "on this machine"
verify
classifier answers "local" for any unparseable input
oxa/oxa-core/src/done.rs:201
is_empty() → None (no verdict)
the project's done checks
no done list ⇒ no checks and no failure signal
benign
documented "empty = off"; outcome still reports success
oxa/oxa-cli/src/dispatch.rs:1200
skipped check counted as success
untrusted project's declared done checks
checks never run; exit status stays success
verify
a warning is printed, but print-mode exit 0 claims completion of unrun checks
oxa/oxa-sandbox/src/bwrap.rs:748
vacuous .all → None (no refusal)
git hook/config safety refusal
empty layout.git.dirs ⇒ the refusal returns "nothing unsafe"
verify
"no git dirs found" and "git dirs unresolvable" look identical
oxa/oxa-sandbox/src/bwrap.rs:487
vacuous .all
gh_source_is_safe: real gh config must not reach a deny-list entry
no homes to compare ⇒ vacuous true ⇒ source accepted
verify
one home is always supplied in practice, but the function's own guard is empty-safe
oxa/oxa-sandbox/src/bwrap.rs:212,562
vacuous .all
git_writable → --bind vs --ro-bind
empty git.rw ⇒ true
benign
an empty list also emits no bind at all
oxa/oxa-sandbox/src/bwrap.rs:915
Err(_) => {}
core.hooksPath mask when the path cannot be stat'ed
missing/non-real parent ⇒ no mask emitted
verify
relies on the alias refusal elsewhere in the same argv build
oxa/oxa-perm/src/paths.rs:74
vec.iter().all() as verdict
plan mode read-only command allow-list
empty simple would return true
benign
split_simple_commands returns None, never an empty vec, and read_only_words rejects empty words
oxa/oxa-perm/src/policy.rs:403
decision on an empty/wildcard field
remembered session grants
Exec{net:false} grant (command: "") matches every non-network command
benign
documented "any command without network"; still sandboxed
oxa/oxa-mcp/src/config.rs:228
missing field → allowed (unwrap_or(true))
MCP server enablement
no enabled key ⇒ server enabled/launched
benign
user-authored entry; matches pi/Claude convention
oxa/oxa-config/src/models.rs:302
vacuous .all
cloud provider catalog validation
models: [] / missing ⇒ provider accepted with zero models
benign
an empty catalog exposes nothing routable
oxa/oxa-ext/src/schema.rs:24
errors.is_empty() → Ok
extension tool-argument validation
non-object/empty schema ⇒ every argument accepted
benign
JSON-Schema "no constraints"; limits types, not authority
oxa/oxc-gateway/src/gateway.rs:133
vacuous .all over Option windows
plan-usage cache freshness
all three windows absent ⇒ "fresh"
benign
bounded by max_age, worst case a stale cached reading
oxa/oxa-tools/src/edit.rs:142
Err(PermissionDenied) => fallback write
atomic replace after checked::verify_at(parent)
when the parent cannot be opened ⇒ in-place rewrite through the existing fd
verify
unverified write path taken exactly when the check could not be done
oxa/oxa-resources/src/packages.rs:197
Err(_) => Ok(None)
package manifest discovery
an unreadable package.json reads as "absent"
verify
contradicts the doc ("error when present but invalid"); falls back to index.js
oxa/oxa-tools/src/ls.rs:70
.filter_map(e.ok())
directory listing
unreadable entries silently omitted
benign
cosmetic; reads are still guarded by the policy pin
oxa/oxa-session/src/store.rs:1522
read_header(p).ok()
session list
unreadable session files dropped
benign
listing only
oxa/oxa-mcp/src/oauth.rs:394
missing field → unwrap_or_default
OAuth state (CSRF)
redirect without state yields ""
benign
compared against a random expected value, so it fails closed
oxa/oxa-script/src/runtime.rs:132
Option → unwrap_or(0)
per-call wall-clock deadline
no deadline ⇒ no interrupt condition ever trips
benign
documented for codemode; interrupt() still works
oxa/oxc-local/src/admission.rs:53
unreadable input continue
--ctx-size/-c must match the admitted context
a non-UTF-8 argv word is skipped, not rejected
verify
a conflicting context flag that is not valid UTF-8 escapes the binding check
oxa/oxa-mcp/src/manager.rs:1741
let _ = on write
MCP server log append/rotate
write failures ignored
benign
documented "logging never breaks a session"
Dangerous
oxa/oxa-config/src/settings.rs:426 — an existing-but-unreadable settings.json is silently replaced by Value::Null (with a diagnostic notice), so oxa.offline: true, oxa.sandbox.net: "off", oxa.sandbox.readPaths and every other guard degrade to defaults while the session keeps running online. This is the only finding where a failed read loosens a safety switch instead of a cosmetic feature; it is the one I would fix (refuse to start, or keep the last-known values, when the user layer is present but unreadable).
Secondary verify-first items that become dangerous if their assumptions break: exec_hooks.rs:252 (blocking hooks skipped when the sandbox check fails), trust.rs:479 (a detection miss reads as "trusted"), checked.rs:29 (no pin ⇒ swap check passes), and edit.rs:142 (in-place write taken exactly when the parent could not be verified).
Work1 reviewed all 29 rows from the existing DeepSeek run against the source observed during its execution, 7aa98cc1212318740057d24fc1f52fb928fc1af1. The identified process exited, the output and diagnostics hashes were stable across the copy, and its terminal record says done. It made 81 requests with complete process-level token accounting. The terminal record lacks a source hash, so the source identity here is the independently observed checkout before and after completion. Original audit
Disposition: 1 dangerous, 12 verify, 16 benign. “Verify” means the local branch was confirmed but a consequential production path or policy requirement still needs evidence. The file paths below are under oxa/ at the observed commit. Numbers 1–6 in the shape column correspond to the six searches in this issue.
File and line
Shape
Protected behavior
Empty, missing or failed input result
Work1 verdict and evidence
oxa-config/src/settings.rs:410–430
4, 5
Owner network preferences
Present unreadable or invalid layer becomes null with a diagnostic. A truly absent file has no layer.
Dangerous. Loader and downstream defaults confirm loss of a configured offline or sandbox-off restriction. Remote-engine opt-in still defaults to false. Fix oxstack/ox-llm#1449 carries the hosted regression requirement.
oxa-ext/src/exec_hooks.rs:249–257
4, 6
Configured hook execution
Sandbox precheck error skips hooks and warns.
Verify. The hook decision is absent. Determine which configured hooks are expected to supply mandatory policy and what the primary tool sandbox refuses independently.
oxa-ext/src/exec_hooks.rs:151–195
4, 6
Hook Block or Cancel replies
Empty successful output continues. Timeout, invalid output and most nonzero exits warn and continue. The documented blocking exit still blocks at supported points.
Verify. Advisory hook semantics are explicit. Confirm whether any supported configuration relies on a failing hook as its only required guard.
oxa-perm/src/trust.rs:479–504,537–541
3, 5
Approval before loading project resources
Scanning reports no gated resources when existence checks return false. Trust resolves true when there is nothing gated.
Verify. Absence is intentional. Distinguish access errors and verify that a loader can actually reach anything the scan missed before calling it a trust bypass.
oxa-perm/src/trust.rs:239–246
3, 4
Fingerprint of approved resources
Failed content read hashes empty bytes.
Verify. Equal sentinel bytes are established. A later successful read can produce a different digest. Need caller timeline and approval/load evidence before claiming unapproved content executes.
oxa-tools/src/checked.rs:26–35
5
File-open path binding
No supplied pin succeeds on the documented direct-call path.
Verify. Normal ModePolicy pins read/write paths and core exec carries those pins. Audit any supported alternative caller that is supposed to pin.
oxa-mcp/src/offline.rs:8–12
5
MCP offline network authority
Host unavailable to the helper leaves validation to the transport.
Verify. MCP POST/OAuth apply the helper and use the transport parser. Confirm the parsers agree on usable authorities. Keep proxy and redirect checks.
oxa-cli/src/netguard.rs:236–242
5
Engine endpoint authority
Startup check defers an endpoint without a parsed host.
Benign at the traced path. HttpEngine construction parses the complete URL and checks its actual host before accepting it.
oxa-core/src/session.rs:1750–1755
3, 5
Unsent draft remains local
Absence of parsed authority counts as local only for strings without ://.
Verify. Corrected the claim that every malformed URL is treated as local. Inspect production EngineInfo values for authority-free remote adapters.
oxa-core/src/done.rs:197–208
1, 6
Optional interactive done phase
Empty check list returns no repair message. Dirty and cancellation gates are separate.
Benign for an intentionally unconfigured interactive check. This return is no check verdict. Required task acceptance is tracked separately in oxstack/ox-llm#1442.
oxa-cli/src/dispatch.rs:1198–1206
6
Visibility of trust-skipped project checks
Warns that declared checks did not run and continues startup.
Verify under oxstack/ox-llm#1442. The branch emits a warning and has no terminal verdict. End-to-end evidence must distinguish a successful model reply from verified task completion.
oxa-sandbox/src/bwrap.rs:742–755
2, 5
Git protected-entry safety
Empty discovered Git-dir set yields no unsafe-entry result. Configured hook checks precede this branch.
Verify. An empty non-repository layout is fine. Need proof any failed discovery can still yield a writable protected path.
oxa-sandbox/src/bwrap.rs:477–494
2
GitHub configuration source isolation
An empty home set would vacuously pass.
Benign at the present caller. It always passes two home path slots, even when optional aliases are absent.
oxa-sandbox/src/bwrap.rs:208–226,557–570
2
Git write binds and masks
Empty write-directory iterator passes the predicate.
Benign. It supplies no writable Git-directory bind. This predicate does not substitute for the other mount and cwd checks.
oxa-sandbox/src/bwrap.rs:892–919
4, 5
Configured hook-path masking
Metadata failure with no real parent emits no mask in this branch.
Verify. Review the earlier alias refusal and reachability through actual mounts. The absence of a mask alone does not establish a writable hook target.
oxa-perm/src/paths.rs:70–76
2
Plan command allowlist
The parser refuses an empty command list before the universal predicate.
Benign. The empty list cannot reach the allow verdict through the shown helper.
oxa-perm/src/policy.rs:395–406
5
Remembered shell grants
An explicitly remembered non-network Exec grant covers non-network commands.
Benign. The scope follows a recorded grant. Network matching and the sandbox remain separate.
oxa-mcp/src/config.rs:215–230
3, 5
MCP config opt-in/out
An existing valid entry defaults to enabled when its optional toggle is absent.
Benign. A configured entry supplies authority subject to scope and trust. Missing entries and malformed values are separate.
oxa-config/src/models.rs:291–315
2
Config-defined model validation
A zero-model list has no invalid model, subject to the provider checks.
Benign. This adds no selectable model by itself. An absent price is descriptive metadata under #108.
oxa-ext/src/schema.rs:19–25
1, 2
Extension argument constraints
No schema errors is success. A constraint-free schema constrains nothing.
Benign for this validation layer. Tool permissions and executable trust are separate.
oxc-gateway/src/gateway.rs:124–135
2, 3
Cached plan-usage freshness
With all windows absent it can reuse the bounded same-account observation.
Benign. The result describes freshness, and usage windows remain unknown. An empty observation supplies no measured spend or cap.
oxa-tools/src/edit.rs:125–144,220–252
4
Safe file replacement
An access error during atomic replacement can fall back to writing the already-open target.
Benign for the proposed path-binding concern. The original target descriptor was verified before this branch. Parent verification is required for rename. The fallback performs no new path lookup.
oxa-resources/src/packages.rs:184–199
4, 5
Package manifest discovery
An I/O error is treated as absence and default discovery can apply. Invalid JSON returns an error.
Verify. This erases the read cause. Confirm package authorization and exact fallback resources before claiming a trust consequence.
oxa-tools/src/ls.rs:68–89
4
Directory listing completeness
Failed entries are omitted after directory access succeeds.
Benign for this row. Listing omission supplies no authorization verdict.
oxa-session/src/store.rs:1517–1526
4
Visibility of saved sessions
An unreadable header becomes None; the path remains in the returned list.
Benign. Corrected the claim that this function drops session files.
oxa-mcp/src/oauth.rs:394,647–651
3, 5
OAuth response identity
Missing state yields an empty string and fails the later equality check against generated state.
Benign. The caller rejects the missing evidence before accepting the authorization.
oxa-script/src/runtime.rs:113–137
3, 5
Optional script deadline
Absent deadline arms no timer. Independent interrupt handling remains.
Benign for the optional deadline. Absence does not bypass a configured deadline.
oxc-local/src/admission.rs:44–69
4, 5
Native context reservation agrees with configured launch
The helper skips non-UTF-8 words; supported configured flags originate as Strings and binding values are checked.
Verify. No supported route for a competing non-UTF-8 flag was shown. A native model path can legitimately be an OsString, so avoid a blanket refusal.
oxa-mcp/src/manager.rs:1729–1745
4
Best-effort MCP logging
A write failure leaves the diagnostic unavailable.
Benign for session continuation. It does not prove the log was written. Required audit receipts are a separate contract.
Coverage gap: reviewing all returned rows verifies 29 observations across 24 files in 13 crates. The model supplied no per-crate or per-shape search coverage record. Its table omitted the known oxstack/ox-llm#1442 runner and committed-verifier findings and the empty review-patch callers already identified in this issue. Those omissions preclude treating this as the complete six-shape repo audit. The exact settings regression is still awaiting hosted before evidence. The other verify rows remain candidates, with no new issue or security impact inferred from source alone. Existing oxstack/ox-llm#1442 verifier trace · Owner’s unknown usage and metadata rule
Lead · Stage 1 verification of the existing oxa output
Reviewed all 29 returned rows against the observed source 7aa98cc1212318740057d24fc1f52fb928fc1af1, including their callers and relevant existing tests. The original run’s terminal record lacks a source SHA. The checkout observation supplies that provenance. The owner’s current #108 decision governs the dispositions below. Original output · Work1’s review · Owner decision
#
Audit row
Lead caller and policy verdict
1
settings read error
Confirmed, oxstack/ox-llm#1449.Settings::load drops a failed layer. netguard::install can lose the only configured offline restriction and the effective settings can lose sandbox network-off. Remote engine opt-in still defaults false. Keep the verified owner/layer restrictions and warn with cause and remedy.
2
exec hook sandbox unavailable
Warn and continue for advisory hooks. The hook does not execute. Core still runs the independent permission decision and the tool's own execution safeguards. Existing sandbox-missing test covers the warning at an observer point. The audit supplied no supported mandatory-hook configuration.
Same advisory-hook finding as oxstack/ox-llm#2. Existing timeout control exercises Continue plus warning. Preserve actual Block/Cancel replies and the independent tool policy. A required acceptance check would need its own honest verdict.
4
gated resource scan reports empty
Unproven authority impact, #105 overlap. CLI startup, worker trust and epoch refresh consume the scan. An absence check collapses lookup failure. No caller evidence shows a loader reaching gated content the scan could not see. Keep folder approval owner-controlled and distinguish unavailable evidence from a confirmed empty scan.
5
content fingerprint reads empty on error
Unproven authority impact, same #105 area. The approval hash can represent empty bytes. A subsequent successful read can change the digest. No approved-to-load sequence was demonstrated. This is a read-cause visibility candidate for the existing approval path.
6
checked file open without a pin
Expected on direct calls. Production ModePolicy::decide_pinned returns a read/write pin and core carries it into tool execution. Existing read, edit and write controls cover matching and mismatched pins. No production built-in file caller with a missing required pin was shown.
7
MCP offline helper has no parsed host
Verify before a verdict. HTTP POST, delete and OAuth paths use the helper ahead of transport. Proxy/redirect guards and the existing remote-refusal fixture cover ordinary cases. The helper and transport parse independently. Parser agreement for all supported inputs remains unverified. Preserve offline enforcement.
8
startup engine host check defers malformed input
Expected delegation.HttpEngine parses the actual host and checks it before connecting. The startup helper's return alone supplies no network authorization.
9
draft prefill classifies authority-free engine names as local
Expected for traced adapters. Prefill requires prefill_only; the native local adapter has an authority-free name, the cloud adapter is remote and supplies no prefill-only capability. The existing draft fixture exercises remote exclusion. A new adapter should preserve the explicit locality boundary.
10
no interactive done commands
Expected optional behavior. The dirty/cancel gate and empty list return no check verdict. When a task requires acceptance, oxstack/ox-llm#1442 owns that verdict.
11
print-mode trust-skipped checks
Confirmed, #105 / oxstack/ox-llm#1442. Existing untrusted_project_done_is_reported_in_print_mode expressly asserts warning plus exit 0. Keep a successful conversation result distinct from unverified required acceptance. Do not run an untrusted command to make the check pass.
12
empty sandbox Git directory inventory
Expected outside repositories; inconclusive on discovery errors. The refusal also adds a real dotgit directory and handles custom hook paths before the cited branch. Existing repository/alias tests protect discovered entries. No writable unresolved protected entry was established.
13
empty GitHub-config home list
Unreachable at the production caller. The call always supplies the two home slots. The ordinary config and alias tests cover the intended bound.
14
empty Git writable-bind list
Expected. No writable Git-directory bind is emitted. Other cwd and protected-mount checks still apply.
15
unstatable configured hook path emits no mask
Covered for traced exposed paths. The earlier hook-path refusal checks the real parent, writable exposure and aliases. Existing included-config and hook-alias controls exercise the guard. No unmasked writable case was established by the row.
16
empty read-only command list
Expected. The parser rejects missing commands before the all predicate; the words check also rejects empty commands. The plan allowlist test covers the public decision.
17
remembered non-network Exec grant
Expected explicit scope. The recorded grant matches non-network execution only and sandbox policy still applies.
18
configured MCP entry omits enabled
Expected default. Scope/trust and type validation remain; omission enables the configured valid entry.
19
provider with zero models
Expected. This validation predicate adds no selectable model. The unknown-price/metadata and discovery changes remain with #108.
20
extension schema has no constraints
Expected. Argument validation reports no schema error; the tool's authority is decided separately.
21
plan-use cache has no known window
Expected under #108. Freshness remains bounded by age and credential identity. An absent window remains unknown and supplies no measured usage or limit. The existing cache fixture covers age and identity.
22
edit falls back to in-place write
Expected for the traced path. The verified target descriptor is reused. Parent verification governs rename, and the fallback opens no new target. The existing directory-read-permission control exercises this path.
23
package manifest read error resembles absence
Confirmed cause-logging gap, #108. Resource collection expands standard extension/skill globs on read failure, while a parse error diagnoses and skips just the package. Scope/trust and declaration filters remain. Preserve genuinely absent manifests as valid defaults; report other read errors and avoid widening resource selection when its manifest could not be read. The existing defaults test covers normal discovery, and the audit has no direct failed-read fixture or trust-bypass proof.
24
directory listing drops failed entries
Expected best-effort listing. Access was checked before enumeration; omission supplies no permission verdict.
25
session header read failure
Expected conservative wipe handling.session_files_under keeps the path with an unknown header. Targeted wipe requires a matching parsed ID; wipe-all keeps and names unrecognized files. The audit's “listing only” explanation missed the deletion caller.
26
missing OAuth state becomes empty
Expected hard refusal in the caller. Empty fails comparison with the generated state before accepting authorization.
27
optional scripting deadline absent
Expected. No timer is armed. Explicit deadlines and independent interrupt handling remain.
28
native context binder skips non-UTF-8 argv
No proven failing caller. Configured flags come from strings, and a non-UTF-8 value following a recognized context flag is refused. Existing tests cover duplicate, malformed and mismatched textual sizing flags. Preserve local admission binding while #108 handles the optional heuristic separately.
29
MCP server-log I/O is best effort
Confirmed cause-logging gap, #108. Failed rotate/open/append cannot establish a log receipt. Keep the session running. Surface a bounded, scrubbed diagnostic through an independent channel when required diagnostic evidence cannot be written.
Existing test evidence. The exact-tree hosted merge-group run passed. I checked named passes for trust-skipped print completion, hook timeout and missing sandbox, MCP offline, loopback draft prefill, checked file operations, manifest defaults, Git hook masks and credential isolation, plan allowlist, plan-usage cache and native context binding in the first shard and second shard. Those are existing normal-path and compatibility tests. They do not supply a before/after regression receipt for oxstack/ox-llm#1449, the package read error, or the MCP log-write error.
Deduplicated routing. oxstack/ox-llm#1449 owns the confirmed owner-policy loss. #105 and oxstack/ox-llm#1442 own the trust/acceptance split. Hook errors count as one advisory behavior. Package-manifest and MCP diagnostic I/O are two #108 observability candidates, without a demonstrated authorization bypass. This verifies the 29 supplied observations. Repository-wide six-shape coverage is still open and the known omitted review-patch and acceptance callers already have separate tracking. No new audit run, session, test run, or source edit.
Independent review of the existing oxa output, using its row order. I read all 29 branches and their caller boundaries. Across the 24 cited files, only dispatch.rs and done.rs changed between the observed checkout and current main. Their cited trust warning and empty-check behavior are still present.
Row
Air verification
1 Settings read
Dangerous, already oxstack/ox-llm#1449. The loader drops a failed or invalid layer; the network policy can lose an owner restriction. Remote-engine opt-in itself remains off by default. Preserve known owner restrictions and keep unrelated work available.
2 Hook sandbox precheck
Verify, with row 3. Hook dispatch returns a warning and no verdict. The primary tool still passes through its independent permission check. No evidence the hook is an enforced authority requirement at the observed call site.
3 Hook reply/failure
Verify, same hook contract. The supported explicit blocking result remains distinct from an execution failure. Existing hook test covers that difference.
4 No gated resources
Verify, with row 5. Trust resolution accepts a genuinely empty gated inventory. The observed source alone does not prove any resource missed by inventory would load.
5 Resource fingerprint
Verify, same trust evidence chain. Approval reads can substitute empty bytes. A successful subsequent read is independently hashed; no observed unapproved load.
6 Missing file pin
Verify for alternative callers. The normal core path obtains a ModePolicy pin and supplies it to tool execution. The helper permits callers that supply no policy pin.
7 MCP host unavailable
Verify. MCP POST and OAuth call the helper and then the transport parser, with separate redirect/proxy handling. Existing offline tests cover ordinary remote destinations; parser agreement at this branch is unproved.
8 Engine preflight
Benign for the two traced CLI construction paths. Both pass to HttpEngine construction for URL and actual host validation.
9 Draft prefill locality
Verify. The helper treats an authority-free label as local, not every malformed URL. Prefill requires its own capability and settings; the traced native local backend does not advertise the capability.
10 Optional interactive done list
Benign. A deliberately empty list supplies no check verdict. Required task completion evidence is separately tracked in oxstack/ox-llm#1442.
11 Trust-skipped done list
Verify, already oxstack/ox-llm#1442. The existing print-mode test requires a warning and exit zero for a normal reply with no checks run. That result cannot establish verified task completion.
12 Empty Git-dir inventory
Verify, with row 15. The observed branch legitimately handles a non-repository. Existing Git tests check protected layouts; this observation alone does not establish a writable protected path after failed discovery.
13 Empty GitHub-home list
Benign for the traced caller, which always supplies two home slots.
14 Empty Git-write roots
Benign. A true predicate over the empty list creates no writable Git bind. Other mount checks still apply.
15 Hook-path mask failure
Verify, same Git layout boundary as row 12. An earlier refusal handles unsafe or unrepresentable hook paths. Absence of a later mask alone does not establish access.
16 Empty plan command list
Benign. The parser refuses empty commands before the universal predicate.
17 Remembered non-network grant
Benign. The remembered grant is recorded authority within the stated scope. Network decision and sandbox are still separate.
18 Missing MCP enable toggle
Benign. The default applies to an already configured valid entry. Project-trust and config scope still gate the entry.
19 Empty custom-provider models
Benign. Empty metadata adds no routable alias by itself. It is not authorization or a reason to refuse a known route under #108.
20 Constraint-free argument schema
Benign for schema validation. Tool permission and sandbox checks remain independent.
21 Empty plan-usage windows
Benign as a freshness result. The caller has a same-account, maximum-age check. Missing windows stay unknown and supply neither a measured amount nor a limit.
22 Edit fallback
Benign for path binding. The in-place fallback writes the already-verified target descriptor. It does not take the rename path whose parent needed verification.
23 Unreadable package manifest
Verify for approval impact. The resource-discovery caller really applies conventional defaults after the read error loses its cause, whereas invalid JSON is reported. Separate package filters still apply. Track the diagnostic here rather than creating a second settings issue.
24 Directory entry omitted
Benign for authority. Listing can be incomplete after a per-entry error; it supplies no authorization or success evidence for another operation.
25 Unreadable session header
Benign for deletion safety. Enumeration retains the path with no header; wipe-all partitions it into retained files rather than deleting an unrecognized file.
26 Missing OAuth state
Benign. The callback parser supplies an empty string, which the later comparison rejects against the generated state.
27 Missing script deadline
Benign. An intentionally optional deadline has no timer; interrupt handling and configured deadlines remain separate.
28 Non-UTF-8 launch argument
Verify. The claimed branch is at line 48–49. Supported config flags enter as strings; the existing argument-binding test covers conflicting or malformed configured flags. The row establishes no supported conflicting-flag route.
29 MCP log write failure
Benign for session continuity. The diagnostic append is best effort. It cannot count as a successfully written mandatory receipt.
Existing tests verified. I read the original test assertions and exact hosted pass logs. At both SHAs the named cases for empty and trust-skipped done lists, ordinary remote-engine and MCP offline refusal, hook reply semantics, path pin/checked edit, script deadline, context binding and unpriced discovery passed. The unpriced-discovery case still asserts the old omission of an alias without owner rates, so it is baseline evidence for #108 and supplies no proof of its new continue rule. The passing runs also supply no failed-settings regression for oxstack/ox-llm#1449. No new lab job, audit session or source edit. Observed checkout CI · Current main CI
Policy and deduplication. Keep oxstack/ox-llm#1449 as the only confirmed dangerous item in this output. The related hook, trust and Git rows are grouped above. Keep skipped acceptance under oxstack/ox-llm#1442 and unknown price/limits/usage under #108: warn, record unknown, and preserve an otherwise authorized operation. Known authority, secret or configured limit checks retain their own refusal path. This verifies the 29 supplied observations; it provides no proof of repository-wide six-shape coverage. Work1 review · Current owner policy
Stage 1 independent verification of the existing 29-row oxa artifact at source commit 7aa98cc1212318740057d24fc1f52fb928fc1af1. Artifact SHA-256 03eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc. Row numbers follow the original report. The disposition matches the Work1 review: 1 dangerous, 12 verify, 16 benign. This receipt covers the returned rows and their callers.
Rows
Verified disposition
1
Dangerous, tracked in oxstack/ox-llm#1449. A failed settings-layer read can discard explicit restrictions. The shipped default for allowRemote remains false.
2–3
Verify together. Hook failures can suppress an advisory hook verdict. The primary sandbox still applies. No required approval dependency was established.
4–5
Verify together under #105. Discovery and fingerprinting collapse read errors. An actual execution or approval transition still needs evidence.
6, 22
6 verify: normal mode-policy read/write dispatch supplies the checked path pin. 22 benign: the edit fallback writes through the previously verified file descriptor.
7–8
7 verify: MCP HTTP and OAuth use the guard and the subsequent transport parser, with proxy and redirect controls. Full parser equivalence is unverified. 8 benign: both CLI construction paths use the parsed-URL constructor and its endpoint check.
9
Verify. The unparsed local-label fallback excludes strings containing ://, and draft prefill also requires advertised prefill capability. No production remote prefill consequence was established.
10–11
10 benign when no optional checks are declared. 11 verify under oxstack/ox-llm#1442: the print command can return a reply and a warning after skipping declared checks. Required acceptance stays unverified.
12–15
12 and 15 verify together against git layout and hook guards. No additional admitted write scope was established. 13 benign: the production caller supplies both home paths. 14 benign: an empty writable set emits zero writable binds.
16–18
Benign. The read-only parser rejects an empty command list. A remembered non-network grant retains the sandbox. An omitted MCP enable flag defaults on within the existing declaration and trust rules.
19–21
Benign. An empty model catalog exposes zero routable models. An empty schema supplies zero argument constraints. A fresh same-account cache entry with absent usage windows still leaves usage unknown.
23
Verify. A manifest read error becomes apparent absence in read_package_json. The production package_resources path then applies conventional discovery within the already admitted package. Its existing diagnostic path can warn and continue with other packages if the loader reports the read error. The current test covers readable defaults and malformed JSON. It leaves the unreadable-manifest branch uncovered.
24–27
Benign. Listing can omit affected directory entries after path checking. Unknown session headers retain their paths and are protected by wipe handling. OAuth checks the returned state against the generated value. An optional timer may be absent while explicit interrupt remains available.
28
Verify. Non-UTF-8 values of a recognized context flag are rejected. The skipped-token branch has no proven production path that defeats the admitted context.
29
Benign for session continuity. A failed optional log append supplies no audit receipt.
Four existing cases passed at the pinned source using the offline, locked CI profile: project_declares_done_reads_the_file_whatever_the_trust, read_only_command_list, manifest_keys_and_defaults, and launched_context_is_explicit_and_cannot_diverge_from_budget. The rest of the caller conclusions are from source inspection. Under the current oxstack/oxa#108 owner decision, absent advisory data stays unknown and useful work can continue. Explicit restrictions and required acceptance evidence still apply. Existing findings above retain their tracking issues.
Queue verification of the existing 29-row Stage 1 audit
I verified the original report at the independently observed clean checkout 7aa98cc1212318740057d24fc1f52fb928fc1af1 (artifact SHA-256 03eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc). This is a caller review of the delivered rows, using the original audit, Work1's cross-check, and current oxstack/oxa#108 policy.
Disposition: 1 confirmed loss of an owner restriction, 9 follow-up rows, 19 expected on the traced paths. The three narrowed dispositions versus Work1 are pin propagation (#6), built-in draft routing (#9), and configured native arguments (#28). These conclusions apply to the current callers.
Confirmed. An invalid or unreadable present layer becomes null and emits a diagnostic. User-only network setup then falls back to offline false, and absent sandbox network config defaults on. Remote-engine opt-in still defaults false. Reuse oxstack/ox-llm#1449 for last verified settings or restrictive network defaults while unrelated work continues.
2
Exec-hook sandbox precheck
Follow-up. The hook is skipped with a reason. ToolCall continues into its independent permission policy and user Bash uses its own execution sandbox. The hook verdict remains unavailable. Any deployment that expressly treats this hook as required needs its own verified blocked outcome.
3
Exec-hook timeout and exits
Follow-up, same contract as oxstack/ox-llm#2. Empty successful output is ordinary continuation. Timeouts, signal exits and malformed replies warn, while a documented blocking exit stops supported events. A failed advisory hook does not erase the permission floor.
4
Trust with no gated resources
Follow-up. Startup, work and the runtime epoch all consume discovery. Absence and a discovery error can produce the same empty result. A successful load through such a missed discovery was not established. Keep discovery-error handling in #105's trust scope.
5
Approval manifest read failure
Follow-up, same trust scope. Failed reads can hash sentinel content. The manifest is recomputed on a later check, so identical sentinel hashes alone do not prove that unapproved content loads. Content-strict mode should distinguish unknown content from an approved empty file.
6
File-open check without a pin
Expected on current paths. ModePolicy creates a read/write pin, and both core execution paths carry it into tools. Direct tool calls have the documented no-pin behavior. No supported unpinned permission-checked route was identified.
7
MCP offline check on hostless input
Follow-up. HTTP and OAuth call the helper before transport, and redirect/proxy defenses are separate. The helper defers hostless input to transport. Existing tests cover ordinary remote refusal, leaving parser agreement on that deferred path unproven. Keep the offline authority boundary.
8
CLI engine startup URL check
Expected. HttpEngine parses the endpoint and checks the actual host before constructing the engine. The startup fallback supplies no network authority.
9
Draft prefill locality
Expected on built-in routes. HTTP engines use a parsed endpoint. The embedded cloud route's synthetic address has no authority, but the actual backend advertises prefill false, and the native local EngineInfo likewise disables it. Ordinary remote/no-capability controls pass. Keep the privacy boundary for future adapters.
10
Empty optional interactive done list
Expected. The interactive phase returns no check verdict when checks are unconfigured. It neither verifies acceptance nor replaces managed-work acceptance. Keep oxstack/ox-llm#1442 separate.
11
Trust-skipped declared checks
Follow-up under #105/#1442. The loader omits the checks and reports a warning. Print exit derives from the run outcome and does not prove the omitted checks ran. A successful reply can continue. Required acceptance needs an explicit unverified result and an actionable trust instruction when checks cannot run.
12
Empty Git directory discovery
Follow-up. Non-repositories and some failed resolutions both produce empty layout. The refusal also checks configured hooks and a discoverable real cwd Git directory. No writable protected path was established from this row.
13
Empty GitHub config home list
Expected. Its only production caller supplies two mandatory home slots and independent masking conditions. Empty optional aliases do not empty the list.
14
Empty writable Git bind list
Expected. An empty list produces no writable Git bind. Cwd Git and protection checks run separately.
15
Configured hook path cannot be stat'ed
Follow-up, same sandbox boundary as oxstack/ox-llm#12. The mask pass follows the configured-hook alias/refusal pass. Lack of a mask alone does not show writable reach; present path, missing parent, and exposed mounts must remain distinct.
16
Empty plan shell command list
Expected. The parser cannot pass an empty command vector to the allowlist, and a word list with no command name is rejected.
17
Broad non-network remembered grant
Expected. It follows an explicit remembered non-network grant. Network matching and the sandbox are separate.
18
MCP enabled omitted
Expected. A valid configured server entry already supplies scope. Omission defaults it on; malformed toggles are rejected and project loading remains trust-scoped.
19
Provider has no model rows
Expected. Empty models add no selectable model; provider identity and HTTPS validation still apply. Keep unknown price/limits descriptive through the existing #108 discovery track.
20
Tool schema yields no validation errors
Expected. Constraint-free schema accepts arguments at this layer. Tool permission checks still occur separately.
21
Cached Go plan has no windows
Expected. Reuse is bounded by exact account and age. No window contributes measured usage or a known cap. Continue with unknown as #108 requires.
22
Edit parent failure falls back in place
Expected. Edit checks its already-open target before modification. The permission-denied fallback writes that same descriptor; rename requires a separately verified parent.
23
Unreadable package manifest
Follow-up. Package discovery really discards the I/O cause and can apply fallback extension/skill patterns, although an actual authorization bypass was not established. Route the diagnostic under #108 core/tools/config: warn with the skipped package and remedy, distinguish absent from unreadable, and keep unrelated packages available.
24
Directory listing drops unreadable entries
Expected for authorization. The caller requests directory read access; filtering individual entries supplies no new permission verdict. The listing may be incomplete.
25
Unreadable session header
Expected. The path survives with an unknown header. Wipe's caller preserves files whose session identity is unproven. No successful removal is inferred from missing metadata.
26
OAuth state absent
Expected refusal. The callback parser supplies an empty state and the authorization flow rejects the mismatch before token exchange. Keep the identity check.
27
Script deadline absent
Expected. No optional timer is armed, and independent interruption still applies. This does not disable a configured deadline.
28
Native context binding skips non-UTF-8 words
Expected for configured launches. Extra option words come from JSON strings, and the native path is generated as the operand to the explicit model flag. Context binding runs at both profile validation and launch. This row supplies no evidence of a competing option through that route. Keep the real context binding distinct from advisory allocation estimates.
29
MCP log write failure ignored
Expected session continuation, observable diagnostic gap. This is best-effort server logging. Under #108, report the unwritten diagnostic without stopping the session or claiming durable logging. Required audit receipts are separate.
Deduplication and limits. oxstack/ox-llm#1449 already owns the confirmed settings issue. #105 and oxstack/ox-llm#1442 cover trust-skipped required acceptance. Keep hook/manifest cause logging with #108's existing core/tools/config work rather than filing duplicates. No additional confirmed security failure emerged. The returned 29 rows do not establish repo-wide search completeness or cover the already-known empty review-patch and managed acceptance branches.
Existing tests executed and checked. On the lab host, with locked offline Cargo and an isolated HOME, the selected library tests and 11 exercised integration suites passed. They covered settings access, project trust, package defaults, hooks, done behavior, draft prefill, edit matching, MCP offline/OAuth, Git worktree binds and session preservation. The targeted verified-descriptor edit fallback and same-account Go plan cache test with the gateway feature enabled also passed. Exact hosted merge group independently passed all 5,054 tests with zero runtime skips. Its shard logs explicitly show the untrusted print-mode check warning/exit-0 fixture, hook precheck warning, loopback-only prefill, verified-descriptor fallback, and configured context binding. The skipped-check fixture documents the existing behavior. None of these passing baseline tests qualifies the unimplemented failed-settings fix.
The artifact hash and clean checkout were unchanged. No new model run, source edit or issue.
Pinned source 7aa98cc1212318740057d24fc1f52fb928fc1af1. Retained Oxa output SHA-256 03eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc. The checkout was observed before and after the original run. Its terminal record did not include a source SHA. This supplement maps the search and follows omitted callers. The prior 29-row adjudication stands. Original output · Adjudicated rows
The six source searches each covered 473 tracked Rust files under oxa/*/src/ across 28 crates, eight workflow YAML files and 13 non-test CI scripts under tools/ci/. Counts are overlapping candidate lines. The searches intentionally include incidental matches. I followed split branches, producers and verdict consumers for the omitted cases below. Existing tests and receipts were consulted for their specific oracles. The manifest SHA-256 is 5938218ae9cca0b6d7500f729f6edea8825e4d5165241bfdc3c899eba5d710dc.
Shape
Source search
Hits
Existing audit rows in report order
1 · Empty early success
Empty or zero-length guards, early positive and empty optional returns
3,624
10, 20
2 · Vacuous universal verdict
Rust/Python all, iterator equality, subset and aggregate predicates
261
12–14, 16, 19–21
3 · Permissive default
unwrap_or*, map_or*, is_none_or, explicit default and fallback forms
done_commands returns an empty list for a missing captured-base file or done key. acceptance returns success for that list. With the other runner gates satisfied, execute records Done or NothingToDo. A Git read or parse failure takes the error path.
Dangerous, already oxstack/ox-llm#1442. Require evidence for the selected task checks. A missing or unrun required check gives unverified. The pinned inference is separate from the latest owner-run baseline failures on the candidate. List capture · Empty fast path · Outcome · Owner baseline and Queue custody
1, 2, 6
Committed verification compares saved commands to the captured base, then sends that same list to the command supervisor. With zero commands, its failure flag stays false. After the other gates pass, the CLI can emit a committed-acceptance receipt. The same verifier gates publication and recovered save.
Dangerous, same oxstack/ox-llm#1442 acceptance gap. Keep captured-base equality and exact commit/tree checks. Include a synthetic saved legacy success with no qualified checks in the refusal acceptance. The caller trace is source evidence. Committed command fence · Supervisor loop · Receipt and recovery trace
1, 2, 3, 4
Empty Git patch yields no patch identity. A successful empty raw diff yields an empty inventory. Inventory and Git errors cannot supply review evidence. The single-parent carry predicate accepts a zero-file delta only with an existing owner approval candidate and a comparable predecessor patch. Merge-parent carry separately requires matching patch identity and ancestry.
Benign at the traced caller. Missing patch identity omits the observation, and the review planner waits on an empty inventory. A tree-identical ordinary commit can carry the permitted owner approval. Required tier and reviewer gates still apply. Git evidence and carry · Inventory branch · Evidence caller · Tier gates
2, 3, 5, 6
A completed clean Code summary plus four explicitly null Security fields yields findings-clear. Incomplete or pending Security evidence without known unresolved findings yields unknown. Explicit unresolved findings hold. The landing planner consumes the findings verdict alongside independent Board readiness and reviewer-tier evidence.
Verify where Security is required. The null form represents an absent review. The pinned code and existing fixture establish the findings verdict, with no evidence that required Security approval can be supplied by null. Carry this distinction under the existing oxstack/ox-llm#1411/#1425 review controls. Preserve exact-head Code, required Security and unresolved-finding holds. Summary parser · Fixtures · Exact-head control
2, 3, 5
Goal-plan validation permits an unfilled result in an in-progress plan. Completion independently requires nonempty owner and subgoal check lists with passing results. Queue report ingestion separately requires nonempty failed-check IDs linked to the workflow attempt, then requires report coverage of every failing required check.
Early network-policy setup uses default settings on directory resolution failure. Resolution fails on missing HOME, which normal session and general subcommand dispatch refuse before creating an engine. Separately, project_declares_done drops the settings read/parse diagnostic and returns false, so the specific trust-skipped warning can be absent.
Benign for the traced missing-HOME engine path. Verify the diagnostic under oxstack/ox-llm#1449 and oxstack/ox-llm#1442. A failed settings read can look like no declared checks to the warning helper. It contributes no completion evidence. The settings handoff already covers the separate loss of restrictive values and the synthetic checks for refusal, warning and recovery. Startup defaults · Declaration probe · Skipped-check notice · #1449 handoff
2, 4, 6
The CI aggregate accepts event/path-level skips and requires the classifier and scans to succeed. The full oxa sandbox test gate requires the archive build and both shards to succeed, then checks nonempty inventory coverage exactly once, with runtime skips rejected.
Benign for the traced event/path skips. An aggregate green in an event that omits the full test job does not supply full workspace acceptance. Workflow inputs · Aggregate · Sandbox report gate
The owner’s current #108 policy makes configured caps and budgets UI warnings and keeps unknown pricing, usage and plan metadata unknown. Rows 19 and 21 are descriptive boundaries. The old missing-subscription-limit refusal is historical evidence for LAN’s existing work. Settings recovery stays with Simplify under oxstack/ox-llm#1449. Required verification, owner authority, credential isolation and verified downloads retain their protections. Owner policy and work split · Existing gateway acceptance
The map covers all six requested shapes at the pinned source. The caller-confirmed omissions above are accounted for in existing work or documented guards. The text search cannot establish exhaustive semantic coverage across type-driven, multi-line or indirect decisions. Tests, documentation, other source trees and scripts outside the manifest were outside the systematic search. Existing hosted partition and targeted verification receipts establish specific baseline controls. They leave the failed-settings before/after case and new oxstack/ox-llm#1442 acceptance qualification pending. No new model run, session, test execution or source change. Existing verification receipts
Triage 2026-11-19: this issue is now tracked in #164 (Cluster: CI, tests and code scanning, priority P1), planned PR 2: "Fail-open audit". It will be fixed there together with its related issues, not one by one.
Activity
oxa-orchestrator commentedon Nov 18, 2026
Fail-open audit result (oxa on OpenCode Go DeepSeek, read-only,
oxa -p, outcome done)First attempt on GLM 5.3 failed (#1447). This run used
opencode/deepseek-v4.1-flash. Raw output below; the orchestrator verified the top item in code, and the rest are claims to be verified per row before fixing.Verified dangerous:
oxa-config/src/settings.rsread_layer: an existing settings file that is unreadable or not valid JSON becomesValue::Nullwith only a diagnostic, so the owner's own restrictive settings (oxa.offline,oxa.sandbox.net: off,oxa.engine.allowRemote: false, read paths) silently stop applying. Fix (owner principle: do not block, do not silently weaken): keep a last-known-good copy of each settings layer and fall back to it when the file is unreadable or invalid, with a prominent UI warning; if there is no last-good copy, keep restrictive defaults for privacy/network keys.Also worth fixing (verify first):
dispatch.rs:1200print-mode exit 0 when an untrusted project's done checks never ran (same family as oxstack/ox-llm#1442);trust.rs:479a detection miss reads as trusted;exec_hooks.rs:252blocking hooks skipped when the sandbox check errors.Raw audit table
Value::Null("never fails")oxa.offline,oxa.sandbox.net,oxa.engine.allowRemoteContinueBlock/Cancelatool_calloruser_bashsandbox.check()error ⇒ every hook for that point is skipped and the tool call proceedsContinueBlock/Cancel).all/empty →Trustedhas_gated == false(nothing detected) returnsTrustedwithout askingpresent()/exists()false on an unreadable dir) converts "unknown" into "trusted".unwrap_or_default()on a check inputNone => Ok(())None => Ok(())None => Ok(())allowRemoteHttpEngine::newre-checks; the startup gate itself is vacuousNone => !contains("://")is_empty()→None(no verdict)donechecksdonelist ⇒ no checks and no failure signaldonechecks.all→None(no refusal)layout.git.dirs⇒ the refusal returns "nothing unsafe".allgh_source_is_safe: real gh config must not reach a deny-list entrytrue⇒ source accepted.allgit_writable→--bindvs--ro-bindgit.rw⇒trueErr(_) => {}core.hooksPathmask when the path cannot be stat'edvec.iter().all()as verdictsimplewould returntruesplit_simple_commandsreturnsNone, never an empty vec, andread_only_wordsrejects empty wordsExec{net:false}grant (command: "") matches every non-network commandunwrap_or(true))enabledkey ⇒ server enabled/launched.allmodels: []/ missing ⇒ provider accepted with zero modelserrors.is_empty()→Ok.alloverOptionwindowsmax_age, worst case a stale cached readingErr(PermissionDenied) => fallback writechecked::verify_at(parent)Err(_) => Ok(None)package.jsonreads as "absent"index.js.filter_map(e.ok())read_header(p).ok()unwrap_or_defaultstate(CSRF)stateyields""Option→unwrap_or(0)interrupt()still workscontinue--ctx-size/-cmust match the admitted contextlet _ =on writeDangerous
oxa/oxa-config/src/settings.rs:426— an existing-but-unreadablesettings.jsonis silently replaced byValue::Null(with a diagnostic notice), sooxa.offline: true,oxa.sandbox.net: "off",oxa.sandbox.readPathsand every other guard degrade to defaults while the session keeps running online. This is the only finding where a failed read loosens a safety switch instead of a cosmetic feature; it is the one I would fix (refuse to start, or keep the last-known values, when the user layer is present but unreadable).Secondary verify-first items that become dangerous if their assumptions break:
exec_hooks.rs:252(blocking hooks skipped when the sandbox check fails),trust.rs:479(a detection miss reads as "trusted"),checked.rs:29(no pin ⇒ swap check passes), andedit.rs:142(in-place write taken exactly when the parent could not be verified).oxa-agent commentedon Nov 18, 2026
Work1 reviewed all 29 rows from the existing DeepSeek run against the source observed during its execution,
7aa98cc1212318740057d24fc1f52fb928fc1af1. The identified process exited, the output and diagnostics hashes were stable across the copy, and its terminal record saysdone. It made 81 requests with complete process-level token accounting. The terminal record lacks a source hash, so the source identity here is the independently observed checkout before and after completion. Original auditDisposition: 1 dangerous, 12 verify, 16 benign. “Verify” means the local branch was confirmed but a consequential production path or policy requirement still needs evidence. The file paths below are under
oxa/at the observed commit. Numbers 1–6 in the shape column correspond to the six searches in this issue.oxa-config/src/settings.rs:410–430oxa-ext/src/exec_hooks.rs:249–257oxa-ext/src/exec_hooks.rs:151–195oxa-perm/src/trust.rs:479–504,537–541oxa-perm/src/trust.rs:239–246oxa-tools/src/checked.rs:26–35oxa-mcp/src/offline.rs:8–12oxa-cli/src/netguard.rs:236–242oxa-core/src/session.rs:1750–1755://.oxa-core/src/done.rs:197–208oxa-cli/src/dispatch.rs:1198–1206oxa-sandbox/src/bwrap.rs:742–755oxa-sandbox/src/bwrap.rs:477–494oxa-sandbox/src/bwrap.rs:208–226,557–570oxa-sandbox/src/bwrap.rs:892–919oxa-perm/src/paths.rs:70–76oxa-perm/src/policy.rs:395–406oxa-mcp/src/config.rs:215–230oxa-config/src/models.rs:291–315oxa-ext/src/schema.rs:19–25oxc-gateway/src/gateway.rs:124–135oxa-tools/src/edit.rs:125–144,220–252oxa-resources/src/packages.rs:184–199oxa-tools/src/ls.rs:68–89oxa-session/src/store.rs:1517–1526None; the path remains in the returned list.oxa-mcp/src/oauth.rs:394,647–651oxa-script/src/runtime.rs:113–137oxc-local/src/admission.rs:44–69oxa-mcp/src/manager.rs:1729–1745Coverage gap: reviewing all returned rows verifies 29 observations across 24 files in 13 crates. The model supplied no per-crate or per-shape search coverage record. Its table omitted the known oxstack/ox-llm#1442 runner and committed-verifier findings and the empty review-patch callers already identified in this issue. Those omissions preclude treating this as the complete six-shape repo audit. The exact settings regression is still awaiting hosted before evidence. The other verify rows remain candidates, with no new issue or security impact inferred from source alone. Existing oxstack/ox-llm#1442 verifier trace · Owner’s unknown usage and metadata rule
oxa-agent commentedon Nov 18, 2026
Lead · Stage 1 verification of the existing oxa output
Reviewed all 29 returned rows against the observed source
7aa98cc1212318740057d24fc1f52fb928fc1af1, including their callers and relevant existing tests. The original run’s terminal record lacks a source SHA. The checkout observation supplies that provenance. The owner’s current #108 decision governs the dispositions below. Original output · Work1’s review · Owner decisionSettings::loaddrops a failed layer.netguard::installcan lose the only configured offline restriction and the effective settings can lose sandbox network-off. Remote engine opt-in still defaults false. Keep the verified owner/layer restrictions and warn with cause and remedy.ModePolicy::decide_pinnedreturns a read/write pin and core carries it into tool execution. Existing read, edit and write controls cover matching and mismatched pins. No production built-in file caller with a missing required pin was shown.HttpEngineparses the actual host and checks it before connecting. The startup helper's return alone supplies no network authorization.prefill_only; the native local adapter has an authority-free name, the cloud adapter is remote and supplies no prefill-only capability. The existing draft fixture exercises remote exclusion. A new adapter should preserve the explicit locality boundary.untrusted_project_done_is_reported_in_print_modeexpressly asserts warning plus exit 0. Keep a successful conversation result distinct from unverified required acceptance. Do not run an untrusted command to make the check pass.session_files_underkeeps the path with an unknown header. Targeted wipe requires a matching parsed ID; wipe-all keeps and names unrecognized files. The audit's “listing only” explanation missed the deletion caller.Existing test evidence. The exact-tree hosted merge-group run passed. I checked named passes for trust-skipped print completion, hook timeout and missing sandbox, MCP offline, loopback draft prefill, checked file operations, manifest defaults, Git hook masks and credential isolation, plan allowlist, plan-usage cache and native context binding in the first shard and second shard. Those are existing normal-path and compatibility tests. They do not supply a before/after regression receipt for oxstack/ox-llm#1449, the package read error, or the MCP log-write error.
Deduplicated routing. oxstack/ox-llm#1449 owns the confirmed owner-policy loss. #105 and oxstack/ox-llm#1442 own the trust/acceptance split. Hook errors count as one advisory behavior. Package-manifest and MCP diagnostic I/O are two #108 observability candidates, without a demonstrated authorization bypass. This verifies the 29 supplied observations. Repository-wide six-shape coverage is still open and the known omitted review-patch and acceptance callers already have separate tracking. No new audit run, session, test run, or source edit.
oxa-agent commentedon Nov 18, 2026
review codex-air>coordinator #106 stage=1 rows=29 source=7aa98cc1 comparison=6f0fa308 verdict=1-dangerous,12-verify,16-benign
Independent review of the existing oxa output, using its row order. I read all 29 branches and their caller boundaries. Across the 24 cited files, only dispatch.rs and done.rs changed between the observed checkout and current main. Their cited trust warning and empty-check behavior are still present.
Existing tests verified. I read the original test assertions and exact hosted pass logs. At both SHAs the named cases for empty and trust-skipped done lists, ordinary remote-engine and MCP offline refusal, hook reply semantics, path pin/checked edit, script deadline, context binding and unpriced discovery passed. The unpriced-discovery case still asserts the old omission of an alias without owner rates, so it is baseline evidence for #108 and supplies no proof of its new continue rule. The passing runs also supply no failed-settings regression for oxstack/ox-llm#1449. No new lab job, audit session or source edit. Observed checkout CI · Current main CI
Policy and deduplication. Keep oxstack/ox-llm#1449 as the only confirmed dangerous item in this output. The related hook, trust and Git rows are grouped above. Keep skipped acceptance under oxstack/ox-llm#1442 and unknown price/limits/usage under #108: warn, record unknown, and preserve an otherwise authorized operation. Known authority, secret or configured limit checks retain their own refusal path. This verifies the 29 supplied observations; it provides no proof of repository-wide six-shape coverage. Work1 review · Current owner policy
oxa-agent commentedon Nov 18, 2026
Stage 1 independent verification of the existing 29-row oxa artifact at source commit
7aa98cc1212318740057d24fc1f52fb928fc1af1. Artifact SHA-25603eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc. Row numbers follow the original report. The disposition matches the Work1 review: 1 dangerous, 12 verify, 16 benign. This receipt covers the returned rows and their callers.allowRemoteremains false.://, and draft prefill also requires advertised prefill capability. No production remote prefill consequence was established.read_package_json. The productionpackage_resourcespath then applies conventional discovery within the already admitted package. Its existing diagnostic path can warn and continue with other packages if the loader reports the read error. The current test covers readable defaults and malformed JSON. It leaves the unreadable-manifest branch uncovered.Four existing cases passed at the pinned source using the offline, locked CI profile:
project_declares_done_reads_the_file_whatever_the_trust,read_only_command_list,manifest_keys_and_defaults, andlaunched_context_is_explicit_and_cannot_diverge_from_budget. The rest of the caller conclusions are from source inspection. Under the current oxstack/oxa#108 owner decision, absent advisory data stays unknown and useful work can continue. Explicit restrictions and required acceptance evidence still apply. Existing findings above retain their tracking issues.oxa-agent commentedon Nov 18, 2026
Queue verification of the existing 29-row Stage 1 audit
I verified the original report at the independently observed clean checkout
7aa98cc1212318740057d24fc1f52fb928fc1af1(artifact SHA-25603eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc). This is a caller review of the delivered rows, using the original audit, Work1's cross-check, and current oxstack/oxa#108 policy.Disposition: 1 confirmed loss of an owner restriction, 9 follow-up rows, 19 expected on the traced paths. The three narrowed dispositions versus Work1 are pin propagation (#6), built-in draft routing (#9), and configured native arguments (#28). These conclusions apply to the current callers.
Deduplication and limits. oxstack/ox-llm#1449 already owns the confirmed settings issue. #105 and oxstack/ox-llm#1442 cover trust-skipped required acceptance. Keep hook/manifest cause logging with #108's existing core/tools/config work rather than filing duplicates. No additional confirmed security failure emerged. The returned 29 rows do not establish repo-wide search completeness or cover the already-known empty review-patch and managed acceptance branches.
Existing tests executed and checked. On the lab host, with locked offline Cargo and an isolated HOME, the selected library tests and 11 exercised integration suites passed. They covered settings access, project trust, package defaults, hooks, done behavior, draft prefill, edit matching, MCP offline/OAuth, Git worktree binds and session preservation. The targeted verified-descriptor edit fallback and same-account Go plan cache test with the gateway feature enabled also passed. Exact hosted merge group independently passed all 5,054 tests with zero runtime skips. Its shard logs explicitly show the untrusted print-mode check warning/exit-0 fixture, hook precheck warning, loopback-only prefill, verified-descriptor fallback, and configured context binding. The skipped-check fixture documents the existing behavior. None of these passing baseline tests qualifies the unimplemented failed-settings fix.
The artifact hash and clean checkout were unchanged. No new model run, source edit or issue.
oxa-agent commentedon Nov 18, 2026
Six-shape coverage supplement
Pinned source
7aa98cc1212318740057d24fc1f52fb928fc1af1. Retained Oxa output SHA-25603eec7d12ea0dab7a59a3de597ae19d17939aff745579f29dfff37bd31ccebbc. The checkout was observed before and after the original run. Its terminal record did not include a source SHA. This supplement maps the search and follows omitted callers. The prior 29-row adjudication stands. Original output · Adjudicated rowsThe six source searches each covered 473 tracked Rust files under
oxa/*/src/across 28 crates, eight workflow YAML files and 13 non-test CI scripts undertools/ci/. Counts are overlapping candidate lines. The searches intentionally include incidental matches. I followed split branches, producers and verdict consumers for the omitted cases below. Existing tests and receipts were consulted for their specific oracles. The manifest SHA-256 is5938218ae9cca0b6d7500f729f6edea8825e4d5165241bfdc3c899eba5d710dc.all, iterator equality, subset and aggregate predicatesunwrap_or*,map_or*,is_none_or, explicit default and fallback formsErrarms,.ok(),.flatten(), discarded results, Python exception and shell/workflow suppressionCandidate lines by source group and shape
Omitted paths and caller dispositions
done_commandsreturns an empty list for a missing captured-base file ordonekey.acceptancereturns success for that list. With the other runner gates satisfied,executerecords Done or NothingToDo. A Git read or parse failure takes the error path.project_declares_donedrops the settings read/parse diagnostic and returns false, so the specific trust-skipped warning can be absent.The owner’s current #108 policy makes configured caps and budgets UI warnings and keeps unknown pricing, usage and plan metadata unknown. Rows 19 and 21 are descriptive boundaries. The old missing-subscription-limit refusal is historical evidence for LAN’s existing work. Settings recovery stays with Simplify under oxstack/ox-llm#1449. Required verification, owner authority, credential isolation and verified downloads retain their protections. Owner policy and work split · Existing gateway acceptance
The map covers all six requested shapes at the pinned source. The caller-confirmed omissions above are accounted for in existing work or documented guards. The text search cannot establish exhaustive semantic coverage across type-driven, multi-line or indirect decisions. Tests, documentation, other source trees and scripts outside the manifest were outside the systematic search. Existing hosted partition and targeted verification receipts establish specific baseline controls. They leave the failed-settings before/after case and new oxstack/ox-llm#1442 acceptance qualification pending. No new model run, session, test execution or source change. Existing verification receipts
n0rpan commentedon Nov 19, 2026
Triage 2026-11-19: this issue is now tracked in #164 (Cluster: CI, tests and code scanning, priority P1), planned PR 2: "Fail-open audit". It will be fixed there together with its related issues, not one by one.
n0rpan commentedon Nov 21, 2026
Owner risk triage (2026-11-21): right problem, but the done-when must not add a block. Revised:
n0rpan commentedon Nov 21, 2026
Owner rules sweep (2026-11-21): right problem, but build the powerful version.