Codex agent — initial scan

Codex agent initial findings

The application before any remediation. Provenance: the agent wrote this application during this run.

Model disclosure: the application was written by gpt-5.5 from OpenAI API, pinned for this run and recorded in the run's evidence. The fix was made by the same agent, but through reachctl remediate, which selects the agent and does not pin its model — so the fixing model is whichever that agent's CLI resolved at run time, and is not asserted here.

Scanner provenance

REACHABLE wheel/build and scan timestamps, read from the scanner database rows that produced the page. Actionable counts are repo.db SIGNAL rows under the product ACTIONABLE_SQL filter.

ScanREACHABLE versionTimestamp (UTC)CommitStatusActionable
Baseline1.0.0b1992026-09-12 14:17:0348eb92fcsuperseded7
Baseline1.0.0b1992026-09-12 14:21:2948eb92fcsuperseded8
Baseline1.0.0b1992026-09-12 15:19:2348eb92fccomplete7

Run estimate

Token estimates are recorded before the run starts. The remediation estimate is recalculated after REACHABLE has the scan database and knows how many findings are in scope.

Planned runtime21-110 minutes
Planned model tokens53000-475000 total
Planned input tokens28000-280000
Planned output tokens25000-195000
Generation budget1800s
Remediation scope7

The application itself was written on the runner and exists only as the published copy: browse the code before remediation, read the generation prompt, open the file listing; fixed code after remediation; side-by-side before/after diff. The source of each finding is linked in the table below.

7
Remediation scope (repo.db)
24
Noise (repo.db)

Remediation scope — 7 finding(s)

repo.db actionable on the baseline scan. Table lists 7 ledger/validation row(s) as evidence.

#SeverityTypeFinding File
1CRITICALCWEUser-controlled path joined into filesystem path - path traversal riskportal/src/server.ts
2CRITICALCWEFlask route sends a non-literal file path — path traversal riskdocs-worker/app.py
3HIGHCWESQL query with f-string interpolation — SQL injection riskdocs-worker/app.py
4HIGHCWESQL query built with string concatenation — use PreparedStatement with parameterized queries instead.risk-api/src/main/java/com/sthenos/treasury/RiskApi.java
5MEDIUMCWEFile read on a path built from external input without resolving symlinks and validating the result stays inside the expected directory — CWE-59 symlink following. An attacker who controls the directordocs-worker/app.py
6LOWCONFIGFound an HTTP server without TLS. Use 'http.ListenAndServeTLS' instead. See https://golang.org/pkg/net/http/#ListenAndServeTLS for more information.payments-api/main.go
7LOWCVEGHSA-68rp-wp8r-4726docs-worker/app.py

Noise — 22 finding(s)

These findings have explicit non-production or unreachable evidence, so they are excluded from the remediation scope. They are listed, not hidden, and each row says which of the two exclusions applies. Nothing has been attempted yet on this page — what became of them is on the result page.

Why it is excludedSeverityTypeFindingFile
1not reachableHIGHCVEGHSA-535w-7cp7-47q4agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
2not reachableHIGHCVEGHSA-fjgf-rc76-4x9pagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
3not reachableHIGHCWEUser-controlled value interpolated into a query string via fmt.Sprintf — potential code injection (CWE-94). The interpolated value may allow arbitrary query commands. Use parameterized queries or striagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
4not reachableHIGHDLPPII data sent to external HTTP endpoint — data leakage risk.agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
5not reachableHIGHCVEGHSA-wc9g-mqfw-jrwmagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
6not reachableHIGHCVEGHSA-xf7r-hgr6-v32pagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
7not reachableHIGHCVEGHSA-44fp-w29j-9vj5agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
8not reachableHIGHCVEGHSA-g5hg-p3ph-g8qgagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
9not reachableHIGHCVEGHSA-5528-5vmv-3xc2agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
10not reachableHIGHCWESQL query with f-string interpolation — SQL injection riskagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/docs-worker/app.py
11not reachableHIGHCVEGHSA-72gw-mp4g-v24jagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
12not reachableHIGHCVEGHSA-v52c-386h-88mcagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
13not reachableHIGHCWESQL query built with fmt.Sprintf — SQL injection riskagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
14not reachableHIGHCVEGHSA-4pg4-qvpc-4q3hagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
15not reachableINFOSUSPICIOUSNew dependency not present in prior version (6.15.2): es-define-propertypkg://qs@6.15.3
16not reachableLOWCVEGHSA-qvfw-j98x-7q72agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/portal/src/server.ts
17not reachableMEDIUMCWEInternal error details written to HTTP response — exposes server internals (table names, paths, stack traces) to clients. Return a generic error message and log the detail server-side.agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
18not reachableMEDIUMCWEInternal error details written to HTTP response — exposes server internals (table names, paths, stack traces) to clients. Return a generic error message and log the detail server-side.agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
19not reachableMEDIUMCWEHTTP response status code is never checked. 4xx/5xx errors and 3xx redirects are silently treated as successful responses, potentially processing error pages as valid data (CWE-391). Add: if resp.Statagent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
20not reachableMEDIUMCWEInternal error details written to HTTP response — exposes server internals (table names, paths, stack traces) to clients. Return a generic error message and log the detail server-side.agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
21not reachableMEDIUMCWEUnbounded read of HTTP response body — DoS via large response. Wrap with io.LimitReader: io.ReadAll(io.LimitReader(resp.Body, maxBytes))agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go
22not reachableMEDIUMCWEInternal error details written to HTTP response — exposes server internals (table names, paths, stack traces) to clients. Return a generic error message and log the detail server-side.agent-remediation/workspace-remediation/20260912-142126/iteration-01/proof-state/scanner-v0/payments-api/main.go

What the agent fixed — pass by pass

Each pass hands the still-open findings back to the agent. Started with minus Fixed equals Left on every row, and the last row's Left is what the final scan found.

No remediation passes were recorded for this run.

Full detail: what REACHABLE fixed, finding by finding →