Hi team
Finding, filed as a hardening note and not a live exploit: with the runtime-benchmarks feature enabled, register_signature_share compiles out the invalid share rejection and the aggregate-signature rejection, so invalid shares would be accepted without verification.
Location. exodus lib dot rs lines 1735 to 1738: the early return rejecting an invalid share carries cfg not feature runtime-benchmarks. Lines 1799 to 1802: the aggregate-signature rejection carries the same cfg shape. With the feature on, both checks are compiled out. Wiring: runtime casper Cargo dot toml line 227 wires ghost-exodus runtime-benchmarks into the runtime benchmark feature, and the pallet Cargo dot toml lines 90 to 95 define the feature. The RNG leg that once sat beside this (deterministic ChaCha20 seed from authority index) is fixed on origin pallet-exodus commit 6b00334 and is excluded from this filing; the verification bypass lines remain on that branch.
Deployment check, stated honestly. Ripgrep across the repo found exactly one non-Cargo hit: scripts run-all-benches dot sh lines 51 and 52, which builds a local release node with the feature for weight benchmarking only. The release script builds no binary at all, it only merges branches and tags. No Dockerfile, no workflow directory and no packaging script sets the feature for a shipped binary. The workspace Cargo dot toml line 391 carries it as an opt-in flag. No build artifact, binary metadata or release pipeline evidence shows any shipped binary carrying the feature. Code behavior at HEAD is confirmed; live exposure is unproven, which is why this files as hardening and not as an exploited defect.
Suggested fix: gate the compiled-out checks behind a dedicated test-only cfg rather than the shared benchmarks feature, or keep the verification unconditional in every build profile.
Shahmeer