raw

Forumer review probes

Target: bristinWild/forumer @ cde75b1ea4ce75fe7e9498bce6a8302d570f6ab1 (package forumer-0.2.2.lgx). Every probe links the author's real lib/forumer_core sources (the engine); nothing is copied except where a probe says so explicitly (the backend itself needs Qt + the Logos SDK and cannot be built standalone).

Build + run (needs g++, libsodium and sqlite3 dev headers, nlohmann/json; set JSON_INC to the json include dir):

./build.sh p01_alias_spoof.cpp && ./build/p01_alias_spoof        # same for p02, p03, p04, p09
g++ -std=c++20 -O1 -fsanitize=address,undefined -I<src>/lib/forumer_core/include -I$JSON_INC \
    $(pkg-config --cflags libsodium sqlite3) p05_wire_fuzz.cpp <src>/lib/forumer_core/src/*.cpp \
    -o p05_wire_fuzz_san $(pkg-config --libs libsodium sqlite3) && ./p05_wire_fuzz_san
python3 -I p06_disk_linkage.py sample-home-b-data                  # on-disk linkage (data from the GUI run)
python3 -I p04b_restore_gui_compare.py <posts.sqlite3 device 1> <posts.sqlite3 restored device>
probe finding what is real
p01_alias_spoof F5 display-name spoof Post::fromJson, post::verify, authorDisplay (attacker envelope is hand built)
p02_flood_backdate F6 hourly limit bypass post::sign/verify, PostStore, flood::withinLimit, sync::acceptTimestamp. The accept sequence copies checkPost/handlePost (backend.cpp:1368-1424)
p03_newkey_budget F7 new-key budget flood::TokenBucket, post::sign/verify timing; the timeline is simulated
p04_restore_reuse F1 key reuse after restore identity::Account::create/restore/personaForPost
p04b (GUI evidence) F1 databases from two real Basecamp runs (device 1, restored device)
p05_wire_fuzz F8 (decode part), F10, F11, parser robustness sync::decode, Post::fromJson, post::verify, historyWindowStart (ASan+UBSan build)
p06_disk_linkage F3 on-disk linkage the real posts.sqlite3 / state.json written by the GUI run
p09_text_limits F12 byte limits, domains post::validateDraft, parseDomains
scripts/ GUI harness hitserver.py (local "attacker" HTTP server), start-bc-offline.sh (Basecamp inside bwrap --unshare-net), newtopic.sh (xdotool)

F2 (account leak) and F4 (markdown) are GUI findings: see media/ and the report text; they are not core-library bugs.