1615 lines
68 KiB
JSON
1615 lines
68 KiB
JSON
{
|
|
"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/schemas/sarif-schema-2.1.0.json",
|
|
"runs": [
|
|
{
|
|
"automationDetails": {
|
|
"id": "916f0812-d79c-465f-a422-81d75a258f76"
|
|
},
|
|
"invocations": [
|
|
{
|
|
"executionSuccessful": true,
|
|
"toolExecutionNotifications": [
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"message": {
|
|
"text": "Pending parent validation."
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"codexSecurityCoverageCompleteness": "partial",
|
|
"codexSecuritySchemaVersion": "1.0",
|
|
"codexSecurityTargetKind": "git_revision"
|
|
},
|
|
"results": [
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/local_monitor.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 235,
|
|
"startLine": 200
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/local_monitor.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 376,
|
|
"startLine": 329
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/local_games.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 294,
|
|
"startLine": 268
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/migration.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 297,
|
|
"startLine": 284
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:local-index-whole-read"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/local_games.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 284,
|
|
"startLine": 268
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Selected game directories can trigger unbounded monitoring and migration work\n\nThe continuously monitored game root retains every top-level name, spawns one task per changed ID, recursively walks trees, and reads current/legacy state files without byte budgets.\n\nSeverity: low\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nIntersect names with the catalog before retention/task admission; add root/per-game/depth/metadata budgets and a bounded rescan pool; bounded-read current and legacy indexes/version.ini and avoid raw invalid-content logging."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:57f045ce125ace9a603ada98f96c92eb5c248a29cbe75d763ea9ee8beaccc919"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_b4156302e37bcb0e5a87f4af",
|
|
"occurrenceId": "occ_396ac8c331a26fedd06ad199",
|
|
"severity": "low"
|
|
},
|
|
"ruleId": "resource-exhaustion.local-library-ingestion",
|
|
"ruleIndex": 9
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/tls.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 133,
|
|
"startLine": 126
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/server.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 44,
|
|
"startLine": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/stream.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 89,
|
|
"startLine": 70
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/stream_install.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 414,
|
|
"startLine": 387
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Anonymous LAN requesters can monopolize global pools and native extractors\n\nThe responder authenticates no client and applies only global connection, control, and bulk limits, so one origin can occupy every admission slot and drive up to 48 concurrent StreamInstall operations with native unrar work.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nAdd per-source connection/stream/rate quotas, close origins after repeated timeouts, reserve capacity across origins, place unrar behind a small global and per-origin semaphore, and enforce absolute transfer deadlines."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:1d70a00f495ad3463b91c2fcf08d4d7fcd7d3ff00cf1fc63b4a96b46ba0008b7"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_984da905a9b4074194d1814b",
|
|
"occurrenceId": "occ_4b80e3b7dfe1e6768d05ba94",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.anonymous-network-pools",
|
|
"ruleIndex": 5
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/transfer.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 321,
|
|
"startLine": 258
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-db/src/content_manifest/store.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 186,
|
|
"startLine": 162
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:cache-load-before-check"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/transfer.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 284,
|
|
"startLine": 270
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:cache-stream-before-check"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/transfer.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 319,
|
|
"startLine": 308
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Rejected bulk requests can populate the persistent manifest cache\n\nBoth bulk request variants load and retain a full catalog manifest before checking compact ContentId equality or whether the game is locally serveable.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nCheck `content_identity` and local readiness first, then require `cached_manifest`; add tests proving rejected requests perform no load, plus an aggregate cache budget."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:c71b31921c2ee1ae38de77962c2bfd27469df63611c19a80e083c349ee24daca"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_28dcda78d4a8e1d179a20e6f",
|
|
"occurrenceId": "occ_4c4e343d108a709a37ed2015",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.manifest-cache-admission-order",
|
|
"ruleIndex": 10
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/install/transaction.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 562,
|
|
"startLine": 449
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 3206,
|
|
"startLine": 3195
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/handlers.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 1488,
|
|
"startLine": 1443
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:eti-all-root-files"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/install/transaction.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 562,
|
|
"startLine": 514
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:eti-promote-unverified"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/install/transaction.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 468,
|
|
"startLine": 449
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Ordinary install extracts uncatalogued root archives without output verification\n\nInstall/update enumerates every root regular `.eti` file\u2014including unknown files deliberately preserved beside downloads\u2014runs native extraction for each, and promotes the staging tree without comparing the archive set or extracted output to the local catalog.\n\nSeverity: medium\n\nCategory: Content integrity\n\nWeaknesses: CWE-494, CWE-400\n\nRemediation:\nPass the exact catalog manifest into install/update; require the exact root archive set and verify each archive size/BLAKE3 through no-follow handles; verify every extracted path/kind/size/digest before promotion; enforce entry/decompressed-byte/total deadlines."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:effedb3e055f82da4175c26119809a0af75499bf7de3c2418c62b0b4ef3e0777"
|
|
},
|
|
"properties": {
|
|
"category": "content-integrity",
|
|
"confidence": "high",
|
|
"findingId": "csf_2e096654b094e0fac1b124cd",
|
|
"occurrenceId": "occ_4db1454c427333bbd2c39100",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "integrity.ordinary-install-uncatalogued-archive",
|
|
"ruleIndex": 1
|
|
},
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/state_paths.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 59,
|
|
"startLine": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/launch_settings.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 175,
|
|
"startLine": 168
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/launch_settings.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 389,
|
|
"startLine": 383
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Public state helpers permit marker writes outside the state directory\n\nPublic per-game path and marker APIs join an unvalidated game ID; absolute or parent-containing IDs escape `state_dir/games`, after which the marker writer creates parents and overwrites a fixed file.\n\nSeverity: low\n\nCategory: Path traversal\n\nWeaknesses: CWE-22\n\nRemediation:\nRequire a validated single-component GameId newtype or make helpers fallible and reject absolute/prefix/dot/parent/separator/reserved forms; write relative to a retained no-follow state-directory handle."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:0a3fdc1b7078165af877d4c58e0c2168c9f3911c3ae9a5086ef452dda147be52"
|
|
},
|
|
"properties": {
|
|
"category": "path-traversal",
|
|
"confidence": "high",
|
|
"findingId": "csf_8fefa5cb607eaa71c76a60ae",
|
|
"occurrenceId": "occ_7a4292dcad47ad7e3e8412ef",
|
|
"severity": "low"
|
|
},
|
|
"ruleId": "path-traversal.public-state-path-helper",
|
|
"ruleIndex": 3
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/download/retry.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 327,
|
|
"startLine": 294
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/download/transport.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 34,
|
|
"startLine": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "source"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/peer_db.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 667,
|
|
"startLine": 654
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:retry-transport-requeues"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/download/retry.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 219,
|
|
"startLine": 192
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Sybil sources can multiply one chunk deadline into a multi-hour retry loop\n\nA download retries every distinct peer identity with no numeric or total deadline; transport stalls remain retryable and each of up to 64 Sybil sources receives a fresh ten-minute chunk deadline.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nAdd total per-chunk/download wall-clock and attempt budgets independent of source count, cap automatically tried identities, add per-origin identity quotas, and require explicit user retry after budget exhaustion."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:73147d89e16ed49c48a790b8e6bb11fd0b5d7733f568fca8b60abb87a597f57a"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_1c204082cf65f3b51769f582",
|
|
"occurrenceId": "occ_80bdddc3df1afd907ea7579a",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.download-retry-total-budget",
|
|
"ruleIndex": 7
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-proto/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 20,
|
|
"startLine": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src/hooks/useCallToPlay.ts"
|
|
},
|
|
"region": {
|
|
"endLine": 72,
|
|
"startLine": 68
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src/components/calltoplay/CallToPlayTicker.tsx"
|
|
},
|
|
"region": {
|
|
"endLine": 154,
|
|
"startLine": 80
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:ctp-render-all-rows"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src/components/calltoplay/CallToPlayTicker.tsx"
|
|
},
|
|
"region": {
|
|
"endLine": 94,
|
|
"startLine": 80
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "One peer can force continuous rendering of thousands of active calls\n\nA valid 4,096-event author slice can contain thousands of simultaneous Create roots; the frontend reduces and sorts the full set every second and renders every nomination in the always-mounted ticker.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nEnforce small per-author/global active-call caps before publication, render only a ranked ticker subset, virtualize/paginate the overlay, and avoid recomputing unchanged projections on every clock tick."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:0720a2a98628af9fcddc5bcbaffb29db6a8dbaef7bf4b32bdd6eb76635d7ced9"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_a094c3abe43e8a361f0e7f84",
|
|
"occurrenceId": "occ_83d9017253563f8852490859",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.call-to-play-rendering",
|
|
"ruleIndex": 6
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-proto/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 20,
|
|
"startLine": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/server.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 41,
|
|
"startLine": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/stream.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 67,
|
|
"startLine": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/discovery.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 32,
|
|
"startLine": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "Cargo.lock"
|
|
},
|
|
"region": {
|
|
"endLine": 4659,
|
|
"startLine": 4655
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:prefix-frame-max"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-proto/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 14,
|
|
"startLine": 13
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Control-frame prefixes can reserve about 512 MiB across concurrent decoders\n\nThe same 8 MiB control-frame allowance is multiplied across 64 concurrent inbound request decoders and 64 discovery Hello decoders; locked tokio-util eagerly reserves the declared body after only the length prefix.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nUse a much smaller inbound Request-frame maximum; gate declared response bytes through a global memory semaphore or incremental buffering; reduce discovery fan-out as defense in depth."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:fffdefc91a869c1291f679a54297d18c889dc2e049b391e4534d0a53e61769cf"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_d40a863e76a3bf4cb0bd412a",
|
|
"occurrenceId": "occ_86bfac07819428f756982d0e",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.length-prefix-eager-reserve",
|
|
"ruleIndex": 8
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "justfile"
|
|
},
|
|
"region": {
|
|
"endLine": 49,
|
|
"startLine": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "justfile"
|
|
},
|
|
"region": {
|
|
"endLine": 118,
|
|
"startLine": 105
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "justfile"
|
|
},
|
|
"region": {
|
|
"endLine": 170,
|
|
"startLine": 140
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:just-raw-games-dir"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "justfile"
|
|
},
|
|
"region": {
|
|
"endLine": 31,
|
|
"startLine": 22
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Catalog/build recipe arguments are interpolated as shell code\n\nDocumented just recipes embed path, selector, output, and environment-derived values directly into shell source; command substitution and quote-breaking run before Rust/Python argv parsing.\n\nSeverity: medium\n\nCategory: Command injection\n\nWeaknesses: CWE-78\n\nRemediation:\nPass data through environment/argv to non-shell helpers or apply just's correct shell-quoting facility to every argument and environment-derived value; test `$()`, quotes, whitespace, leading dashes, and newlines."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:612aaf874e672716f24d57db2b8b5793bf29242580683c9009791017da66b81c"
|
|
},
|
|
"properties": {
|
|
"category": "command-injection",
|
|
"confidence": "high",
|
|
"findingId": "csf_52309c6d49d62ae81258872c",
|
|
"occurrenceId": "occ_9293ad354e62522b50537a56",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "command-injection.justfile-interpolation",
|
|
"ruleIndex": 0
|
|
},
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-compat/src/catalog_publisher/mod.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 130,
|
|
"startLine": 120
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-compat/src/catalog_publisher/package.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 137,
|
|
"startLine": 125
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-compat/src/catalog_publisher/package.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 425,
|
|
"startLine": 403
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Catalog preflight can read outside the package root through links and Windows races\n\nVersion preflight joins `package_root/version.ini` before validating the game root, and Windows disables file-identity comparison, allowing ancestor-link traversal or a raced reparse target to be read and echoed.\n\nSeverity: low\n\nCategory: Path traversal\n\nWeaknesses: CWE-59, CWE-367\n\nRemediation:\nOpen the packages/game roots through retained no-follow handles and open `version.ini` relative to them; implement Windows file-ID/reparse-safe identity checks; never print raw untrusted version contents."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:a4df8ff5972c151be57355357b646ab9cd4276992c8021cc8257d35d60a9f80a"
|
|
},
|
|
"properties": {
|
|
"category": "path-traversal",
|
|
"confidence": "high",
|
|
"findingId": "csf_5079213437e3f254ae70f2ca",
|
|
"occurrenceId": "occ_97c865ee39aa6ae912efe24f",
|
|
"severity": "low"
|
|
},
|
|
"ruleId": "path-traversal.catalog-preflight-links",
|
|
"ruleIndex": 2
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/call_to_play.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 565,
|
|
"startLine": 555
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/events.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 25,
|
|
"startLine": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/peer_db.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 360,
|
|
"startLine": 356
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "source"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-proto/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 20,
|
|
"startLine": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:sybil-full-projection"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/call_to_play.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 855,
|
|
"startLine": 835
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Sybil peers can exhaust aggregate state and unbounded UI publication\n\nOne LAN host can generate enough valid peer identities to fill peer/author slots, retain hundreds of MiB of bounded-per-author state, and repeatedly enqueue cloned full views without an aggregate byte budget.\n\nSeverity: medium\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nEnforce aggregate byte/event budgets across remote peers, coalesce complete UI state through bounded latest-value channels, avoid full cloning per commit, and add fair/per-origin admission for identities."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:98060f19cf12dd314a2039a9dc1eb93158ac43200f525155125360ac5f7b7a9c"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_7f1f254725189aac18ef1e44",
|
|
"occurrenceId": "occ_b1ba111f96d0b687d00e5778",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.sybil-aggregate-state",
|
|
"ruleIndex": 12
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/state_sync.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 388,
|
|
"startLine": 351
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/stream.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 271,
|
|
"startLine": 265
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/remote_state.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 159,
|
|
"startLine": 147
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Unauthenticated hints can make the victim pull arbitrary known peers\n\nAnonymous inbound connections may name any known PeerId in a change hint; a forged session/revision mismatch schedules a full pinned Hello pull to that unrelated peer.\n\nSeverity: medium\n\nCategory: Confused deputy\n\nWeaknesses: CWE-441\n\nRemediation:\nIf requester authentication remains absent, drop remote change hints and rely on pinned liveness reconciliation. Otherwise bind the hint to an authenticated client PeerId and remove the payload identity."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:c463c38e3d5499ce06d5279a12064947fd41f36deea0e7c6514b71d8077724a2"
|
|
},
|
|
"properties": {
|
|
"category": "confused-deputy",
|
|
"confidence": "high",
|
|
"findingId": "csf_f3f28e25fca367bd97e7cdac",
|
|
"occurrenceId": "occ_dc1e0812adfa054e42cddf8e",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "resource-exhaustion.unauthenticated-state-hint-proxy",
|
|
"ruleIndex": 13
|
|
},
|
|
{
|
|
"level": "warning",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 1582,
|
|
"startLine": 1554
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 1958,
|
|
"startLine": 1866
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 2064,
|
|
"startLine": 2007
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:runas-game-path"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 1951,
|
|
"startLine": 1891
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:runas-server-path"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 2057,
|
|
"startLine": 2026
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:runas-verb"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src-tauri/src/lib.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 1577,
|
|
"startLine": 1563
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Mutable game scripts are launched elevated without launch-time trust binding\n\nWindows play/server commands follow mutable paths under any selected game root and pass setup/start scripts to `cmd.exe` with `runas` without rechecking catalog membership, digest, installed ownership, or reparse-free containment.\n\nSeverity: medium\n\nCategory: Privilege escalation\n\nWeaknesses: CWE-250, CWE-73\n\nRemediation:\nRun ordinary game/server scripts as the current user. For setup requiring elevation, require a catalog game and authoritative installed state, verify the exact script digest immediately before launch through no-follow handles, reject reparse points, and preserve the verified object identity into process creation."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:2d051e05bbf21a3a948ad8f9028519a29bd04980ea7c981575c9c956de7a0e20"
|
|
},
|
|
"properties": {
|
|
"category": "privilege-escalation",
|
|
"confidence": "high",
|
|
"findingId": "csf_440f1250535a69bcbbeb8d14",
|
|
"occurrenceId": "occ_e3fcb8021db0f8fa3a50cdad",
|
|
"severity": "medium"
|
|
},
|
|
"ruleId": "privilege-escalation.mutable-game-scripts",
|
|
"ruleIndex": 4
|
|
},
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/call_to_play.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 979,
|
|
"startLine": 961
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-tauri-deno-ts/src/lib/callToPlay.ts"
|
|
},
|
|
"region": {
|
|
"endLine": 145,
|
|
"startLine": 135
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:ctp-author-preserved"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/call_to_play.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 884,
|
|
"startLine": 877
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Cross-author event-ID collisions can suppress Call-to-Play entries\n\nRust validates EventNonce uniqueness only within each authenticated author's slice, but the frontend globally deduplicates events by nonce alone, letting a hostile author overwrite another author's event in the rendered view.\n\nSeverity: low\n\nCategory: State integrity\n\nWeaknesses: CWE-694\n\nRemediation:\nUse `(author_id, event.id)` as the key for deduplication, messages, React keys, and ordering; add cross-author collision tests including collision with a creator's Create event."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:453e4b66813024523868694a6ea51b2d7948c85ceda20110a895465e3d26f7ae"
|
|
},
|
|
"properties": {
|
|
"category": "state-integrity",
|
|
"confidence": "high",
|
|
"findingId": "csf_40c94234ad7f1c26e592c9b8",
|
|
"occurrenceId": "occ_e884be7f0807f9071e8f54ec",
|
|
"severity": "low"
|
|
},
|
|
"ruleId": "state-integrity.call-to-play-event-id-collision",
|
|
"ruleIndex": 14
|
|
},
|
|
{
|
|
"level": "note",
|
|
"locations": [
|
|
{
|
|
"message": {
|
|
"text": "root_control"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/discovery.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 50,
|
|
"startLine": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "entrypoint"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/discovery.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 259,
|
|
"startLine": 233
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "sink"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/discovery.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 309,
|
|
"startLine": 294
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"message": {
|
|
"text": "evidence:mdns-full-drop"
|
|
},
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "crates/lanspread-peer/src/services/discovery.rs"
|
|
},
|
|
"region": {
|
|
"endLine": 309,
|
|
"startLine": 300
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"message": {
|
|
"text": "Forged mDNS candidates can monopolize discovery slots\n\nSixty-four unique attacker-controlled PeerId/address hints occupy every active and recent candidate slot before TLS proof, causing legitimate new candidates to be dropped while the attacker rotates records.\n\nSeverity: low\n\nCategory: Resource exhaustion\n\nWeaknesses: CWE-400\n\nRemediation:\nAdd per-source-IP quotas, preserve capacity across origins/known peers, and use fair/randomized replacement or a cheap proof-of-key before the longer negotiation slot."
|
|
},
|
|
"partialFingerprints": {
|
|
"codexSecurity/v1": "codex-security/v1:sha256:3354152dfaef2ebe80ded38bcc4d7469856a92511d005d07d97fb1fe3046376b"
|
|
},
|
|
"properties": {
|
|
"category": "resource-exhaustion",
|
|
"confidence": "high",
|
|
"findingId": "csf_a8fd48f15b36d21c1eae743b",
|
|
"occurrenceId": "occ_f3586624a8d633db89a319d4",
|
|
"severity": "low"
|
|
},
|
|
"ruleId": "resource-exhaustion.mdns-candidate-monopoly",
|
|
"ruleIndex": 11
|
|
}
|
|
],
|
|
"tool": {
|
|
"driver": {
|
|
"name": "Codex Security",
|
|
"rules": [
|
|
{
|
|
"fullDescription": {
|
|
"text": "Command injection: Justfile interpolation. Categories: Command injection. Weaknesses: CWE-78."
|
|
},
|
|
"help": {
|
|
"markdown": "Command injection: Justfile interpolation. Categories: Command injection. Weaknesses: CWE-78.\n\n## Remediation\n\nPass data through environment/argv to non-shell helpers or apply just's correct shell-quoting facility to every argument and environment-derived value; test `$()`, quotes, whitespace, leading dashes, and newlines.",
|
|
"text": "Command injection: Justfile interpolation. Categories: Command injection. Weaknesses: CWE-78.\n\nRemediation:\n\nPass data through environment/argv to non-shell helpers or apply just's correct shell-quoting facility to every argument and environment-derived value; test `$()`, quotes, whitespace, leading dashes, and newlines."
|
|
},
|
|
"id": "command-injection.justfile-interpolation",
|
|
"name": "Command injection: Justfile interpolation",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"command-injection",
|
|
"external/cwe/cwe-078",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Command injection: Justfile interpolation"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Integrity: Ordinary install uncatalogued archive. Categories: Content integrity. Weaknesses: CWE-400, CWE-494."
|
|
},
|
|
"help": {
|
|
"markdown": "Integrity: Ordinary install uncatalogued archive. Categories: Content integrity. Weaknesses: CWE-400, CWE-494.\n\n## Remediation\n\nPass the exact catalog manifest into install/update; require the exact root archive set and verify each archive size/BLAKE3 through no-follow handles; verify every extracted path/kind/size/digest before promotion; enforce entry/decompressed-byte/total deadlines.",
|
|
"text": "Integrity: Ordinary install uncatalogued archive. Categories: Content integrity. Weaknesses: CWE-400, CWE-494.\n\nRemediation:\n\nPass the exact catalog manifest into install/update; require the exact root archive set and verify each archive size/BLAKE3 through no-follow handles; verify every extracted path/kind/size/digest before promotion; enforce entry/decompressed-byte/total deadlines."
|
|
},
|
|
"id": "integrity.ordinary-install-uncatalogued-archive",
|
|
"name": "Integrity: Ordinary install uncatalogued archive",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"content-integrity",
|
|
"external/cwe/cwe-400",
|
|
"external/cwe/cwe-494",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Integrity: Ordinary install uncatalogued archive"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Path traversal: Catalog preflight links. Categories: Path traversal. Weaknesses: CWE-367, CWE-59."
|
|
},
|
|
"help": {
|
|
"markdown": "Path traversal: Catalog preflight links. Categories: Path traversal. Weaknesses: CWE-367, CWE-59.\n\n## Remediation\n\nOpen the packages/game roots through retained no-follow handles and open `version.ini` relative to them; implement Windows file-ID/reparse-safe identity checks; never print raw untrusted version contents.",
|
|
"text": "Path traversal: Catalog preflight links. Categories: Path traversal. Weaknesses: CWE-367, CWE-59.\n\nRemediation:\n\nOpen the packages/game roots through retained no-follow handles and open `version.ini` relative to them; implement Windows file-ID/reparse-safe identity checks; never print raw untrusted version contents."
|
|
},
|
|
"id": "path-traversal.catalog-preflight-links",
|
|
"name": "Path traversal: Catalog preflight links",
|
|
"properties": {
|
|
"security-severity": "2.0",
|
|
"tags": [
|
|
"external/cwe/cwe-059",
|
|
"external/cwe/cwe-367",
|
|
"path-traversal",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Path traversal: Catalog preflight links"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Path traversal: Public state path helper. Categories: Path traversal. Weaknesses: CWE-22."
|
|
},
|
|
"help": {
|
|
"markdown": "Path traversal: Public state path helper. Categories: Path traversal. Weaknesses: CWE-22.\n\n## Remediation\n\nRequire a validated single-component GameId newtype or make helpers fallible and reject absolute/prefix/dot/parent/separator/reserved forms; write relative to a retained no-follow state-directory handle.",
|
|
"text": "Path traversal: Public state path helper. Categories: Path traversal. Weaknesses: CWE-22.\n\nRemediation:\n\nRequire a validated single-component GameId newtype or make helpers fallible and reject absolute/prefix/dot/parent/separator/reserved forms; write relative to a retained no-follow state-directory handle."
|
|
},
|
|
"id": "path-traversal.public-state-path-helper",
|
|
"name": "Path traversal: Public state path helper",
|
|
"properties": {
|
|
"security-severity": "2.0",
|
|
"tags": [
|
|
"external/cwe/cwe-022",
|
|
"path-traversal",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Path traversal: Public state path helper"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Privilege escalation: Mutable game scripts. Categories: Privilege escalation. Weaknesses: CWE-250, CWE-73."
|
|
},
|
|
"help": {
|
|
"markdown": "Privilege escalation: Mutable game scripts. Categories: Privilege escalation. Weaknesses: CWE-250, CWE-73.\n\n## Remediation\n\nRun ordinary game/server scripts as the current user. For setup requiring elevation, require a catalog game and authoritative installed state, verify the exact script digest immediately before launch through no-follow handles, reject reparse points, and preserve the verified object identity into process creation.",
|
|
"text": "Privilege escalation: Mutable game scripts. Categories: Privilege escalation. Weaknesses: CWE-250, CWE-73.\n\nRemediation:\n\nRun ordinary game/server scripts as the current user. For setup requiring elevation, require a catalog game and authoritative installed state, verify the exact script digest immediately before launch through no-follow handles, reject reparse points, and preserve the verified object identity into process creation."
|
|
},
|
|
"id": "privilege-escalation.mutable-game-scripts",
|
|
"name": "Privilege escalation: Mutable game scripts",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-073",
|
|
"external/cwe/cwe-250",
|
|
"privilege-escalation",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Privilege escalation: Mutable game scripts"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Anonymous network pools. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Anonymous network pools. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nAdd per-source connection/stream/rate quotas, close origins after repeated timeouts, reserve capacity across origins, place unrar behind a small global and per-origin semaphore, and enforce absolute transfer deadlines.",
|
|
"text": "Resource exhaustion: Anonymous network pools. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nAdd per-source connection/stream/rate quotas, close origins after repeated timeouts, reserve capacity across origins, place unrar behind a small global and per-origin semaphore, and enforce absolute transfer deadlines."
|
|
},
|
|
"id": "resource-exhaustion.anonymous-network-pools",
|
|
"name": "Resource exhaustion: Anonymous network pools",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Anonymous network pools"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Call to play rendering. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Call to play rendering. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nEnforce small per-author/global active-call caps before publication, render only a ranked ticker subset, virtualize/paginate the overlay, and avoid recomputing unchanged projections on every clock tick.",
|
|
"text": "Resource exhaustion: Call to play rendering. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nEnforce small per-author/global active-call caps before publication, render only a ranked ticker subset, virtualize/paginate the overlay, and avoid recomputing unchanged projections on every clock tick."
|
|
},
|
|
"id": "resource-exhaustion.call-to-play-rendering",
|
|
"name": "Resource exhaustion: Call to play rendering",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Call to play rendering"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Download retry total budget. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Download retry total budget. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nAdd total per-chunk/download wall-clock and attempt budgets independent of source count, cap automatically tried identities, add per-origin identity quotas, and require explicit user retry after budget exhaustion.",
|
|
"text": "Resource exhaustion: Download retry total budget. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nAdd total per-chunk/download wall-clock and attempt budgets independent of source count, cap automatically tried identities, add per-origin identity quotas, and require explicit user retry after budget exhaustion."
|
|
},
|
|
"id": "resource-exhaustion.download-retry-total-budget",
|
|
"name": "Resource exhaustion: Download retry total budget",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Download retry total budget"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Length prefix eager reserve. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Length prefix eager reserve. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nUse a much smaller inbound Request-frame maximum; gate declared response bytes through a global memory semaphore or incremental buffering; reduce discovery fan-out as defense in depth.",
|
|
"text": "Resource exhaustion: Length prefix eager reserve. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nUse a much smaller inbound Request-frame maximum; gate declared response bytes through a global memory semaphore or incremental buffering; reduce discovery fan-out as defense in depth."
|
|
},
|
|
"id": "resource-exhaustion.length-prefix-eager-reserve",
|
|
"name": "Resource exhaustion: Length prefix eager reserve",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Length prefix eager reserve"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Local library ingestion. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Local library ingestion. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nIntersect names with the catalog before retention/task admission; add root/per-game/depth/metadata budgets and a bounded rescan pool; bounded-read current and legacy indexes/version.ini and avoid raw invalid-content logging.",
|
|
"text": "Resource exhaustion: Local library ingestion. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nIntersect names with the catalog before retention/task admission; add root/per-game/depth/metadata budgets and a bounded rescan pool; bounded-read current and legacy indexes/version.ini and avoid raw invalid-content logging."
|
|
},
|
|
"id": "resource-exhaustion.local-library-ingestion",
|
|
"name": "Resource exhaustion: Local library ingestion",
|
|
"properties": {
|
|
"security-severity": "2.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Local library ingestion"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Manifest cache admission order. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Manifest cache admission order. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nCheck `content_identity` and local readiness first, then require `cached_manifest`; add tests proving rejected requests perform no load, plus an aggregate cache budget.",
|
|
"text": "Resource exhaustion: Manifest cache admission order. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nCheck `content_identity` and local readiness first, then require `cached_manifest`; add tests proving rejected requests perform no load, plus an aggregate cache budget."
|
|
},
|
|
"id": "resource-exhaustion.manifest-cache-admission-order",
|
|
"name": "Resource exhaustion: Manifest cache admission order",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Manifest cache admission order"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Mdns candidate monopoly. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Mdns candidate monopoly. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nAdd per-source-IP quotas, preserve capacity across origins/known peers, and use fair/randomized replacement or a cheap proof-of-key before the longer negotiation slot.",
|
|
"text": "Resource exhaustion: Mdns candidate monopoly. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nAdd per-source-IP quotas, preserve capacity across origins/known peers, and use fair/randomized replacement or a cheap proof-of-key before the longer negotiation slot."
|
|
},
|
|
"id": "resource-exhaustion.mdns-candidate-monopoly",
|
|
"name": "Resource exhaustion: Mdns candidate monopoly",
|
|
"properties": {
|
|
"security-severity": "2.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Mdns candidate monopoly"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Sybil aggregate state. Categories: Resource exhaustion. Weaknesses: CWE-400."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Sybil aggregate state. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\n## Remediation\n\nEnforce aggregate byte/event budgets across remote peers, coalesce complete UI state through bounded latest-value channels, avoid full cloning per commit, and add fair/per-origin admission for identities.",
|
|
"text": "Resource exhaustion: Sybil aggregate state. Categories: Resource exhaustion. Weaknesses: CWE-400.\n\nRemediation:\n\nEnforce aggregate byte/event budgets across remote peers, coalesce complete UI state through bounded latest-value channels, avoid full cloning per commit, and add fair/per-origin admission for identities."
|
|
},
|
|
"id": "resource-exhaustion.sybil-aggregate-state",
|
|
"name": "Resource exhaustion: Sybil aggregate state",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"external/cwe/cwe-400",
|
|
"resource-exhaustion",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Sybil aggregate state"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "Resource exhaustion: Unauthenticated state hint proxy. Categories: Confused deputy. Weaknesses: CWE-441."
|
|
},
|
|
"help": {
|
|
"markdown": "Resource exhaustion: Unauthenticated state hint proxy. Categories: Confused deputy. Weaknesses: CWE-441.\n\n## Remediation\n\nIf requester authentication remains absent, drop remote change hints and rely on pinned liveness reconciliation. Otherwise bind the hint to an authenticated client PeerId and remove the payload identity.",
|
|
"text": "Resource exhaustion: Unauthenticated state hint proxy. Categories: Confused deputy. Weaknesses: CWE-441.\n\nRemediation:\n\nIf requester authentication remains absent, drop remote change hints and rely on pinned liveness reconciliation. Otherwise bind the hint to an authenticated client PeerId and remove the payload identity."
|
|
},
|
|
"id": "resource-exhaustion.unauthenticated-state-hint-proxy",
|
|
"name": "Resource exhaustion: Unauthenticated state hint proxy",
|
|
"properties": {
|
|
"security-severity": "5.0",
|
|
"tags": [
|
|
"confused-deputy",
|
|
"external/cwe/cwe-441",
|
|
"security"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "Resource exhaustion: Unauthenticated state hint proxy"
|
|
}
|
|
},
|
|
{
|
|
"fullDescription": {
|
|
"text": "State integrity: Call to play event ID collision. Categories: State integrity. Weaknesses: CWE-694."
|
|
},
|
|
"help": {
|
|
"markdown": "State integrity: Call to play event ID collision. Categories: State integrity. Weaknesses: CWE-694.\n\n## Remediation\n\nUse `(author_id, event.id)` as the key for deduplication, messages, React keys, and ordering; add cross-author collision tests including collision with a creator's Create event.",
|
|
"text": "State integrity: Call to play event ID collision. Categories: State integrity. Weaknesses: CWE-694.\n\nRemediation:\n\nUse `(author_id, event.id)` as the key for deduplication, messages, React keys, and ordering; add cross-author collision tests including collision with a creator's Create event."
|
|
},
|
|
"id": "state-integrity.call-to-play-event-id-collision",
|
|
"name": "State integrity: Call to play event ID collision",
|
|
"properties": {
|
|
"security-severity": "2.0",
|
|
"tags": [
|
|
"external/cwe/cwe-694",
|
|
"security",
|
|
"state-integrity"
|
|
]
|
|
},
|
|
"shortDescription": {
|
|
"text": "State integrity: Call to play event ID collision"
|
|
}
|
|
}
|
|
],
|
|
"version": "0.1.22"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"version": "2.1.0"
|
|
}
|