Files
lanspread/security-report/coverage.json
T
2026-09-02 22:08:37 +02:00

573 lines
24 KiB
JSON

{
"completeness": "partial",
"deferred": [
{
"candidate": {
"title": "Legacy index migration"
},
"candidateId": "cand-legacy-index-unbounded-migration",
"id": "cand-legacy-index-unbounded-migration",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "StreamInstall subprocess fanout"
},
"candidateId": "cand-stream-install-subprocess-fanout",
"id": "cand-stream-install-subprocess-fanout",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Path-only root generation ownership"
},
"candidateId": "cand-ownership-root-generation",
"id": "cand-ownership-root-generation",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Update markerless local"
},
"candidateId": "cand-update-adopts-foreign-local",
"id": "cand-update-adopts-foreign-local",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Uninstall markerless local"
},
"candidateId": "cand-uninstall-adopts-foreign-local",
"id": "cand-uninstall-adopts-foreign-local",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Windows publisher TOCTOU"
},
"candidateId": "cand-windows-package-toctou",
"id": "cand-windows-package-toctou",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Unbounded peer CLI input"
},
"candidateId": "cand-cli-unbounded-jsonl",
"id": "cand-cli-unbounded-jsonl",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Sybil peer/author slots"
},
"candidateId": "cand-sybil-peer-author-slots",
"id": "cand-sybil-peer-author-slots",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Main-window plugin authority"
},
"candidateId": "cand-main-window-plugin-authority",
"id": "cand-main-window-plugin-authority",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Application command ACL"
},
"candidateId": "cand-app-command-acl",
"id": "cand-app-command-acl",
"reason": "Pending parent validation."
},
{
"candidate": {
"title": "Discovery prefix allocation"
},
"candidateId": "cand-discovery-prefix-allocation",
"id": "cand-discovery-prefix-allocation",
"reason": "Pending parent validation."
}
],
"documentType": "codex-security.coverage",
"excludePaths": [],
"explicitExclusions": [
{
"pattern": "crates/lanspread-tauri-deno-ts/src-tauri/assets/** and src-tauri/icons/**",
"reason": "Static image/icon payloads; file types and consumers were checked, but pixel data is not executable security logic."
},
{
"pattern": "crates/lanspread-peer-cli/fixtures/** and catalog fixture payload bytes (*.eti, *.ini, *.db)",
"reason": "Static test corpus. Publisher/loaders, catalog manifests, protocol harness, and scenario consumers were reviewed rather than treating every fixture byte as implementation source."
},
{
"pattern": "crates/lanspread-tauri-deno-ts/src-tauri/gen/schemas/** except ACL/capability manifests",
"reason": "Generated schema output; checked-in capability source and generated ACL/capability manifests owning runtime permissions were inspected."
},
{
"pattern": "Documentation-only design prose outside README.md and crates/lanspread-peer/ARCHITECTURE.md",
"reason": "Non-executable prose not owning a runtime/build control; security claims in the primary product/architecture docs were traced to consumers."
}
],
"includePaths": [
"."
],
"inventoryStrategy": "repository",
"mode": "repository",
"openQuestions": [
{
"followUpPrompt": "Re-run catalog provenance and manifest-size review with the retained production corpus and generated manifests.",
"question": "The external 186-game production package corpus and generated production manifests are absent, so their byte provenance and aggregate manifest-memory size could not be verified."
},
{
"followUpPrompt": "Establish vendor release/source mapping and reproducible or signed provenance for each platform sidecar.",
"question": "Checked-in unrar sidecars are opaque binaries with no checked-in upstream version/source/signature provenance."
},
{
"followUpPrompt": "Run bounded adversarial integration tests on representative Windows and physical-LAN hosts.",
"question": "This was an offline static scan; physical-LAN behavior, Windows UAC/runtime paths, and live memory/DOM exhaustion were not reproduced."
}
],
"scanId": "916f0812-d79c-465f-a422-81d75a258f76",
"schemaVersion": "1.0",
"surfaces": [
{
"disposition": "reported",
"id": "surface-peer-identity-state",
"label": "Peer identity, authenticated endpoint generations, and aggregate remote state",
"notes": "Reported aggregate Sybil-state exhaustion; responder pinning, session/generation fencing, and content authority otherwise held.",
"receiptRefs": [],
"riskArea": "Identity and state resource limits"
},
{
"disposition": "reported",
"id": "surface-network-admission",
"label": "Anonymous QUIC admission, control frames, bulk transfers, and native StreamInstall work",
"notes": "Reported origin-unfair global pools/native extractor fanout and eager length-prefix allocation.",
"receiptRefs": [],
"riskArea": "Remote resource exhaustion"
},
{
"disposition": "reported",
"id": "surface-discovery-hints",
"label": "mDNS discovery, state hints, and liveness reconciliation",
"notes": "Reported pre-auth candidate monopoly and unbound third-party pull hints; pinned follow-up preserves state integrity.",
"receiptRefs": [],
"riskArea": "Discovery availability and confused deputy"
},
{
"disposition": "reported",
"id": "surface-transfer-admission",
"label": "Catalog transfer admission, manifest cache, ordinary downloads, and retries",
"notes": "Reported pre-admission manifest caching and Sybil-multiplied per-chunk deadlines; chunk/path/hash verification held.",
"receiptRefs": [],
"riskArea": "Transfer resource budgets"
},
{
"disposition": "reported",
"id": "surface-filesystem-install",
"label": "Download confinement, ordinary install/update/uninstall, Stream Install, and recovery",
"notes": "Reported uncatalogued root archive extraction. No remote path escape, chunk hash bypass, or Stream Install output bypass found.",
"receiptRefs": [],
"riskArea": "Installed-content integrity"
},
{
"disposition": "reported",
"id": "surface-call-to-play",
"label": "Call-to-Play protocol, author ownership, frontend reduction, and rendering",
"notes": "Reported cross-author EventNonce collision and maximal active-call rendering cost; creator authority and responder attribution held.",
"receiptRefs": [],
"riskArea": "UI integrity and availability"
},
{
"disposition": "reported",
"id": "surface-tauri-native",
"label": "Tauri commands, capabilities, storage, logs, and Windows process launch",
"notes": "Reported runas of mutable game scripts. No hostile-peer XSS, raw HTML/eval, arbitrary thumbnail/log read, or remote capability grant found.",
"receiptRefs": [],
"riskArea": "Native privilege boundary"
},
{
"disposition": "reported",
"id": "surface-catalog-build",
"label": "Catalog publisher, package traversal, just recipes, build gates, and fixture/production separation",
"notes": "Reported shell interpolation and bounded out-of-root preflight reads. Atomic publication and production fixture gate held.",
"receiptRefs": [],
"riskArea": "Build and publication authority"
},
{
"disposition": "reported",
"id": "surface-local-state",
"label": "Game-directory monitoring, migration, persisted indexes, and public per-game state helpers",
"notes": "Reported unbounded local ingestion/migration work and public marker path traversal.",
"receiptRefs": [],
"riskArea": "Local filesystem input"
},
{
"disposition": "no_issue_found",
"id": "surface-protocol-codecs",
"label": "Protocol-v8 codecs, canonical IDs/paths, strict JSON, and legacy rejection",
"notes": "Strict current-only shapes, canonical path/ID types, unknown-field rejection, and semantic domain validation were traced; the aggregate decoder allocation issue is separately reported.",
"receiptRefs": []
},
{
"disposition": "no_issue_found",
"id": "surface-identity-secrets",
"label": "Installation key persistence and secret handling",
"notes": "Bounded strict identity parsing, certificate/key/SPKI/SAN consistency, no-follow/no-clobber persistence, Unix private mode, and redacted diagnostics were verified.",
"receiptRefs": []
},
{
"disposition": "no_issue_found",
"id": "surface-lifecycle",
"label": "Cancellation, task/process ownership, generation shutdown, and crash recovery",
"notes": "Owned child tasks, process reaping, network admission closure, operation drain, version/install intents, and quarantine paths were traced with no detached product mutation path found.",
"receiptRefs": []
},
{
"disposition": "no_issue_found",
"id": "surface-frontend-injection",
"label": "Frontend rendering, URLs, CSS, async ownership, and auxiliary windows",
"notes": "Remote values are React-escaped and no raw HTML, eval, javascript URL, or remote navigation sink was found; CSP null and broad app permissions remain defense-in-depth concerns.",
"receiptRefs": []
},
{
"disposition": "no_issue_found",
"id": "surface-test-tooling",
"label": "Peer CLI, Docker/just/Python scenario harnesses, and integration tests",
"notes": "Developer-authority boundaries, argv construction, cleanup scopes, fixture separation, and async lifecycle tests were reviewed; local stdin self-exhaustion was not treated as a security boundary.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-discovery-prefix-allocation",
"label": "Discovery length-prefix allocation candidate",
"notes": "Merged into `resource-exhaustion.length-prefix-eager-reserve`; same locked decoder, aggregate-memory failure, evidence, and remediation. Evidence: discovery.rs:30-259; network.rs:98-215.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-app-command-acl",
"label": "Missing application-command ACL candidate",
"notes": "No source-backed attacker-controlled script execution exists in either fixed local log window; fixed local URLs and React escaping are counterevidence. Retained as least-privilege hardening.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-main-window-plugin-authority",
"label": "Broad main-window plugin authority candidate",
"notes": "Requires a compromised main renderer, already intentionally trusted with native custom commands; no current injection/navigation route establishes the prerequisite.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-sybil-peer-author-slots",
"label": "Persistent Sybil peer/author slots candidate",
"notes": "Merged into `resource-exhaustion.sybil-aggregate-state`; same identity multiplication, retained-state budget, unbounded publication, and remediation.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-cli-unbounded-jsonl",
"label": "Unbounded peer CLI input candidate",
"notes": "Local stdin controller already owns the developer harness and can block/terminate it; no lower-privilege or remote boundary is crossed. Evidence: peer-cli/main.rs:167-180,409-428.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-windows-package-toctou",
"label": "Windows publisher TOCTOU candidate",
"notes": "Merged into `path-traversal.catalog-preflight-links`; same path-based read/rooted-handle failure and remediation. Evidence: catalog_publisher/package.rs:352-425.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-uninstall-adopts-foreign-local",
"label": "Markerless local uninstall candidate",
"notes": "Explicit authorized uninstall semantics: `local/` defines installed state and user-invoked uninstall intentionally removes it; marker creation proves the renamed backup is transaction-owned, not prior install provenance.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-update-adopts-foreign-local",
"label": "Markerless local update candidate",
"notes": "Explicit authorized update semantics: update intentionally replaces existing `local/`, preserves it as backup until successful promotion, and restores on failure.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-ownership-root-generation",
"label": "Path-only ownership generation candidate",
"notes": "No meaningful attacker capability gain: an actor able to replace the entire game root already controls those files, and source tests intentionally preserve path ownership across recreation of the same configured root.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-stream-install-subprocess-fanout",
"label": "StreamInstall subprocess fanout candidate",
"notes": "Merged into `resource-exhaustion.anonymous-network-pools` as the expensive bulk operation enabled by the same absent per-origin/costly-work quota.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "cand-legacy-index-unbounded-migration",
"label": "Legacy library-index migration candidate",
"notes": "Merged into `resource-exhaustion.local-library-ingestion`; same selected-filesystem byte/cardinality budget gap and remediation.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-sybil-aggregate-state",
"label": "Sybil peers can exhaust aggregate state and unbounded UI publication",
"notes": "Validated finding 1.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-anonymous-global-pool-dos",
"label": "Anonymous LAN requesters can monopolize global pools and native extractors",
"notes": "Validated finding 2.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-manifest-cache-before-admission",
"label": "Rejected bulk requests can populate the persistent manifest cache",
"notes": "Validated finding 3.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-inbound-prefix-allocation",
"label": "Control-frame prefixes can reserve about 512 MiB across concurrent decoders",
"notes": "Validated finding 4.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-elevated-mutable-game-scripts",
"label": "Mutable game scripts are launched elevated without launch-time trust binding",
"notes": "Validated finding 5.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-cross-author-event-collision",
"label": "Cross-author event-ID collisions can suppress Call-to-Play entries",
"notes": "Validated finding 6.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-unauthenticated-hint-proxy",
"label": "Unauthenticated hints can make the victim pull arbitrary known peers",
"notes": "Validated finding 7.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-mdns-discovery-monopoly",
"label": "Forged mDNS candidates can monopolize discovery slots",
"notes": "Validated finding 8.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-local-library-budget",
"label": "Selected game directories can trigger unbounded monitoring and migration work",
"notes": "Validated finding 9.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-justfile-shell-interpolation",
"label": "Catalog/build recipe arguments are interpolated as shell code",
"notes": "Validated finding 10.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-package-root-link-preflight",
"label": "Catalog preflight can read outside the package root through links and Windows races",
"notes": "Validated finding 11.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-ordinary-install-uncatalogued-eti",
"label": "Ordinary install extracts uncatalogued root archives without output verification",
"notes": "Validated finding 12.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-discovery-prefix-allocation",
"label": "Discovery prefix allocation",
"notes": "Merged into the reportable length-prefix finding: same locked decoder, aggregate-memory failure, and remediation; the discovery path is preserved as an affected entry point.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-app-command-acl",
"label": "Application command ACL",
"notes": "Not separately reportable: no source-backed attacker-controlled script execution exists in either fixed local log window; React text rendering and fixed URLs are counterevidence. Retained as least-privilege hardening.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-main-window-plugin-authority",
"label": "Main-window plugin authority",
"notes": "Not separately reportable: it requires a compromised main renderer, for which the application intentionally exposes a broad native command surface; no current injection/navigation route establishes that prerequisite.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-sybil-peer-author-slots",
"label": "Sybil peer/author slots",
"notes": "Merged into the reportable aggregate Sybil-state finding: same first-come identity admission, retained-state budget, unbounded full-view publication, and remediation.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-cli-unbounded-jsonl",
"label": "Unbounded peer CLI input",
"notes": "Rejected as self-only developer-harness behavior: the local stdin controller already owns the harness and can terminate or block it; no lower-privilege or remote boundary is crossed.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-windows-package-toctou",
"label": "Windows publisher TOCTOU",
"notes": "Merged into the publisher link/TOCTOU finding because both arise from path-based reads without rooted no-follow identity and share the same remediation.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-uninstall-adopts-foreign-local",
"label": "Uninstall markerless local",
"notes": "Rejected as explicit authorized uninstall semantics. `local/` defines installed state and the user-invoked uninstall intentionally removes it; `.lanspread_owned` is added so the renamed backup is transaction-owned, not as prior install provenance.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-update-adopts-foreign-local",
"label": "Update markerless local",
"notes": "Rejected as explicit authorized update semantics. A user-invoked update intentionally replaces an existing `local/` tree while preserving it as backup until promotion succeeds.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-ownership-root-generation",
"label": "Path-only root generation ownership",
"notes": "Rejected for lack of meaningful attacker capability gain: a same-authority actor able to replace the whole game root already controls those files, and tests/documentation intentionally preserve path ownership across recreation of the same configured root.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-stream-install-subprocess-fanout",
"label": "StreamInstall subprocess fanout",
"notes": "Merged into the anonymous global-pools finding as the expensive bulk operation enabled by the same missing per-origin/global costly-work quota.",
"receiptRefs": []
},
{
"disposition": "rejected",
"id": "validation-cand-legacy-index-unbounded-migration",
"label": "Legacy index migration",
"notes": "Merged into the local-library ingestion finding because it is another whole-file/cardinality budget gap on the same selected-filesystem boundary.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "baseline-general-audit",
"label": "Independent baseline audit",
"notes": "Two candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "network-tls-protocol",
"label": "Network, TLS, protocol, and transfer admission",
"notes": "Three candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "tauri-frontend-native",
"label": "Tauri commands, frontend, windows, and process launch",
"notes": "Three candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "peer-state-business-logic",
"label": "Discovery, liveness, peer state, and Call-to-Play",
"notes": "Four candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "cli-local-runtime",
"label": "Peer CLI, local library monitor, and runtime glue",
"notes": "Two candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "catalog-build-publication",
"label": "Catalog publisher, build gates, and package traversal",
"notes": "Three candidates.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "filesystem-install-recovery",
"label": "Download confinement, install/update/uninstall, streamed install, and recovery",
"notes": "Seven candidates.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-ctp-active-call-rendering",
"label": "One peer can force continuous rendering of thousands of active calls",
"notes": "Validated residual frontend finding.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-sybil-download-retry-budget",
"label": "Sybil sources can multiply one chunk deadline into a multi-hour retry loop",
"notes": "Validated residual download finding.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "residual-download-coverage",
"label": "Residual download planning, retry, progress, and drain modules",
"notes": "Retry-budget candidate remains pending.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "residual-frontend-coverage",
"label": "Residual production frontend components and reducers",
"notes": "One semantic rendering-budget candidate checkpointed before validation.",
"receiptRefs": []
},
{
"disposition": "reported",
"id": "reported-cand-public-state-path-traversal",
"label": "Public state helpers permit marker writes outside the state directory",
"notes": "Validated public API path-traversal finding.",
"receiptRefs": []
},
{
"disposition": "needs_follow_up",
"id": "residual-peer-core-coverage",
"label": "Residual peer-core lifecycle, state paths, quarantine, startup, and fa\u00e7ades",
"notes": "One public state-path candidate checkpointed before validation.",
"receiptRefs": []
}
]
}