Screen when posting, bidding or withdrawing, not on page view #18

Merged
Taskuler-bot merged 1 commit from fix/screen-on-action into main 2026-11-30 02:02:18 +00:00
Member

Follow-up to Taskuler Security's re-review (N1). Built on web #17 (it targets #17's branch because both touch the same page lines). Merge order: #14, #15, #16, #17, then this PR. No deploy.

What changes for someone using the app:

  • Opening a job page, Post or Withdraw with a wallet connected no longer sends anything to the screening server.
  • Screening runs when you press Approve & post, Approve deposit & bid or Withdraw. The wallet action starts only after a pass.
  • A block shows the same Website screening box as before. If screening is down, you see the same "Screening is unavailable…" message, and the action doesn't run (fail closed).
  • While the check runs, the button is disabled. If you're blocked by a VPN, you can turn it off and press again.
  • Fewer provider calls: Chainalysis and ipapi.is are called only for real actions.

Copy: no user-facing strings change. #17's footer ("When you post, bid or withdraw, our server sends your wallet address to Chainalysis…") and the Website screening line ("…before this website lets you post jobs, bid or withdraw") are accurate with this PR. Without it, the footer is not, so #17 should merge with this PR.

Not changed: the Coinbase buy/cash-out screens still run on view. Coinbase is off in this launch.

Checked:

  • npm test 159/159 (new src/ramps/gate.test.ts), both tsc passes, and the testnet vite build pass.
  • Not clicked through with a real wallet in a browser.
Follow-up to Taskuler Security's re-review (N1). **Built on web #17** (it targets #17's branch because both touch the same page lines). Merge order: #14, #15, #16, #17, then this PR. No deploy. What changes for someone using the app: - Opening a job page, Post or Withdraw with a wallet connected no longer sends anything to the screening server. - Screening runs when you press **Approve & post**, **Approve deposit & bid** or **Withdraw**. The wallet action starts only after a pass. - A block shows the same Website screening box as before. If screening is down, you see the same "Screening is unavailable…" message, and the action doesn't run (fail closed). - While the check runs, the button is disabled. If you're blocked by a VPN, you can turn it off and press again. - Fewer provider calls: Chainalysis and ipapi.is are called only for real actions. Copy: **no user-facing strings change.** #17's footer ("When you post, bid or withdraw, our server sends your wallet address to Chainalysis…") and the Website screening line ("…before this website lets you post jobs, bid or withdraw") are accurate with this PR. Without it, the footer is not, so #17 should merge with this PR. Not changed: the Coinbase buy/cash-out screens still run on view. Coinbase is off in this launch. Checked: - `npm test` 159/159 (new `src/ramps/gate.test.ts`), both `tsc` passes, and the testnet `vite build` pass. - Not clicked through with a real wallet in a browser.
useEscrowGate now screens when the button is pressed (a mutation) and runs the action only after
a pass. Errors, blocks and a still-loading live config stop it (fail closed). No copy changes.
george approved these changes 2026-11-30 01:56:22 +00:00
Taskuler-bot changed target branch from copy/legal-wording-testnet to main 2026-11-30 02:01:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
taskuler/web!18
No description provided.