Skip to content

general-audit master 2026-05-04 @ 88498a5 #600

@intendednull

Description

@intendednull

Run: scheduled /general-audit against main @ 88498a5.
Prior master: #567 @ 6404719 (2026-05-03).

27 survivors filed as sub-issues (panel at right).

Survivors by concern

  • security (7): F8 RevokeAdmin against genesis owner; F9 VoteThreshold::Count(0) bypass; F10 cargo install cargo-audit unpinned in CI; F16 localStorage read-failure mints fresh identity; F17 CSP connect-src wildcard; F18 CSP missing report-uri / Trusted Types / upgrade-insecure-requests; F19 CSP test uses substring matching.
  • robustness / DoS (7): F11 EventKind String fields uncapped in EventDag::insert; F12 Content::validate caps only File; F13 SealedContent.ciphertext uncapped; F14 UpdateProfile.display_name uncapped in apply; F15 Reaction.emoji + per-message cardinality unbounded; F20 create_ephemeral_channel Result swallowed; F21 OpenEventStore mailbox failures swallowed.
  • tech-debt (5): F2 docker-compose.yml zero healthchecks; F5 PWA manifest missing maskable / scope / id; F23 kicked-member rejection tests missing for Message/EditMessage/DeleteMessage/Reaction; F24 SetServerDescription has no check_permission rejection test; F25 channel-creation sync semantics tested only at Playwright tier.
  • quality (3): F6 service-worker registration swallows errors; F22 search index remove_* mutations silently dropped on mailbox full; F26 docker relay entrypoint passes --tcp-port/--ws-port flags the binary does not accept (HARD RUNTIME BREAK on docker compose up).
  • docs (4): F3 stale TODO references closed #119 in network/traits.rs; F4 just check doc-comment claims browser tests; F7 PLAN.md still pre-iroh (libp2p/GossipSub/Kademlia/mDNS); F27 README + CLAUDE.md "Local Development" reference removed relay ports 9090/9091.
  • architecture (1): F1 Invite-mint authority enforced in client crate, not via apply_event.

Pass results

Synthesis

Lessons-PR

Auto-opened — folds the lessons issue suggestions into .claude/skills/general-audit/SKILL.md. Human reviews + merges as they see fit.


Filed by /general-audit @ 88498a5 (2026-05-04).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions