152 lines
14 KiB
JSON
152 lines
14 KiB
JSON
{
|
|
"documentType": "codex-security.scan-manifest",
|
|
"scan": {
|
|
"artifacts": [
|
|
{
|
|
"mediaType": "application/json",
|
|
"path": "findings.json",
|
|
"sha256": "9bd9fa7e2fa8071bfe484e1a8da7fb0e328e1f7943aec9dfd43001d5ca8fc8c9"
|
|
},
|
|
{
|
|
"mediaType": "application/json",
|
|
"path": "coverage.json",
|
|
"sha256": "4bb4b678a4815bad530e56b6779babc7ed0ced0d303018d3a2bbb0f3907487c4"
|
|
}
|
|
],
|
|
"completedAt": "2026-08-28T12:39:47.040071Z",
|
|
"coverageRef": "coverage.json",
|
|
"findingsRef": "findings.json",
|
|
"id": "916f0812-d79c-465f-a422-81d75a258f76",
|
|
"preservedSources": {
|
|
"checkpoints/0960fa25031467cecbd5ba68970b4edb554771ef51a4cef8c7bd71926e23cb63.json": "b8841d94b92fd266352fe18e6f3958bf80263d1abedc4c5daba9a1d1aac8a451",
|
|
"checkpoints/0fbb155ed511da4a98dccdd17371789e2c34b1b1f82fe497016d6867be2577b4.json": "6249b8ae681b4c5eb2ede49879953cba91e98acdea32049461ba18d75dc0d6fe",
|
|
"checkpoints/0fd709dc3807bddae018201f02af7c9b34ed4a7ff76cb7e90368f859f700256d.json": "daacaac200a4e98c864f02faa3987a2b685d5010fa4ea5df48fa6ef2fbabe765",
|
|
"checkpoints/1198ded03a33af08cf5cb3a997280d52de9a9a91b1d50f4fe657a9ea8fe82025.json": "0811fd21b0ff29b67cac9a8ceb1b9d42d7d612eb5a4335b3c9b6790829a1dfdb",
|
|
"checkpoints/19527da2ce2f311bd9db83f5a200b5841b098ac4fba79c97e8bff6b75d3049a1.json": "1d192f3008c228122af449281f2c2df81085ab5854cbf7aff24be19022a93953",
|
|
"checkpoints/1ad656ee1361c869589d82279e7b2a3161dbd5f0202ccb5b515d956e6660be03.json": "279362fd0a086d267719a6a789734d1d44d2358db181a1557bb436362b9ec272",
|
|
"checkpoints/1f5c1ac3f9fec04c8b9eb3d0a0f5daeddfe0b50e1b592eeaf5a13ec732b3f88f.json": "c2dd7100b75dbe4324701f57ff4874d5811add0e260c8cfdcf543548899fe126",
|
|
"checkpoints/2c06d77bfab6ef8166c300b7848deb9e532909343947d75e59cac3f06c0b59b3.json": "24caa5ca0889f160fbe62e4a3e2a8d66bd43e71b619da8ab8bb58f2ac0a8a217",
|
|
"checkpoints/2d398ac02228e1f75e8858750413ea1e2e0a94035151821aaee714d32c5cd813.json": "7aedb83e3725da99a3602ad97909e3e3733667c0192961f69206e8e28dab5a2c",
|
|
"checkpoints/31c4c30c171100235e15ae747e02364e7765505eb6e15f3da1fc6b571f668898.json": "c9f69d794b03c24cf184cbdb18ccfd3c9fc05b6869a7549d69100c678c1671b5",
|
|
"checkpoints/32ad00e27602adbbf7e07a2dbbefbf3ec619168d9993605cc22613c631b70ed6.json": "0243234f06f00bb7424ca3815cb6f2c695a0ed1cf7d521c47b06cbcc301c4416",
|
|
"checkpoints/3772cfe891f312df9f5c893d15ded40b802e96256be44764bd1c58390e6a49a7.json": "2b7522696fd05018bd0890a13af90fd40b2287992c5ff10bcddbe8ef1d4b1edf",
|
|
"checkpoints/3b141e38b5d51b92b653eb9855de8f410263a2cb26c27c737ec315a3b2d7d2bc.json": "e6a8334569f1a4e20d9fab3b41c711e81d1f326bb270d8667bc4e3da5079fc7c",
|
|
"checkpoints/4c82e4452b38d0beda4ac3032794efc00f080112d2cc56cbe0a121b943b33592.json": "98354fd6ddfec954fb4031654b923b4fb8806efee9695d8e1a1027f72b67e263",
|
|
"checkpoints/530fe41e4de609c4873bbc6e932d9d20e149fa46df831c47c5d79d1b77c1f60c.json": "62d9a7922393969c529d22bf8681503bcd54b5600a11fd0a38e7e933683981f5",
|
|
"checkpoints/5a025ca99ea1abb4f07d52b96832c9dcec2582a0f682c8f3a3e65d3c0defd764.json": "075f0a6620082e397d1ae5dc2ee2dfcaf5e77dee38ae8bd2b04ad6bc72ae8d4b",
|
|
"checkpoints/6579dbda136279e85da256440c399d074b88dc1228957c4d67c17971539dbcf5.json": "96871be42491f1d51b5b5149285b2266cee7e5698e6197aa00c3531d210c168e",
|
|
"checkpoints/66245413c3942c393b867f97f55b1a6e3564cf89828ee66946280f692f3dd52e.json": "a98b57bdb4953f0427e26e74842361f7ee64a7e21317b15e32e92a58428e386d",
|
|
"checkpoints/781fcc6261b915ed6e8e614ccc66b97c364dc353da8476f19f257b55105293ec.json": "952273dab36240e477c880108c031bc7780d00b2bd931dd856c63495aa49f2b4",
|
|
"checkpoints/8136e92497c107bff2f0feaed190151f9debb63448c55cd1fb34e43d471210be.json": "bbb5a1028a7931c38a8532af9988b833b4dcd5a9b20c21014d767ff263492d34",
|
|
"checkpoints/84393bfd53f6dcdb72a526775ea703f507418e7f3f418744a0b6cc2f26cba228.json": "9db4e5de939efd67d177b40008a892de9e577e342d3d266c24fcce8fde7c9d68",
|
|
"checkpoints/84c03716e3dfb359f3c9c76d151612d1e76bf4b71e8c0c65b7abd5b170ba3220.json": "84c03716e3dfb359f3c9c76d151612d1e76bf4b71e8c0c65b7abd5b170ba3220",
|
|
"checkpoints/a9960a026fb7b1bd6575901ca2d6398e6cbd82bdd6f7baf9fd14e7aac1c65666.json": "61035ad19aecef054db4ed2ca0bbe172b033a7ca596ec665f475d67dee7c4a67",
|
|
"checkpoints/a9eba02bc2d2460f1332903837fb063bd4801da2483d1563afe2ea5cf75b72f9.json": "a6b297b43f4fff177d9781151d98e7f059b5f191845be41b8099d7eacd492301",
|
|
"checkpoints/ba1907e02f4dba118a86a4c91d9884ea8d4aab47d4fcfb0b7b12dd7653ba2300.json": "5f5d39ee99fb027788eecf8773c9a21ec94179ff41716b14df90a5c21f5eb2ed",
|
|
"checkpoints/bf301f5b9462daf8075b3f815bf1ccde672ceab2388d6091aac8a332d7334fca.json": "b4555c42ea3ee40406a947f552c728a5269a6c2045369d0760e9da163a94aa75",
|
|
"checkpoints/c1592ebeace399879bfb08480309c322aa16fb8df984658777300b63b0e6518d.json": "938bfeaf26254f6c236d9a257c144d3b56c64585e544d217cea241bf976dedaa",
|
|
"checkpoints/c7f9309df25d5245680b4c10638b63463205a3f557343e33fc8a0234d355d046.json": "ec86a7587b861839de3bbf58f5c2dae05068c464d1858aedceb98095bd1cf3d6",
|
|
"checkpoints/d7abddf776f4cd66dfbd492df542bdbc340e4fad2e5cc00cd3f6fd602ba484a2.json": "8c49c9dc1a8cbf0de524fe4579afcda77b79bb3565daad8f367b58b9667fae20",
|
|
"checkpoints/dfe517b4bc35705d482d9163e6e8d6455afa8c6fc58332eea24e4502d24ea0bc.json": "d8956db684115d911ca5ebde1f733f0589b5f539729461a76a1788592f7aeefc",
|
|
"checkpoints/e8b9b3d8abf8a4240962554eef159c0a1c3882e7ad46be66fddc4be2b4be70c2.json": "331da61831d3191b1c444dfe8e3c8b0b6e5ef91cbdcfaca8bc9f4d8171fab9da",
|
|
"checkpoints/e98db1859f34fab50026fb15a7593a156c6e16ad98eb6e17cb548f85cc191161.json": "c4f470db8d00ea8c101cc3a175a536986e2bbace12720624932db37b4b7af0b0",
|
|
"checkpoints/ec4ccca6f071f5412a781a942d0ae7eba64e802c08c04d4e4f518124c7578e00.json": "1a4a18bd9e0a8e8c34c5f1e052cd3bfae6db57044f625c3069d50feb6fb5b1de",
|
|
"checkpoints/f14d288a32a8ab57ed93e6f9d2bdddd4c06c91e7aba449692672ad74b5d6e071.json": "7680e3d349bb60556eaea71ff3be83e5940bcb7627c1e7c6b8be7131008ea55b",
|
|
"checkpoints/f92bad62b95cfd47ccebfe290c2dc40530fbf200c7e90d18ac7e304444268fbf.json": "70ee6a976c59f29ae26046fafadc8017afc2d58152dd09a5a57e38465f3a30b8",
|
|
"checkpoints/fbdab722d42f63041c76e0e5f10c2a6bf749e1407e27dcf8b8c626b68a5b2d70.json": "bdb59f1b228daf7d86a8cf5355616b42d20240241e7dcfb76fff883a06471928"
|
|
},
|
|
"producer": {
|
|
"name": "codex-security-plugin",
|
|
"version": "0.1.22"
|
|
},
|
|
"scope": {
|
|
"artifactsReviewed": [
|
|
"94 Rust source files",
|
|
"production TypeScript/TSX/CSS/HTML frontend",
|
|
"Cargo/deno manifests and locks",
|
|
"Tauri capabilities/config/build gate",
|
|
"just/Python/Docker publisher and peer-CLI workflows",
|
|
"tests exposing product contracts",
|
|
"opaque unrar sidecar metadata/digests"
|
|
],
|
|
"context": "Standard single-pass read-only security audit with no additional user focus.",
|
|
"excludePaths": [],
|
|
"includePaths": [
|
|
"."
|
|
],
|
|
"limitations": [
|
|
"Offline static review only; no application or third-party binary execution.",
|
|
"No online dependency advisory lookup.",
|
|
"External production package corpus and generated production manifests absent.",
|
|
"No physical-LAN, Windows UAC, or live resource-exhaustion reproduction."
|
|
],
|
|
"runtimeStatus": "Source review, validation, attack paths, and coverage reconciliation complete.",
|
|
"summary": "Whole Git-backed Lanspread repository at revision 15faecbf89735f277f208c84895464a5190b9236, including Rust workspace crates, Tauri frontend/shell, catalog/build tooling, peer CLI, tests, configs, generated permission manifests, and opaque sidecars as data.",
|
|
"validationMode": "Every worker candidate checkpointed before one parent source validation; duplicates merged only when root cause and remediation matched."
|
|
},
|
|
"sealedAt": "2026-08-28T12:39:47.040071Z",
|
|
"startedAt": "2026-08-28T11:50:39.443096Z",
|
|
"status": "completed",
|
|
"target": {
|
|
"displayName": "lanspread",
|
|
"kind": "git_revision",
|
|
"revision": "15faecbf89735f277f208c84895464a5190b9236",
|
|
"targetId": "target_sha256_b3f00671b54800aee0df5478bf1bd03061b69b79eb9beece1ed34dc8c8bbc8a6"
|
|
},
|
|
"threatModel": {
|
|
"assets": [
|
|
"Installation Ed25519 private key and stable PeerId in Tauri AppData or CLI state-dir. Sources: crates/lanspread-peer/src/state_paths.rs:18-36; identity.rs:61-165,223-291.",
|
|
"Catalog authority: game.db, compact content index, canonical manifest paths/sizes/BLAKE3 and Stream Install outputs. Sources: crates/lanspread-compat/src/catalog_bundle.rs:50-82,169-233; crates/lanspread-db/src/content_manifest/bundle.rs:20-124.",
|
|
"Configured game storage, user-owned local installs, version sentinel, staging/backup, install intent, and download ownership journals. Sources: crates/lanspread-peer/ARCHITECTURE.md:202-260.",
|
|
"Authenticated endpoint generations, runtime sessions, library/Call-to-Play projections, and application availability.",
|
|
"Tauri native command/plugin authority and Windows administrator process boundary.",
|
|
"Catalog package/build provenance and checked-in opaque unrar sidecars."
|
|
],
|
|
"assumptions": [
|
|
"Requester anonymity while Local network sharing is enabled is intentional product behavior; responder identity, not membership, is authenticated.",
|
|
"Missing sharing policy defaults to enabled, while malformed/unreadable policy fails disabled and no game directory prevents peer startup.",
|
|
"The current production game.db has 186 rows but the production manifests and external package corpus are absent, so their aggregate size/provenance cannot be verified.",
|
|
"Tauri AppData/Resource absolute paths are platform-owned; logical child paths are source-backed.",
|
|
"Windows UAC policy, firewall/LAN segmentation, physical-LAN behavior and cross-user directory ACLs are deployment prerequisites.",
|
|
"Checked-in unrar binaries were inspected as opaque binary data and hashed, but source-to-binary/upstream provenance is unresolved.",
|
|
"Docker peer CLI and Python scenario tools are developer/test surfaces, not production requester APIs.",
|
|
"No source-backed frontend script injection, raw HTML, eval, or remote navigation path was found.",
|
|
"Windows game/server scripts are elevated by source but this privilege transition is not documented in README/ARCHITECTURE."
|
|
],
|
|
"attackerCapabilities": [
|
|
"Same-LAN host may advertise arbitrary identities/endpoints, operate valid self-issued identities, send anonymous requests/hints, and control its own snapshots/transfer bytes, but not forge another PeerId or local catalog hashes.",
|
|
"Local/shared-filesystem actor may populate a user-selected games/package directory but does not initially control AppData, build operator credentials, or victim UAC decision.",
|
|
"Local CLI stdin controller is operator authority and is not modeled as a remote attacker.",
|
|
"Compromised renderer is conditional; no current hostile-peer XSS or remote-navigation route was established.",
|
|
"Package/CI input supplier may influence documented recipe arguments where an operator passes them through."
|
|
],
|
|
"securityObjectives": [
|
|
"Pin every outbound responder to the expected Ed25519 SPKI-derived PeerId and TLS 1.3 proof.",
|
|
"When sharing is disabled, close admission, drain network generations, and clear remote projections.",
|
|
"Treat mDNS, hints and payload claims as non-authoritative until a pinned pull and current generation/session commit.",
|
|
"Accept only protocol 8 with strict bounded decoding and no compatibility fallback.",
|
|
"Keep remote bytes subordinate to local catalog ContentId/path/size/BLAKE3 authority.",
|
|
"Confine file reads/writes/deletes to canonical game roots and preserve unknown/user-owned content outside explicit operations.",
|
|
"Bound public work before allocation and apply fair quotas to attacker-multipliable identities/origins.",
|
|
"Keep fixture authority out of production builds and make catalog publication fail closed.",
|
|
"Bind elevated process launch to verified immutable content.",
|
|
"Keep process/task shutdown structured and joined."
|
|
],
|
|
"summary": "Lanspread is a single-user LAN-party game-sharing desktop app plus a developer JSONL CLI and catalog publication tools. A sharing-enabled peer binds ephemeral IPv4 QUIC on all interfaces, advertises/discovers via mDNS, authenticates only the responder with SPKI-derived PeerId pinning, and serves requester-anonymous current-protocol operations. Remote availability and bytes remain subordinate to the bundled catalog. Sources: README.md:3-17; crates/lanspread-peer/src/tls.rs:51-143; crates/lanspread-peer/src/services/server.rs:74-177; crates/lanspread-peer/src/download/manifest.rs:129-185.",
|
|
"trustBoundaries": [
|
|
"Anonymous LAN requester -> QUIC server: TLS authenticates the responder only; global frame/task/transfer controls and sharing state govern admission. Sources: tls.rs:126-143; services/server.rs:31-365; services/stream.rs:34-303.",
|
|
"mDNS hint -> pinned endpoint: claimed PeerId/address occupies bounded candidate work; only a pinned full pull commits state. Sources: services/discovery.rs:30-61,233-259; services/remote_state.rs:147-275.",
|
|
"Pinned snapshot -> peer database and Call-to-Play: endpoint generation, runtime session, revision and independent domain validation gate commit.",
|
|
"Remote availability/bytes -> local catalog -> confined filesystem: peers never choose expected paths/hashes; complete catalog manifests and no-follow capabilities gate reads/writes.",
|
|
"Stream Install frames -> verified staging: catalog archive/output shape, size and digest must match before promotion; ordinary install is a materially different path.",
|
|
"Main/auxiliary Tauri webviews -> registered native commands/plugins; bundled content and localhost development content both have CSP null.",
|
|
"User-selected game directory -> backend canonical acknowledgement -> scanner/downloader/installer/Windows launcher.",
|
|
"Catalog/package operator -> publisher shell recipes -> Rust publisher/unrar -> production manifest/bundle authority.",
|
|
"Catalog or mutable game scripts -> Windows cmd.exe runas after local action/UAC.",
|
|
"AppData/state-dir -> identity, policy, logs, migration and recovery consumers."
|
|
]
|
|
}
|
|
},
|
|
"schemaVersion": "1.0"
|
|
}
|