Skip to content

SimulatorApiFlow 0.0.2 — security source preview

Pre-release
Pre-release

Choose a tag to compare

@DagerottDev DagerottDev released this 20 Oct 08:10

Security source preview — 2026-10-20

Version 0.0.2 is a source preview. The owner requested a complete repository security review, fixes and release. The Standard source audit covered current implementation code, retained native commands, parsers/storage, SDKs, sharing, scripts, UI and build configuration. Static artwork and the unused legacy Swift build cache were excluded. Three medium and two low findings were validated against source; no runtime or platform certification is implied.

Changes

  • Portable imports/exports drop every local credential reference. All credential lifecycle consumers verify a secret belongs to its environment/key, including poisoned legacy rows and replacement cleanup. Credential service identifiers remain compatible.
  • Unix application/body roots are owner-only before access. Existing owner-owned read-permissive roots are tightened without deleting data; symlink or unowned/other-writable roots fail closed. Previously copied data cannot be recalled. Windows retains its existing per-user storage policy.
  • Shared HAR Location/Referer values are redacted, including relative redirects, and hosted HAR validation rejects unredacted values. Team rule/fixture header behavior is preserved.
  • SDK connections have a ten-second absolute deadline, including unauthenticated reads and writes.
  • Swift SDK 0.1.1 automatic instrumentation handles HTTP only and follows HTTP redirects only. Direct HTTPS loading is rejected by the protocol. Use the existing manual API for HTTPS so the caller's TLS delegate, pins and custom settings stay effective. An HTTP redirect to HTTPS returns its redirect response; manually instrument the original client for that workflow.

Validation

  • 57 Rust tests passed across app-core, core-model, storage, sdk-transport, localhost server and sharing server. Includes synthetic import/reference, permission upgrade/symlink, header-redaction and stalled-connection regressions.
  • Focused Swift SDK regression passed: HTTP eligibility/redirect control, HTTPS refusal, direct-load guard and manual instrumentation.
  • Production React build/type compilation passed; current service/worker/sharing executables built; retained Tauri target compiled.
  • Existing isolated sharing HTTP checks passed: identity, roles, CAS, TTL/revocation, exact artifact digest/bytes, token rotation, origin rejection and private bootstrap.
  • Existing CLI socket authentication check passed. git diff whitespace check passed.
  • Initial sandbox runs denied local sockets/process discovery and Swift caches. The same checks passed after permission-scoped retry; the initial failures are not hidden as code passes.
  • Independent patch review identified redirect and direct-loading paths; both were addressed and the focused Swift check rerun.

Limits

No new CI, benchmark suite, packaged installer, host proxy/PAC changes or host CA installation. Physical devices, Mac process capture, native Windows/Linux capture and broader platform acceptance remain owner-led gates described in FINAL_VALIDATION.md and ROADMAP_COMPLETION.md. No real provider keys were read and no paid AI requests were made. cargo-audit is unavailable; this record does not claim a live dependency-advisory audit. External mitmproxy transport buffering, keyring daemon policy and remote sharing TLS/logging remain deployment controls. Historical Phases 0–5 remain implementation-complete without retroactive test claims.