Repository navigation
Description
Tracker
- tinysecurity module: Build tinysecurity: one bus module for policy, approvals, auto-approve, audit, redaction and sandbox planning tinysecurity#1
- tinybox sandbox-only scope: Make tinybox sandbox-only: capability honesty, resource limits, network policy, events, bus contract (Linux/macOS/Windows) tinybox#27
- This issue: OpenHuman integration and migration (below)
Phase order: 0 characterization tests → 1 module wiring → 2 config + policy → 3 redaction/SSRF/egress → 4 approvals + auto-approve → 5 sandbox (needs tinybox work) → 6 middleware consolidation → 7 audit + dead-code cleanup → 8 crypto → 9 docs. The tinysecurity and tinybox PRs for a phase merge and release first; only then is OpenHuman repinned (digests copied verbatim from the release checksum.toml, never from a local build).
Why
OpenHuman's security code is duplicated, partially unwired and confusing:
- 8+ redactors with independent secret-pattern lists:
security/core.rs,util/redact.rs,approval/redact.rs,security/scrub.rs,security/pii,core/log_redaction.rs,tools/registry/denials.rs,integrations/composio/tools/redact.rs,agent/tinyagents/middleware/credential_scrub.rs; plus five URL-redaction helpers. - 4 SSRF/private-host checks.
util/url.rs::host_is_localmisses 169.254.x (cloud metadata), CGNAT and IPv6 private/link-local;tinytools_std::url_guardis the complete one; two more loopback checks exist; no resolved-IP/DNS-rebinding check. - 3–4 tool-policy layers:
tools/agent_policy/,tools/rules/,agent/tool_policy.rs, and the middleware pairapproval.rs/tool_policy.rs;ToolPolicyPostureandpolicy_info_payloadcopyAutonomyConfig;disallowed_toolsis checked in three places. - 3 crypto stacks:
encryption/(AES-GCM + Argon2),keyring/crypto.rs,devices/crypto.rs. - Unenforced config:
max_cost_per_day_cents;Firejail/Bubblewrap+firejail_args+ emptyResourceLimitsConfig;SecurityConfig/DaemonConfig.security/AuditConfigunreachable fromConfig(audit not configurable, covers only shell);PrivacyMode::Sensitive==Standard;from_confighard-codesPrivacyMode::Standard. - Dead/confusing:
pii::scanhas no non-test caller;security/secrets.rsis a one-line alias;security.policy_infoexposes 6 of 13+ fields;#[allow(unused_imports)]re-exports hide dead items; overloaded names (core,rpc,policy). - tinybox barely used: only
tinybox-jail, one Docker one-shot and shell scanners. Cron shell jobs, tinymcp stdio, tinyruntime pools, command hooks, the tinyflows script runner,agent/host_runtime.rsand helper processes run with policy only.agent/host_runtime.rs:181hand-buildsdocker run. With no jail, commands run unconfined and reportInactive.
Target architecture
- Bus-only. OpenHuman depends on exactly one tinysecurity crate,
tinysecurity-bus. The module is a compiled native module loaded at boot (LoadPolicy::Boot), reached throughattested_proxy(tinybus attestation + registry digest). No tinysecurity library is linked into the host; no dependency is shared. A new CI check (besidescripts/ci/check-crate-chain.mjs) fails if any OpenHuman manifest depends on anothertinysecurity-*crate. - Host-served callbacks (the
modules/memory_host.rspattern): approval persistence on the storage backend, approval prompt/await, audit forwarding, keyring consent. Init config carries policy and the Jev judge endpoint/credential (resolved throughresolve_backend_credential, never in call args). - OpenHuman keeps: config schema and one translator to the module's
PolicyConfig; RPC namespaces (approval.*,security.*,sandbox.*,encryption.*, which are wire contracts and unchanged); oneTinySecurityMiddleware; credentials/auth; SaaS gateway/profiles; pairing UX; executing sandbox plans through tinybox. - Fail closed. Module missing/faulted/timed out ⇒ external-effect calls denied; no in-process retry of a faulted module. A tiny host-side deny-list of the credential-store floor remains only until the module is a mandatory boot dependency.
- Hot path. Every tool call and in-tool path/command check now crosses the bus. Mitigate with coarse
Evaluate, batchedCheck, and a host decision cache keyed by (policy generation, call fingerprint) invalidated onPolicyChanged. A latency benchmark gate (p50/p99, calls per turn) lands before any caller is migrated; if too slow the fix is batching/caching, not linking the library.
Step-by-step plan
Phase 0: Characterization tests (precondition for every move)
Add Rust tests that pin current behavior so migrations are provably neutral:
tests/json_rpc_e2e.rs-style coverage forapproval.*(list_pending, decide, preauthorize_flow, get_gate_state),security.policy_info,sandbox.*,encryption.*. Add[[test]]entries incrates/openhuman-cli/Cargo.toml(path = "../../tests/<name>.rs"),pnpm rust:layoutclean.- Gate behavior: allowlist short-circuit, park/decide/TTL (10 min; copilot/sub-agent 3 min) fail-closed, restart survival, cron origin denies external effects,
auto_approve_allbypass (document that it writes no audit row today), flow-trust grants. - Policy: command classes, forbidden/trusted roots, always-forbidden floor with autonomy disabled, rate limiter.
- Sandbox resolution: SaaS ⇒ sandboxed, env override, agent mode precedence, Noop ⇒
Inactive. - Redaction corpus: one shared fixture of secrets/PII/paths run against every existing redactor, recording what each catches (this becomes the acceptance corpus for the unified redactor and exposes the gaps).
- Bus latency baseline for the existing in-process path.
Phase 1: Module wiring (follows migrate-to-submodule)
git submodule add https://github.com/tinyhumansai/tinysecurity vendor/tinysecuritypinned to the released tag;.gitmodulesentry.- Registry record in
crates/openhuman-core/src/modules/registry/(copyrecords_docs_wallet.rsshape):bus_name = ai.tinyhumans.tinysecurity.Policy,object_path,version,release_url, 11PlatformAssets (sha256 verbatim fromchecksum.toml),load: LoadPolicy::Boot; wire intoregistry.rsALL; case inregistry_tests.rs. scripts/ci/check-module-pins.mjs: addtinysecurity: { submodule: "vendor/tinysecurity" }toPIN_MAP; runcheck-submodule-monotonic.mjs.crates/openhuman-core/Cargo.toml:tinysecurity-bus = { path = "../../vendor/tinysecurity/crates/tinysecurity-bus", optional = true }; featuresecurity-module = ["modules", "dep:tinysecurity-bus"]; forward throughopenhuman-embed,openhuman-tinyhumans,openhuman-rpc,openhuman-cli,openhuman-tuiand the app's forwarded set; add toscripts/ci/product-features.txt(it ships; consider default-on);check-feature-forwarding.mjsgreen; test gate on and off.- Host adapter
crates/openhuman-core/src/modules/security.rs(+security_tests.rs):ensure_loaded,attested_proxy, typed client overtinysecurity-busconstants (no string literals), init/reinit withPolicyConfig, host-callback server for store/prompt/audit/consent. - CI: build the native test module in
ci-full.ymlandtest-reusable.yml(as tinysearch does), export aTINYSECURITY_TEST_MODULEoverride; release-staging/production workflows list the bundled module version. - New CI check enforcing the bus-only dependency rule.
Phase 2: Config consolidation + policy
- One
[security]table (autonomy, sandbox, privacy, audit, approval TTLs, auto-approve/judge) with a single translator toPolicyConfigin the host; remove the unreachableSecurityConfig/DaemonConfig.security; exposeAuditConfiginConfig. Keep migrations inconfig/migrations/for renamed fields. - Fix
from_config(no hard-codedPrivacyMode::Standard); makesecurity.policy_inforeturn the complete effective policy from the module. - Replace
SecurityPolicy/ToolPolicyPosture/ policy copies with busEvaluate/Check; tools (shell, filesystem, network gates) callCheckthrough a small host client with the decision cache.tinybox_core::shell::{classify,scan}calls insecurity/policy/command_checks.rsgo away (moved into the module). - Decide
max_cost_per_day_cents: enforce in the module (needs a cost callback) or delete the field with a migration. live_policy.rsbecomes the init/reinit driver + generation counter for the cache.
Phase 3: Redaction, SSRF, egress/privacy
- Delete the 8+ redactors and URL-redaction helpers; route to bus
Redactwith a mode enum. Local helpers needed in hot logging paths (Sentryscrub_secrets,rpc_log) call the module through a cached, batched client or keep a minimal documented floor (decision recorded in an ADR). - Delete
util/url.rs::host_is_localand the extra loopback helpers; use busUrlGuardincl. resolved-IP check;tools/impl/network/host.rs,modules/browser.rs, composio loopback checks migrate. PrivacyMode::Sensitive: implement per the module spec or remove; egress descriptors/enforcement via busEgressCheck;web_chat/egress_surface.rsandinference/provider/factoryuse it.- Prompt-injection (
agent/bus.rs,session_host/runtime/run_loop.rs,mcp/registry) via busScanPrompt/ScanToolDefinition; reconcile withtinymcpsanitize andtinyskillsscan (call them from the module or document the split).
Phase 4: Approvals + auto-approve
- Migrate
ApprovalGate(security/approval/*, ~4.8k LOC): parking future stays host-side, state machine/TTL/log in the module;ApprovalStoreserved from the host storage backend (approval/store*.rsbecome the host callback impl); keepapproval.*RPC andApprovalRequested/ApprovalDecidedevents (bumpEVENTS_VERSIONonly if the event shape changes). ApprovalSecurityMiddleware→ callsEvaluate, parks onRequireApproval(request_id), resumes onDecide.- Auto-approve: move
autonomy.auto_approve,auto_approve_all, flow trust,approve_always_for_toolpersistence (config save + live reload) behind the module.auto_approve_allmust write audit rows. Add the Jev judge setting ([security.auto_approve.judge]: enabled, per-origin opt-in, thresholds, endpoint via backend credential); off by default; fail-to-human on any error; UI showsauto:jevdecisions in the log. - SaaS: today SaaS bypasses approval parking ("no per-user approval surface yet"). Decide and implement the SaaS approval path (per-user prompt channel or Jev-only with strict thresholds), documented.
- Frontend: approval log view shows judge verdicts; i18n for all locales (
useT(),pnpm i18n:check).
Phase 5: Sandbox (depends on tinyhumansai/tinybox#27)
- Module returns
SandboxPlan; host adapterSandboxPlan → tinybox BoxSpec/Placement(Resources,NetworkPolicy, grants incl. the credential-store floor).sandbox/ops.rsresolve_*logic moves to the module; execution (execute_in_sandbox,spawn_with) stays host-side. - Fail closed: untrusted tiers refuse
NoopusingSandboxCapabilities::is_suitable_for_untrusted_code(); surface insandbox.*RPC and UI. - Replace
agent/host_runtime.rsDockerRuntimehand-builtdocker runwithtinybox_docker::OneShot. - Wire
tinybox-linuxsoFirejail/Bubblewrapconfig values work (map to namespace) or remove them andfirejail_args/ResourceLimitsConfigwith migration. - Route unsandboxed spawners through the jail at minimum: cron
shell_job.rs, tinymcp stdio, tinyruntime pools/pyserver, command hooks, tinyflowsscriptrunner,install_tool; route untrusted sources (MCP-installed servers, downloaded skills) to microvm where KVM exists. Browser/tinycomputer processes: assess and document. OPENHUMAN_SANDBOX=off: never applies under SaaS (test pinssandbox/ops.rs:59ordering);boot_guardkeeps protecting it.
Phase 6: Middleware consolidation
One TinySecurityMiddleware (beside agent/tinyagents/middleware/approval.rs, registered before the other tinyagents middleware) maps module Decision → tinyagents PolicyDecision. Remove tools/agent_policy/, the duplicate parts of agent/tool_policy.rs, ToolPolicyMiddleware wrapper duplicates and the three disallowed_tools checks; keep ToolRules as the declarative input (built on tinytools, single copy). Upstream-first for anything generic (tinytools/tinyagents), per CLAUDE.md ownership.
Phase 7: Audit + dead-code cleanup
- One audit log (approvals, shell, sandbox decisions, judge verdicts, policy changes) through the module;
mcp/auditbecomes a facade or stays tinymcp-owned (decision recorded). - Delete:
pii::scan(unless adopted),security/secrets.rsalias,security/core.rs,#[allow(unused_imports)]re-exports, dead config from the list above; rename overloaded modules; remove each old test file with its code. - Wire
tinycomputerconsequence/payment gates andtinyskillsscan verdicts into the approval/policy path (or document why not).
Phase 8: Crypto/keyring/pairing
Move encryption/core, keyring backends/crypto, devices/crypto, pairing behavior into the module (tinysecurity T11); keep keychain consent UX, credentials/auth and device sockets host-side. web3 (web3/seams.rs, x402/seams.rs) calls encryption.* RPC unchanged.
Phase 9: Docs
CLAUDE.md submodule-ownership row for tinysecurity and the module/bus-contract table; gitbooks/developing/loadable-modules.md (record count, 11 builds), gitbooks/features/approval-gate.md, gitbooks/features/privacy-and-security.md; crates/openhuman-core/src/security/README.md and approval/README.md reduced to host adapters; platform/about_app/ for user-visible capability changes (Jev auto-approve); pnpm docs:generate + docs:check.
Cross-OS end-to-end tests (required)
Each phase's PR includes e2e on Linux, macOS and Windows using the real released module artifact (no mocking of the module or of OS isolation); mock backend only for network services. Matrix runs in CI Full (ubuntu-24.04, macos-15/macos-26, windows-2025; arm64 where the release matrix has it).
| Flow | Linux | macOS | Windows |
|---|---|---|---|
| Module load at boot | .so digest admission; tampered digest ⇒ deny external effects |
.dylib (+ quarantine/codesign) |
.dll; locked-file replacement on update |
| Approval round trip (RPC + UI event) | park → decide → TTL → restart survival | same | same, path/locking differences |
| Auto-approve + stub Jev judge | allow, low-confidence ⇒ human, timeout ⇒ human, Deny never overridden |
same | same |
| Path policy through tools | floor for ~/.ssh; symlink/.. escapes |
APFS case-insensitivity, /private/var |
drive/UNC/\\?\/8.3/reserved names |
| Shell tool classification | sh/bash | zsh | PowerShell + cmd quoting via platform_shell.rs |
| Sandbox execution through tinybox | Landlock/bwrap/microvm (KVM job)/docker | Seatbelt/docker | AppContainer/docker; untrusted tier refuses Noop |
| Redaction in logs/Sentry/approval rows | /home/x |
/Users/x |
C:\Users\x, %USERPROFILE% |
SSRF (http_request, browser) |
metadata IP, rebinding | same | same incl. IPv6 zone IDs |
| Keyring/crypto | Secret Service / file | Keychain | Credential Manager |
| Fail closed | module killed ⇒ external effects denied; no retry | same | same |
Frontend flows additionally get mocked-desktop e2e under app/test/e2e/specs/ (approval prompt, log, judge badge); E2E code uses helpers/element-helpers.ts.
Definition of done
- The only tinysecurity dependency is
tinysecurity-bus; CI enforces it. - One redactor, one URL guard, one policy/approval path, one audit log; the lists above are deleted.
- Every config field is enforced or removed;
policy_infois complete. - tinybox is used through
BoxSpec/plans for every untrusted spawner; no silent Noop for untrusted tiers. - Characterization suite green before and after each phase; three-OS e2e green;
pnpm rust:layout, pin/feature-forwarding checks,pnpm docs:checkgreen. - Bus latency budget met (benchmark committed).
Activity
senamakel commentedon Oct 14, 2026
Tool-policy placement note (from #7627, tinytools#66, OpenHuman #7726/#7773/#7787).
Current split, at the pins on main:
ToolPolicyEngine,ToolPolicySession, agent_policy vocabulary, registry types/denials, deferred exposure) lives intinytools(nestedvendor/tinyagents/vendor/tinytools). It is a kernel library: no bus contract, no [components] toggle, no registry record.tools/rules(operator deny/allow layers, deny-overrides, child inherits operator layers only),tools/policy_session.rs(builds the session from host config and traces under[tool-policy]), the approval gate, andAutonomyConfig.Proposed placement for #7328:
ToolPolicyEngine(posture and deny/allow rules in, classification out), not by reimplementing the engine.tinytools::ToolPolicyEnginerather than add a second engine.ToolPolicyPosture/policy_info_payloadcopyingAutonomyConfigshould be replaced by tinysecurity's config type in phase 2.Nothing further is needed in #7627. Closing it, with #7702 and #7541 whose checklists are done (#7623, #7624, #7627, #7628). Open follow-ups live in #7328.
test(approval): prove judge fallback matrix, auto_approve_all audit a…
feat(bus): ConsequenceHost review of approved irreversible and paying…
docs(security): document fail-closed TinySecurity module
senamakel commentedon Oct 15, 2026
Progress on PR #7331 (draft, Part of this issue). Done: phases 0 and 1 (characterization suite, module wiring, registry/pins, bus-only CI check, security-module default-on) and part of phase 2 (scoped policy via bus). Pinned to tinysecurity v0.7.0 and tinybox 0.1.34. Remaining: authenticated authority for RegisterPathPolicy, the measured latency gate, the shell/network gate migration, phases 3-9, three-OS e2e. No checklist items are ticked because none of the Definition of done items is fully met. Details in the PR body.
fix(approval): report the subject handle only to a registration that …
Merge pull request #113 from senamakel/epic-7328-p7-cleanup
senamakel commentedon Oct 18, 2026
Handoff, 2026-10-18. Draft PR #7331 is now at the fork epic tip
a58464dfc6, pinned to tinysecurity v0.14.0 (contract 1.21). Its body holds the full handoff: what has merged, the remaining steps in order, the rules, and the open decisions.Where it stands
Host code removed: the removal pass has merged into the epic branch: approval, policy, redact/egress and sandbox (fork PRs [Feature] Add first-class package manager install channels (brew, apt, npm, others) #128, [Bug] Service Required screen: Load failed and buttons disabled on app startup #129, feat(observability): add Sentry error reporting to Rust core #131, [Bug] Local model download fails: Ollama install script error and stuck progress #132).
Module gaps: the 13 gaps that blocked the remaining deletions are implemented in tinysecurity for contract 1.22: feat(sandbox): executor preference, workspace-less plans and the operator's planned host run (contract 1.22) tinysecurity#29, Enable the team to spin up the full backend + memory system using a single Docker Compose command. #30, Fix Memory Recall Failures in OpenHuman Integration #31 and Automate Daily DMG Build & Distribution #32, all merged.
Host branches waiting to be integrated: these are on
senamakel/openhumanwith no PR yet:epic-7328-gaps-sandbox@5330a03aedepic-7328-gaps-policy@c95d2de0f6epic-7328-gaps-approval@1adba7556eTogether they delete about 6,600 more host lines.
Next steps
release-and-repin.mjs --version 0.15.0.maininto the epic, push tosecurity-bus-7328, and mark feat(security): vendor TinySecurity and migrate filesystem authorization #7331 ready.Still open
secrets.enc, adding a tunnel-cipher member, and descoping pairing.senamakel commentedon Oct 18, 2026
core-shrink audit: rows handed to this tracker
The reworked #7390 audited every non-test file in
crates/openhuman-core/src/that no domain epic owns (198.6k lines, 2026-10-18 on maina48737721c). These rows match this tracker's tinysecurity target, so #7390 files no leaves for them. They are listed here so your phases can pick them up. Paths are relative tocrates/openhuman-core/src/.config/schema/channels.rsconfig/schema/security.rs(new name)config/schema/privacy.rstinysecurity_bus::egress::PrivacyMode(~/work/tinysecurity/crates/tinysecurity-bus/src/egress.rs:7)config/ops/sandbox.rsvendor/tinybox/crates/tinybox-jail/src/detect.rs::pick_backendsecurity/secret_storage/encrypted_file_backend/key_source.rs~/work/tinysecurity/crates/tinysecurity-crypto/src/keyring/mod.rs(MasterResolver,MasterMint,LegacySource) and tsd `file::{HexK...security/secret_storage/encrypted_file_backend.rsfile::{FileImportSource, prepare_file_import, cleanup_file_import, recover_file_import_source}(file/migration.rs) and `load_or_c...security/secret_storage/encrypted_store.rs~/work/tinysecurity/crates/tinysecurity-crypto/src/secretstore/mod.rs(SecretCipher: enc2, legacyenc:,decrypt_and_migrate) via ...security/approval/flow_surface.rstinysecurity-busapproval_scopes (RegisterApprovalScope2/RetireApprovalScope2), #7328 phase 4security/approval/gate_state.rstinysecurity-busDecide2/RecordExecution2/ListApprovals2/PreauthorizeFlow2security/approval/redact.rstinysecurity-busRedactMode::StructuredArguments/HomePath(module impl: `~/work/tinysecurity/crates/tinysecurity-redact/src/struc...security/approval/store_flow_trust.rstinysecurity-busPreauthorizeFlow2and theauto:flow-grantscopesecurity/approval/store_import.rstinysecurity-busImportApprovalHistory2security/audit.rstinysecurity-audit(sink.rs,event.rs,rotation.rs) viatinysecurity-busauditedsecurity/core.rstinysecurity-busRedactMode::LegacyMasksecurity/live_policy.rstinysecurity-moduleSDK reinit (generation plusPolicyChanged)security/policy/command_checks.rstinysecurity-policycommand_shell/*andcommand_registry.rssecurity/policy/path_checks.rstinysecurity-policypath.rs,path_scope.rs,scoped.rsvia busCheckPath/ValidatePath/RegisterPathPolicysecurity/policy/types.rsPolicyInfoand policy config, withSecurityPolicyas a thin host viewsecurity/scrub.rstinysecurity-busRedactMode(Text,CredentialsOnly)security/devices/crypto.rstinysecurity_crypto::device(KeyPair,SessionKeys,Role,seal/open,seal_handshake/open_handshake/seal_ack/open_ack) in `~/wo...security/egress/enforce.rstinysecurity_egress::privacy::checkandtinysecurity_bus::{PrivacyMode, EgressPolicy, ScopedEgressRequest}(#7328)security/encryption/core.rstinysecurity-crypto/src/password.rs(same Argon2id and AES-256-GCM scheme) if it is ever neededsecurity/prompt_injection/detector.rstinysecurity-redactpromptScanner,ScanPromptRequestandScanToolDefinitionRequestthroughtinysecurity-bus(`tinysecurity-bus...util/redact.rstinysecurity_redact::Redactor(#7328), ortinymemory_core::util::redactcore/log_redaction.rstinysecurity-redact(crates/tinysecurity-redact/src/patterns.rsandlib.rs::Redactor::redact), throughtinysecurity-buscore/rpc_log.rstinysecurity-redact(structured.rs, structured JSON redaction)integrations/composio/tools/redact.rs~/work/tinysecurity/crates/tinysecurity-redact/src/lib.rs(Redactor,RedactorConfig.secrets), reached viatinysecurity-bus(#7328)hosting/tools.rsvendor/tinyhosts/crates/tinyhosts-bus(launch and rollback orchestration);tinyagents-harness-tools(#8088) for theTooladapterFindings the audit adds for your phases:
tinyredact(in tinymemory, used bysecurity/scrub.rs) andtinysecurity-redact. Decide which one wraps the other before phase 3. The host has more copies on top:core/log_redaction.rs,core/rpc_log.rs,util/redact.rs,security/approval/redact.rs(a verbatim port already lives intinysecurity-redact/src/structured.rs) andintegrations/composio/tools/redact.rs.tinybox-core/src/shell,tinysecurity-policy/src/command_shellandsecurity/policy/command_checks.rs.security/policy/path_checks.rs,tinysecurity-policy/src/path.rs, andsandbox/local_grants.rs→ TinyBoxResolveLocalGrants. Grant admission is also implemented separately intinysecurity-sandbox/src/grants.rs.tinysecurityis not a dependency anywhere in the repo yet, so every row above waits on phase 1 (module wiring).senamakel commentedon Oct 18, 2026
Progress after the handoff:
d39799906d928ad118399b78c786613c380f8fb5; the authorized v0.15.0 release workflow is running. The host will use the published assets/checksums after publication is verified.TinySecurity #1, TinyBox #27, and TinyBus #76 remain open. None of the unfinished platform enforcement or migration work is being treated as complete.
senamakel commentedon Oct 18, 2026
TinySecurity v0.15.0 (contract 1.22) is published at
26db0d31d47a6d09d87e1095a53574da5379e5ba. Release run 39169878119 passed all 16 platform bundles and verification of the published module through TinyBus. All 16 archive hashes match the published checksum manifest and GitHub asset digests.The local host integration is re-pinned in
31bc1297fff3fc289ee71677d5141992d087b167; strict default Clippy, default/no-default core checks, documentation and static checks passed. This commit is not yet in #7331's published head, which remains draft ata58464dfc6.TinyBus #92 is merged and #76 closed; TinySecurity #38 consumes the fix and removes the advisory exceptions. TinySecurity #37 is also merged. Current-main integration has 133 conflicts and needs an upstream TinyAgents terminal-outcome hook for reliable failure/cancellation auditing.
Phase 8 remains full scope: existing paired channels need module-owned import of their distinct encrypted core keys, plus recovery of durable confirmations whose responses are lost. Both are being implemented before host migration. TinyBox #96 has one final availability regression being fixed; #98/#101 prepare the required deprecation release. TinyBox #27's actual platform enforcement remains unfinished. The expanded current-work section in #7331 records these details.
senamakel commentedon Oct 18, 2026
Current integration findings and owning-repository work:
The published OpenHuman PR remains a draft. Main integration preserves the newer hosted-layer and TinyAgents ownership extractions; the existing three-OS module policy fixture is only part of the epic’s required end-to-end coverage.
18 remaining items
senamakel commentedon Oct 23, 2026
OpenHuman exact-head validation update (2026-10-23)
OpenHuman PR #619 head
18b87d3d16139e06afa316b0fe50d68a82572173now has a successful Security Browser Egress run: the loaded-module TinySecurity callback test and real Chromium/TinyComputer egress controls passed. All six module-bundle staging targets also passed.I reran only the failed Markdown Link Check job on the same head (attempt 2 of PR Quality run 39941496564). It again exhausted the built-in retries for the existing MITRE CWE-250 endpoint in
docs/gitbooks/en/developing/release-policy.md:129. The other PR Quality jobs passed. No production-code failure remains in these exact-head checks; PR #619 stays draft pending component acceptance and canonical release-backed pins.senamakel commentedon Oct 23, 2026
Follow-up progress (2026-10-23)
The OpenHuman exact-head security browser workflow and all six module staging targets remain green. A fresh PR Quality run triggered by the PR description update again passed the checklist, coverage-matrix and AppImage/libxdo jobs; Markdown Link Check again exhausted retries for the existing MITRE CWE-250 URL (
docs/gitbooks/en/developing/release-policy.md:129). This is a soft check and no code defect was reported.TinyBox #27 next slice is a live
NamespaceSandboxnetwork control: through the publiccreate/execpath, prove an Egress child reaches a local listener and a Denied child cannot. The test now passes locally, has an explicit required-live gate that errors rather than silently skips when prerequisites are missing, and is wired into the Linux feature-test script. The worker is preparing the fork-epic PR; this slice does not claim network allowlist or DNS-rebinding coverage.senamakel commentedon Oct 23, 2026
TinyBox namespace network proof merged (2026-10-23)
TinyBox fork-epic PR #46 merged at
e1e9cde6909f7ad8cc8d21c5cb57f313da0d04b8from reviewed headda95f84a188a8a06f14a9f1e4a0fd37bcfdc391a. It adds a required liveNamespaceSandboxtest through the publiccreate/execpath: Egress reaches a controlled local listener and default Denied cannot. It does not claim allowlist or DNS-rebinding coverage.The exact-head hosted run 39944510308, attempt 3 passed all 19 checks after targeted Windows Server and macOS reruns. Local focused tests, Clippy, build, formatting and script checks passed; review had no unresolved threads or change requests. The merge used
--adminonly for the required approval gate; no CI checks were bypassed. Initial platform failures were in unchanged tests and cleared on exact-head reruns.TinyBox #27 remains open for the broader allowlist/DNS-rebinding, cross-platform resource/backend, event/bus and release acceptance. Windows CPU enforcement remains deferred as Unsupported. OpenHuman PR #619 stays draft pending the component acceptance and release-backed pins.
senamakel commentedon Oct 23, 2026
Component PR progress (2026-10-23)
e1e9cde6909f7ad8cc8d21c5cb57f313da0d04b8; all 19 exact-head checks passed after targeted platform reruns. It proves NamespaceSandbox Egress can reach a controlled local listener while default Denied cannot. TinyBox Need to get the production ready to enable us to give out the API keys #27 remains open for broader network, resource/backend, event/bus and release acceptance; Windows CPU enforcement remains deferred as Unsupported.9e0d7fbe7da49f4e593d984bcec2d9968363c981. The test fixtures use separate OS-assigned loopback ports instead of127.0.0.2; the oversized live-browser test file is split by topic per repository guidance. Local browser tests (53), loaded-module live tests (6), formatting and both focused Clippy lanes pass. Exact-head run 39951120527 is pending. Review feedback was addressed and replied to; PR [Bug] Voice replies fail to play ("Failed to play voice reply") #165 retainsCloses #111.mainat3e7175983e4d854b84e14ea437b59ec316a20b5bvia merge commitc49f856e6865adbaf1b849c02c5264426d14e6fe; it is conflict-free. Formatting, strict all-target Clippy, all-target build, docs, and the all-features suite pass locally. The audit sink suite requiredumask 0022because its tests deliberately reject group-writable temporary directories; the unadjusted session umask0002caused the earlier environment-only failures. Exact-head hosted runs 39950922105 and 39950914885 are in progress; fresh CodeRabbit review is pending.OpenHuman PR #619 remains draft. No canonical PR has been merged and no release-backed OpenHuman module pin has changed.
senamakel commentedon Oct 23, 2026
Component PR progress (2026-10-23)
8b5eb8e277a7478562ca94e0061b8cc64a6fd41f. The same-port/different-address rebinding fixture now proves the IP check independently of port rejection. Local browser and loaded-module tests, Clippy, formatting, and diff checks pass. Exact-head run 39951698886 has passed format, Clippy, docs, coverage, supply-chain, MSRV, workspace test and TinySweeper; platform feature and module-E2E suites remain in progress. CodeRabbit review was rate-limited and posted no fresh review; no unresolved threads. PR [Bug] Voice replies fail to play ("Failed to play voice reply") #165 still links TinyComputer refactor: replace dynamic imports with static imports in app/src #111 and is unmerged.c49f856e6865adbaf1b849c02c5264426d14e6fe, including currentmainat3e7175983e4d854b84e14ea437b59ec316a20b5b. Local formatting, all-features tests (underumask 0022), strict Clippy, build and docs pass. Exact-head runs 39950922105 and 39950914885 continue on Linux/macOS/Windows; no failing jobs observed. The two old CodeRabbit change requests are still visible while a fresh review is pending; no unresolved inline threads and no merge.f5312113308381a4cf36cc80813ea8f1d5f11957(job 120408518136); formatting, Clippy, docs, MSRV, coverage, supply-chain and the Ubuntu module E2E also pass. Remaining cross-platform tests are in progress. This proves Egress-vs-Denied connectivity only, not allowlist or DNS-rebinding behavior. TinyBox Need to get the production ready to enable us to give out the API keys #27 remains open.OpenHuman PR #619 remains draft and its module pins are unchanged pending component acceptance and canonical releases. TinyBox Windows CPU enforcement remains deferred as Unsupported.
senamakel commentedon Oct 23, 2026
Component validation update (2026-10-23)
mainat1d02ee441cb18706fc8fc195769c1f8afc92a12e. Exact-head run 39953419391 passed all 14 checks, including the required Docker connection-control lane and Linux/macOS/Windows suites. The two CodeRabbit findings were fixed and replied to before merge. The PR usesRefs tinyhumansai/tinybox#27; TinyBox Need to get the production ready to enable us to give out the API keys #27 remains open for the wider network, resource/backend, bus/event and release work. This test proves Egress-vs-default-Denied connectivity only.8b5eb8e277a7478562ca94e0061b8cc64a6fd41f; exact-head run 39951698886 passed all 13 checks across Linux, macOS and Windows. Its controlled same-port/different-address DNS-rebinding fixture completes the remaining refactor: replace dynamic imports with static imports in app/src #111 browser evidence. CodeRabbit review was rate-limited and the old changes-requested verdict remains, with no unresolved threads; PR [Bug] Voice replies fail to play ("Failed to play voice reply") #165 is open and retainsCloses #111.c49f856e6865adbaf1b849c02c5264426d14e6fe, merging currentmaininto its branch without rewriting history. Both exact-head runs 39950922105 and 39950914885 passed all jobs; fresh CodeRabbit approval is in place and there are no unresolved threads. PR refactor: split tauri host from openhuman_core runtime #43 remains open.OpenHuman PR #619 remains draft with release-backed pins unchanged. TinyBox Windows CPU enforcement remains deferred as Unsupported.
senamakel commentedon Oct 23, 2026
TinyBox loopback allowlist validation (2026-10-23)
Canonical TinyBox PR #127 is at exact head
0c3886f6fcab5bbe226a7b208bf3598f72b61b5e. It rejects explicit loopback targets inEgressAllowlist: IPv4/IPv6 and IPv4-mapped IPv6 literals, scoped IPv6 loopback,localhostaliases, and common resolver legacy numeric IPv4 spellings (127.1,2130706433,0x7f000001,0177.0.0.1). Regression tests for legacy numeric and scoped IPv6 forms failed against the prior code, then passed after the fix. Rustdoc and the public contract 1.19 spec describe the new validation and its boundary: this does not resolve DNS or implement full allowlist enforcement.Exact-head run 39962544302 passed all 14 jobs across Linux, macOS and Windows, including Docker connectivity, coverage, module E2E, docs, MSRV and Clippy. Codex findings were fixed and both threads resolved; TinySweeper approved. CodeRabbit’s remaining changes-requested verdict is tied to the superseded
87c0235head; its current check is rate-limited and the review was re-requested. PR #127 remains open and unmerged with no unresolved threads.TinyBox PR #125 remains merged to canonical
mainat1d02ee441cb18706fc8fc195769c1f8afc92a12e. TinyBox #27 remains open for broader network allowlist/DNS rebinding, cross-platform enforcement, events/bus and release acceptance; Windows CPU stays deferred as Unsupported. OpenHuman PR #619 remains draft and release-backed pins are unchanged.senamakel commentedon Oct 24, 2026
Component update (2026-10-24)
091e46bcd8517ba9687dd8ae95bb8f193e384149; exact-head run 40055666744 passed all 20 checks. It updates the install guide to contract 2.5. TinyBox Need to get the production ready to enable us to give out the API keys #27 remains open for resource, network, event, cross-OS and release/checksum acceptance. Windows CPU remains deferred as Unsupported.0117741419c2dc9cf062bc3a1e2f7cb516301f85. Tool Policy Diagnostics now reads activesecurity_policy_infoand reports loading/unavailable/not-built states without hiding inventory, MCP or denial data; panel tests 6/6 and i18n coverage 79/79 pass. Exact-head browser callback, module bundle and PR Quality checks pass; the final PR Quality rerun after body correction 40060966502 also passed. The PR preserves the requested merge of OpenHuman main (a612c7aefce2b4ad236a98a9ee6925f2ebb0bdf6) and now accurately records that canonical TinyComputer refactor: replace dynamic imports with static imports in app/src #111 closed through PR [Bug] Voice replies fail to play ("Failed to play voice reply") #165.RUSTSEC-2026-0386Tokio 1.53.1 advisory; Tokio 1.53.3 is now present. The focused live test passes 1/1,cargo deny check advisoriespasses (with existing yanked-package warnings), and exact-head cross-OS CI run 40061795605 is running. The superseded pre-fix run was cancelled.OpenHuman PR #619 remains draft until TinyBox publishes a compatible contract 2.5 release/checksum and remaining TinyBox acceptance is complete. No Windows CPU support is claimed.
senamakel commentedon Oct 24, 2026
TinyComputer browser-egress acceptance merged (2026-10-24)
TinyComputer fork-epic PR #23 merged to
epic/7328-security-busat33587b7b6adb28d88dcedfda74f6704910a391da. All 13 exact-head checks passed on42d885051262175e53ce90b69e2ed87232666351, including Linux/macOS/Windows feature tests and loaded-module Chromium E2E.The PR adds live module coverage that caller-supplied browser options cannot replace the host-selected egress policy identity or generation. It also merges canonical main to carry Tokio 1.53.3 and resolves a Windows-only fixture race by preventing an implicit favicon request from being counted as the deliberate DNS-rebinding request. The focused caller-identity and DNS-rebinding Chromium tests pass locally;
cargo deny check advisories, fmt and diff checks pass. Canonical TinyComputer #111 remains closed by PR #165; this supplemental test makes no direct TCP/UDP/QUIC or process-level confinement claim.OpenHuman PR #619 remains draft at
0117741419c2dc9cf062bc3a1e2f7cb516301f85; its exact-head callback, module-bundle, and PR Quality checks are green. TinyBox contract 2.5 release/checksum and remaining TinyBox cross-OS acceptance remain the OpenHuman integration blockers. Windows CPU enforcement remains deferred as Unsupported.senamakel commentedon Oct 24, 2026
Progress update (2026-10-24)
mainat23c0a37340872a3c23765cc74135d745185467e0, merged as1d559283ed34a7873e053dde53a130b7d44472a8. Exact-head Security Browser Egress, six-target module staging, and PR Quality checks pass. It remains draft pending TinyBox Need to get the production ready to enable us to give out the API keys #27 release-backed acceptance.\\?\verbatim DOS path after confirming the host control can read the same file. The dedicated Windows AppContainer job passes on head6935118e22b65c16c1049de47d3568b54d49e4f3; format, Clippy, docs, MSRV and supply-chain checks also pass. Linux/macOS/Windows E2E and coverage jobs are still running.Windows CPU enforcement remains deferred and typed
Unsupportedas agreed.senamakel commentedon Oct 24, 2026
TinyBox AppContainer path-alias acceptance merged (2026-10-24)
TinyBox fork-epic PR #55 merged at
e9c7d369b617ceb04a5873625e316bdfe5ef6410from exact head6935118e22b65c16c1049de47d3568b54d49e4f3. It adds a host-side read control and a live AppContainer child check proving an outside file remains unreadable through the Windows\\?\verbatim DOS path form.All 20 hosted checks passed on run 40066456449, attempt 2, including Linux/macOS/Windows E2E, Windows 11 ARM64, Windows Server 2025, dedicated AppContainer, coverage, Clippy and supply-chain. One macOS cancellation test failed on the first exact-head attempt (195 passed, 1 failed) and passed on the exact-head rerun. The merge used
--adminonly for the fork epic branch's required-approval gate; no CI checks were bypassed.OpenHuman PR #619 remains draft at
1d559283ed34a7873e053dde53a130b7d44472a8; latest-main integration and its exact-head checks are green. TinyBox #27 remains open for remaining cross-platform enforcement and compatible release/checksum work. Windows CPU enforcement remains deferred as typedUnsupported.senamakel commentedon Oct 24, 2026
Progress update (2026-10-24)
e9c7d369b617ceb04a5873625e316bdfe5ef6410with 20/20 hosted checks. It proves AppContainer denies an outside-file read through a verbatim\\?\path.dd0107e67ae068b5af790adc754579a1e353405fwith 20/20 checks; it proves parent traversal cannot read a sibling secret.975df572ab61be3944ffd5c7a4321b91fa8fdffbwith 20/20 checks, including ten required AppContainer probes on Windows 11 ARM64.85af375520d7ef32064def33a2288754bf096ea2. It adds an 8.3 short-name alias read-denial proof on Windows Server 2025 x64 and Windows 11 ARM64. The dedicated x64 AppContainer and ARM64 acceptance tests pass. On the first full run, the x64 feature lane hit an unrelated 10-secondtinybox-sshtimeout test; only that lane is being rerun in attempt 2. No review feedback is open.2cab8fc6f02628402110aae633c90a48edda1e51, pins TinyBox975df572, and merges OpenHuman main63b2dde2through169790a6. Exact-head browser egress, six-target module bundle, and PR Quality checks pass; there are no unresolved comments. It remains draft pending a compatible TinyBox release/checksum and the remaining TinyBox acceptance.33587b7bwith all 13 checks passed.TinyBox #27 remains open for the broader network, resource/event, bus-contract and release acceptance. Windows CPU enforcement remains typed
Unsupportedas agreed; the Win-Custody PR's first-time Actions approval is not blocking this work.senamakel commentedon Oct 24, 2026
TinyBox 8.3 alias acceptance merged (2026-10-24)
TinyBox fork-epic PR #58 merged at
bab4731aa49659171c26765b076ed760a271d9f5from exact head85af375520d7ef32064def33a2288754bf096ea2. It adds live AppContainer denial for an outside secret reached through its 8.3 short-name alias on Windows Server 2025 x64 and Windows 11 ARM64. All 20 exact-head checks passed on run 40071995370, attempt 2; the first attempt's unrelated SSH timing failure passed on rerun.OpenHuman PR #619 now pins TinyBox epic tip
bab4731at headdfe17f7a58180ccbad951f4857d4387d3fdb50fb. Its module bundle, Security Browser Egress and PR Quality checks have restarted on the exact updated head. It remains draft pending a compatible TinyBox release/checksum and broader TinyBox acceptance. Windows CPU remainsUnsupportedas agreed.senamakel commentedon Oct 24, 2026
Superseded by #8369, which redesigns this tracker as a file-by-file migration epic: every one of the 140 non-test files (30,879 lines) under
security/,sandbox/and the related scattered files on mainae18f8b769gets a verdict, a target and an owning sub-issue. The work is ordered as bugs/deletes → relocations → upstream (tinysecurity, tinybox, tinystoragedrivers, tinytools) → host adoption, so it lands onmainin one-PR slices instead of one integration branch. The unlanded integration drafts (#7331, senamakel#619) are each adoption leaf's reference implementation and close at the end of #8369 (leaf senamakel#659). The phase plan above stays here for history.