Repository navigation
Conversation
This was referenced Nov 27, 2026
Preserve the confined Grep optimization and bring the audit strings into parity with the new upstream locale. Validated on the acceptance host: frontend regressions and static build, Go build/vet, agent race tests and Windows test cross-compilation.
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 investigating an unexpected URL can search retained access observations by URL/path, exact hostname, task, source and time in Traffic → Access audit. Worker Bash subprocesses, including normal curl and Python urllib/requests clients, now produce actual HTTP(S) proxy observations even when full traffic recording is disabled. Command text is never treated as proof of a request.
This is PR 2 of 4, counting design #555, related to #553 and #554. Authoritative gateway/action authorization and the complete Go/bubblewrap Linux backend remain PRs 3 and 4.
execution_proxyjoins native HTTP/enrichment, WebFetch trace, generic recording-proxy observations and explicitly labeled external ingest/HAR reports. The configured global egress proxy remains upstream of execution inspection. Native clients and browser MCP keep their existing routing choices.no-store; URLs render as inert text.HTTPS inspection changes the execution path: managed proxies verify upstream certificates by default. Self-signed/untrusted targets require the explicit
ARTEX_PROXY_INSECURE_TLS=1operator setting; client-sidecurl -kdoes not change proxy-side verification. The local proxy listener and trusted CA must be available.Coverage remains partial, not tamper-proof isolation. Proxy overrides/NO_PROXY, clients ignoring environment proxies, raw TCP/UDP, opaque/pinned TLS, external MCP traffic and remote SSRF/RCE hops remain outside this collection path. A process able to read another run's environment could copy its capability; hard isolation belongs to the later sandbox work. Missing observations do not prove absence of access. Proxy-enabled WebFetch with direct fallback retains its documented attempt-only limitation.
Validation completed on the requested Linux host before commit/push:
go vet, TypeScript and static frontend builds passed; Windows amd64 cross-build passed.See
docs/access-audit.mdfor coverage, TLS, retention and acceptance details. Existing untrusted-content safeguards remain; this change does not claim prompt-injection immunity. Windows is compile-checked, not natively qualified.Keep this implementation PR Draft. Deployment and automated/controlled-task acceptance are not authorization to mark it ready. The requester must manually retest business scenarios and explicitly approve readiness. No merge is requested.
Audit UI consistency
The audit view now follows the existing traffic and tool-execution lists: a compact toolbar using shared controls, collapsible advanced filters, consistent table styling, and a detail sheet for full attribution. Recent observations load on entry; cursor pagination supports going back to the previous page. Coverage and retention explanations remain accessible from a compact indicator, with write failures still visible in the list.
Validated on the deployment host with TypeScript checks and static builds for both upstream and the compatibility UI; locale checks passed. Chrome checks against actual worker records verified the 14-event task filter, six HTTPS observations under an exact-host filter, empty results, detail and coverage sheets, and navigation back to the unchanged 10 full recordings. The compatibility deployment preserves English and the existing instance customizations. The PR remains Draft pending manual business-scenario review.
Open business-scenario gap: SSRF/RCE-induced access
The operator's requirement is to search a business-reported destination and time window and identify the ARTEX task and exact action that may have caused a remote SSRF/RCE request, without agent-mode workspace scanning. The current direct-network audit alone does not meet that requirement. Query keys/values are removed, request bodies are not retained, and literal tool-input search misses dynamically assembled full URLs.
A real worker ran one successful Bash invocation with full capture off: 100 curl + 100 urllib + 100 requests.Session loop requests, 10 same-path/query-only variations, and 5 mock application first hops. Independent receipts matched all 315 request events and 315 response events, with 315 request IDs, no missing/duplicate events in this run, and zero new write failures. The existing 10 full recordings did not increase. However, the application's five controlled second-hop requests all reached their destination and produced zero worker audit events. This is an HTTP batch/boundary fixture, not an RCE exploit or a remote-egress containment test.
Pending PR 2 acceptance: index command/artifact references and destinations actually submitted in supported query/body payloads before general redaction; retain credential-redacted target structure and exact trusted action/artifact links; distinguish references, submitted targets, network observations and independently correlated receipts; expose limitations for opaque/dynamic payloads. Search must correlate the reported destination to a task/action without live disk scanning. Payload mentions are not proof of second-hop execution, and a local sandbox cannot observe the remote server's network. Corroboration needs callback/OAST or target-side evidence.
Keep PR #596 Draft. Passing direct-request batch tests does not close this investigation gap. These additions remain pending within the existing four-PR plan; no raw query/body retention or new scope enforcement was enabled by this validation.
Confined search follow-up (2026-11-29)
Filename-only literal searches in the confined Go
Grepwere running a regular expression against every line and calculating counts that the requested output did not use. The follow-up parses the regular expression and uses byte matching only when it can prove the expression is a bounded set of case-sensitive literals. General regular expressions, empty matches, case folding, replacement-rune semantics, count output and content output keep the existing matching path. The existing executor identity, working-directory confinement, binary filtering and hard-link checks remain in place.Cancellation now propagates into file reads, directory traversal and the per-line matching loop. An interrupted search reports
Search incompleterather thanNo matches found. This is cooperative cancellation; it does not claim to preempt an individual filesystem call or an already-running regular-expression operation.On the same Linux acceptance host, a generated corpus of 8,164 files / 512.77 MiB and three literal alternatives produced the same two matching filenames before and after the patch. Completed baseline calls took 57.104, 43.403 and 44.096 seconds; the five patched calls took 2.650, 2.291, 2.225, 2.435 and 2.225 seconds. Medians were 44.096 → 2.291 seconds, about 19.25× for this tool-level workload. The baseline harness reached its 180-second overall cap during a subsequent call; that unfinished call is excluded. Caches were not cleared, and these numbers are not an end-to-end agent or Windows performance guarantee.
Validation on the acceptance host: full
go test -race ./agent -count=1,go vet ./agent, Windows agent test cross-compilation, existing confinement/hard-link tests, and new literal/regexp/count/content/cancellation compatibility tests passed. The separate experimental search service is not included in this change, and the running production instance was not replaced by this follow-up.The PR remains Draft for manual business-scenario review. This improves agent-assisted evidence lookup; it does not close the SSRF/RCE attribution and cross-task audit-search acceptance gaps above, or add an agent-wide search budget/tool allowlist.
After syncing upstream main, the audit entries were added to the newly introduced Vietnamese locale. The acceptance host also passed i18n, TypeScript, all other frontend regression scripts, the static frontend build, full Go build/vet, agent race tests and Windows cross-compilation before the compatibility commit.