Fix forbidden sale copy and wire WarBow wallet profile modal (#318) #457
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega!457
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/318-play-surface-copy-warbow-profile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
GitLab #318: remove forbidden sale framing on the
/play console, wire WarBow steal-target rival rows toWalletProfileModalviaonOpenWalletProfile, and add regression tests plus docs/invariant cross-links (INV-FRONTEND-318-PLAY-SURFACE-COPY, extendsINV-FRONTEND-258-WALLET-PROFILE).Acceptance checklist
saleon/play console (pre-launch + live)cd frontend && npm test -- src/pages/arena/arenaSimplePlaySurface.test.tsarenaSimplePlaySurface.test.ts+arenaCommandConsoleStatic.test.tswiring assertions; manual: click WarBow target identity → profile modal (not explorer)arenaSimplePlaySurface.test.ts,revertMessage.test.tscd frontend && npm run typecheck && npm run lint && npm testbash scripts/e2e-anvil.shThird-party verification
fix/318-play-surface-copy-warbow-profile.cd frontend && npm run typecheck && npm run lint && npm testAGENTS.md; openhttp://127.0.0.1:5173/(play route).sale).WalletProfileModalopens; explorer only inside modal.bash scripts/e2e-anvil.shfor full Playwright smoke on/.Related
docs/testing/frontend-content-audit.mdINV-FRONTEND-318-PLAY-SURFACE-COPY,INV-FRONTEND-258-WALLET-PROFILEchanged the description
changed the description
Security review — MR !457
Commit reviewed:
f0207c04e3e9280ed5b35f874aca33085785acb6Base:
a0d325c5797067494af8ef2f7666856dd39131f0Scope: Frontend-only diff (10 files): play-surface copy changes (
revertMessage.ts,ArenaSimplePage.tsx,useArenaSaleSession.ts), WarBowonOpenWalletProfilewiring (ArenaWarbowHeroPanel.tsx), docs/invariants, and regression tests. No smart-contract, indexer, or backend changes.Method
PlayerIdentity→AddressInline.onOpenProfile→TimeArenaPage.setProfileAddress→WalletProfileModal→useWalletStats→fetchArenaWalletStats.LiveBuyRowpattern (targetIsInsideAddressAction).isAddressgate inAddressInline), open-redirect (explorerAddressUrl), and client-side SSRF/path traversal (indexerBaseUrl+ fixed path;useWalletStatsrequires0x+ 42 chars).Outcome
FINDINGS: 0 medium+
No inline threads — nothing met the reporting bar.
Security review: no medium+ findings on this diff.
WarBow profile wiring reuses the established #258 modal flow; addresses are validated before render and before indexer fetch. Copy-only changes have no security sink. No
block:securitylabel applied.mentioned in commit
1ade1e1b40