Repository navigation
Conversation
This was referenced Nov 27, 2026
Owner
|
This is a useful operator feature. The branch conflicts with main; please rebase and re-run CI, and state which parts add schema migrations (0024 is taken by task_scope_egress). I will review the access audit after that. |
renaesop
force-pushed
the
codex/access-audit-search-20261127
branch
from
December 1, 2026 18:47
f849b14 to
203185f
Compare
renaesop
force-pushed
the
codex/access-audit-search-20261127
branch
3 times, most recently
from
December 2, 2026 04:27
2d584a6 to
9896538
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Operators can search retained access observations by URL/path, exact hostname, task, source and time in Traffic → Access audit, including Bash traffic in main's default Docker task mode while full traffic capture is off.
Rebased onto
mainat8f91643b786eadbdd160a6298e13215b8943b9c8as one commit (9896538a949bcc801f56522613cd6230a2c01f8b). There is no PostgreSQL migration; main's0024_task_scope_egressis unchanged. Audit data and collection cursors use the separate SQLite index.Default Docker task path
The native HTTP/WebFetch, local execution proxy, recording proxy and externally reported HAR/extension sources remain. Main's sandbox routing and WebFetch policy checks are preserved. Full capture remains independently controlled; capture-off requests cannot start recording mid-flight or resume persistence after an off/on toggle. The rebase also fixes WebSocket request/response correlation and internal replay-header stripping. The existing confined Grep literal/cancellation improvements remain in this commit.
Audit never stores bodies, headers, credentials, query keys/values or fragments. URL paths can still be sensitive. Retention is 30 days / 500,000 observations. Imported rows retain producer timestamps, and event/cursor commits are atomic. The authenticated operator API returns
no-store; URLs render as inert text. The frontend validates date ranges and preserves filters/time bounds across cursor pages, with all four translations covered.Compatibility and remaining scope
HTTPS interception requires the task CA. Certificate-pinned clients, mutual-TLS clients and HTTP/2-only clients are not supported by this inspection path. Custom private origin roots belong in the proxy image's system trust store; client
curl -kdoes not bypass proxy-side verification. SOCKS/raw TCP retain connection metadata only. Queue pressure, rotation and crashes can leave gaps. An allowed HTTP(S)/SOCKS channel can still carry a callback; this feature does not promise prompt-injection or reverse-shell immunity.Keep Draft because the existing SSRF/RCE investigation requirement is incomplete. Direct HTTP(S) observations do not index secondary destinations embedded in query/body/script artifacts or link them to exact triggering actions and independent callback receipts. A remote server's second hop remains outside the worker proxy. This is a functional acceptance gap, not a request for additional permission or a claim that Docker collection is missing.
Validation of the rebased commit
sandbox,accessauditandegressrace suites passed (228 tests/subtests; the three opt-in Docker tests were exercised separately above). Focused traffic race regressions cover CA loading, audit identity, capture toggles, WebSockets and replay. Focused agent/server audit and sandbox HTTP scope checks passed; PostgreSQL-dependent fixtures were skipped in this isolated run.go vet -p 1 ./...passed. Frontend access-audit and i18n tests (11 tests), TypeScript checking and scoped Biome checks passed; Biome reported existing warnings/informational diagnostics.TestRecordExternalStoresLikeProxyTraffic, while SQLite FTS searched its 2 MiB repeated-text fixture. That test passed separately without race instrumentation in 11.3 seconds. The targeted traffic race suite is the completed race validation for this rebase; a complete all-package run was not repeated. Earlier full regression results apply to the previous base, not this commit.See
docs/access-audit.mdfor collection, trust deployment, coverage, retention and the remaining investigation fixtures. No production ARTEX service was replaced.